: sys_siglist unavalible in uclibc
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1400>
======================================================================
Reported By: mithro
Assigned To:
======================================================================
Project: ALSA - utils Issue ID: 1400 Category: amixer Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 09-06-2005 21:56 CEST Last Modified: 09-06-2005 22:28 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");
======================================================================
----------------------------------------------------------------------
rlrevell - 09-06-05 22:10
----------------------------------------------------------------------
Does this work equally well with glibc?
----------------------------------------------------------------------
mithro - 09-06-05 22:28
----------------------------------------------------------------------
Yes
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
======================================================================
-------------------------------------------------------
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