Skip to contentSkip to conversation

: sys_siglist unavalible in uclibc

ALSA - utils 0001400 [email protected] 1 participant 1 message Sep 7, 2005

lore
Share & tools
lore
#0 lore raw

The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1400>
======================================================================

Reported By:                mithro
Assigned To:                tiwai
======================================================================
Project:                    ALSA - utils
Issue ID:                   1400
Category:                   amixer
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             09-06-2005 21:56 CEST
Last Modified:              09-07-2005 15:42 CEST

======================================================================
Summary: sys_siglist unavalible in uclibc
Description:
amixer uses sys_siglist, this symbol is unavalible when compiling against the uclibc library. strsignal should be used instead. The patch below fixes the problem,

alsamixer.c 2005-09-06 21:49:41.019275096 +0200 renamed from alsamixer.c.orig 2005-09-06 21:49:26.808435472 +0200 +1 -1
@@ -2188,7 +2188,7 @@
 mixer_signal_handler (int signal)
 {
   if (signal != SIGSEGV)
-    mixer_abort (ERR_SIGNAL, sys_siglist[signal], 0);
+    mixer_abort (ERR_SIGNAL, strsignal(signal), 0);
   else
     {
       fprintf (stderr, "\nSegmentation fault.\n");

======================================================================

----------------------------------------------------------------------
mithro - 09-06-05 22:28
----------------------------------------------------------------------
Yes

----------------------------------------------------------------------
tiwai - 09-07-05 15:42
----------------------------------------------------------------------
Fixed on CVS. Thanks.

Issue History
Date Modified Username Field Change
======================================================================

09-06-05 21:56 mithro         New Issue                                    
09-06-05 22:10 rlrevell       Note Added: 0006049                          
09-06-05 22:28 mithro         Note Added: 0006050                          
09-07-05 15:42 tiwai          Status                   new => resolved     
09-07-05 15:42 tiwai          Resolution               open => fixed       
09-07-05 15:42 tiwai          Assigned To               => tiwai           
09-07-05 15:42 tiwai          Note Added: 0006055                          

======================================================================

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf