Alsa and hdspmixer segfault
I downloaded the newest cvs (last night really, for me here in -6 MST), and built it ust now. alsa-lib built fine but hdspmixer in alsa-tools fails:
make in hdspmixer:
make[1]: Entering directory `/usr/local/src/alsa-tools/hdspmixer/src\'
if g++ -DPACKAGE_NAME=\\\"\\\" -DPACKAGE_TARNAME=\\\"\\\" -DPACKAGE_VERSION=\\\"\\\" -DPACKAGE_STRING=\\\"\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE=\\\"hdspmixer\\\" -DVERSION=\\\"1.6\\\" -DSTDC_HEADERS=1 -DHAVE_LIBASOUND=1 -I. -I. -g -O2 -I/usr/local/include -I/usr/X11R6/include -fno-exceptions -MT HDSPMixerOutputs.o -MD -MP -MF \".deps/HDSPMixerOutputs.Tpo\" -c -o HDSPMixerOutputs.o HDSPMixerOutputs.cxx; \\
then mv -f \".deps/HDSPMixerOutputs.Tpo\" \".deps/HDSPMixerOutputs.Po\"; else rm -f \".deps/HDSPMixerOutputs.Tpo\"; exit 1; fi In file included from HDSPMixerOutput.h:28,
from HDSPMixerOutputs.h:26,
from HDSPMixerOutputs.cxx:22:/usr/include/alsa/sound/hdsp.h:35: error: u_int32_t\' does not name a type /usr/include/alsa/sound/hdsp.h:36: error: u_int32_t\' does not name a type /usr/include/alsa/sound/hdsp.h:37: error: u_int32_t\' does not name a type /usr/include/alsa/sound/hdsp.h:38: error: u_int64_t\' does not name a type /usr/include/alsa/sound/hdsp.h:39: error: u_int64_t\' does not name a type /usr/include/alsa/sound/hdsp.h:41: error: u_int64_t\' does not name a type
make[1]: *** [HDSPMixerOutputs.o] Error 1
make[1]: Leaving directory `/usr/local/src/alsa-tools/hdspmixer/src\'
make: *** [all-recursive] Error 1
It turns out that gdb says its a libfltk thing I think, at least with the current version of hdspmixer I have (Oct 1):
Starting program: /usr/local/bin/hdspmixer
[Thread debugging using libthread_db enabled]
[New Thread 182894123680 (LWP 1231)]
HDSPMixer 1.6 - Copyright (C) 2003 Thomas Charbonnel <[email protected]> This program comes with ABSOLUTELY NO WARRANTY
HDSPMixer is free software, see the file COPYING for details
Looking for HDSP cards :
Card 0 : SiS SI7012 at 0xe800, irq 169
Card 1 : RME Hammerfall DSP + Multiface at 0x40800000, irq 209 Multiface found !
1 Hammerfall DSP card found.
Initializing default presets
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 182894123680 (LWP 1231)] 0x0000003092b6d075 in cb2 () from /usr/lib64/libfltk.so.1.1
Should I rebuild fltk?
Thanks
-thewade
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
At Fri, 1 Oct 2004 11:54:34 -0600,
Quoted 5 lines · thewade
I downloaded the newest cvs (last night really, for me here in -6 MST), and built it ust now. alsa-lib built fine but hdspmixer in alsa-tools fails:
Quoted 16 lines
make in hdspmixer:
make[1]: Entering directory `/usr/local/src/alsa-tools/hdspmixer/src\'
if g++ -DPACKAGE_NAME=\\\"\\\" -DPACKAGE_TARNAME=\\\"\\\" -DPACKAGE_VERSION=\\\"\\\" -DPACKAGE_STRING=\\\"\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE=\\\"hdspmixer\\\" -DVERSION=\\\"1.6\\\" -DSTDC_HEADERS=1 -DHAVE_LIBASOUND=1 -I. -I. -g -O2 -I/usr/local/include -I/usr/X11R6/include -fno-exceptions -MT HDSPMixerOutputs.o -MD -MP -MF \".deps/HDSPMixerOutputs.Tpo\" -c -o HDSPMixerOutputs.o HDSPMixerOutputs.cxx; \\
then mv -f \".deps/HDSPMixerOutputs.Tpo\" \".deps/HDSPMixerOutputs.Po\"; else rm -f \".deps/HDSPMixerOutputs.Tpo\"; exit 1; fi In file included from HDSPMixerOutput.h:28,
from HDSPMixerOutputs.h:26,
from HDSPMixerOutputs.cxx:22:/usr/include/alsa/sound/hdsp.h:35: error:u_int32_t\' does not name a type /usr/include/alsa/sound/hdsp.h:36: error:u_int32_t\' does not name a type/usr/include/alsa/sound/hdsp.h:37: error:u_int32_t\' does not name a type /usr/include/alsa/sound/hdsp.h:38: error:u_int64_t\' does not name a type/usr/include/alsa/sound/hdsp.h:39: error:u_int64_t\' does not name a type /usr/include/alsa/sound/hdsp.h:41: error:u_int64_t\' does not name a type
make[1]: *** [HDSPMixerOutputs.o] Error 1
make[1]: Leaving directory `/usr/local/src/alsa-tools/hdspmixer/src\'
make: *** [all-recursive] Error 1
Oh I forgot that it was fixed today.
It takes some time until anon cvs is sync'ed.
Wait until tomorrow, or change u_int32_t to uint32_t, and u_int64_t to uin64_t. Also, add
#include <stdint.h>
at the beginnig of hdsp.h.
Quoted 17 lines
It turns out that gdb says its a libfltk thing I think, at least with the current version of hdspmixer I have (Oct 1):
Starting program:/usr/local/bin/hdspmixer
[Thread debugging usinglibthread_dbenabled]
[New Thread 182894123680 (LWP 1231)]HDSPMixer 1.6 - Copyright (C) 2003 Thomas Charbonnel <[email protected]> This program comes with ABSOLUTELY NO WARRANTY
HDSPMixer is free software, see the file COPYING for detailsLooking for HDSP cards :
Card 0 : SiS SI7012 at0xe800, irq 169
Card 1 : RME Hammerfall DSP + Multiface at0x40800000, irq 209 Multiface found !
1 Hammerfall DSP card found.
Initializing default presets
Quoted 5 lines
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 182894123680 (LWP 1231)]
0x0000003092b6d075in cb2 () from/usr/lib64/libfltk.so.1.1Should I rebuild fltk?
Not always, but what shows the stack trace?
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl