From: bugtrack@alsa-project.org Subject: [ALSA - utils 0001400]: sys_siglist unavalible in uclibc Date: Wed, 7 Sep 2005 15:42:26 +0200 Message-ID: <658fd4b50aba9d7888e4de9091bf6e9d@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id CB5C5184 for ; Wed, 7 Sep 2005 15:42:26 +0200 (MEST) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org The following issue has been RESOLVED. ====================================================================== ====================================================================== 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.orig 2005-09-06 21:49:26.808435472 +0200 +++ alsamixer.c 2005-09-06 21:49:41.019275096 +0200 @@ -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