Skip to contentSkip to conversation

alsa-lib-0.9.0rc4

DISCUSSION Wolfgang Teichmann 3 participants 3 messages Oct 22, 2002 – Oct 23, 2002

lore
Share & tools
lore
#0 lore raw

Hallo,

I have problems to compile alsa-lib-0.9.0rc4 (RedHat 8.0)

make[2]: Wechsel in das Verzeichnis Verzeichnis /mnt/archiv/AAA/SOUND/ALSA/stable/alsa-lib-0.9.0rc4/src
/bin/sh ../libtool --mode=link gcc -g -O2 -Wl,--version-script=Versions -o libasound.la -rpath /usr/lib -version-info 2:0:0 conf.lo confmisc.lo input.lo output.lo async.lo error.lo dlmisc.lo control/libcontrol.la mixer/libmixer.la pcm/libpcm.la rawmidi/librawmidi.la timer/libtimer.la hwdep/libhwdep.la seq/libseq.la instr/libinstr.la compat/libcompat.la -lm -ldl -lpthread rm -fr .libs/libasound.la .libs/libasound.* .libs/libasound.*
gcc -shared conf.lo confmisc.lo input.lo output.lo async.lo error.lo dlmisc.lo -Wl,--whole-archive control/.libs/libcontrol.al mixer/.libs/libmixer.al pcm/.libs/libpcm.al rawmidi/.libs/librawmidi.al timer/.libs/libtimer.al hwdep/.libs/libhwdep.al seq/.libs/libseq.al instr/.libs/libinstr.al compat/.libs/libcompat.al -Wl,--no-whole-archive -lm -ldl -lpthread -lc -Wl,-soname -Wl,libasound.so.2 -o .libs/libasound.so.2.0.0 /usr/bin/ld: .libs/libasound.so.2.0.0: undefined versioned symbol name snd_pcm_hw_params_get_rate_min@ALSA_0.9.0rc4
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libasound.la] Fehler 1

Any idea?

-Wolfgang

#1 lore raw
Quoted 22 lines · Wolfgang Teichmann

Hallo,

I have problems to compile alsa-lib-0.9.0rc4 (RedHat 8.0)

make[2]: Wechsel in das Verzeichnis Verzeichnis /mnt/archiv/AAA/SOUND/ALSA/stable/alsa-lib-0.9.0rc4/src /bin/sh ../libtool --mode=link gcc -g -O2 -Wl,--version-script=Versions -o libasound.la -rpath /usr/lib -version-info 2:0:0 conf.lo confmisc.lo input.lo output.lo async.lo error.lo dlmisc.lo control/libcontrol.la mixer/libmixer.la pcm/libpcm.la
rawmidi/librawmidi.la timer/libtimer.la hwdep/libhwdep.la
seq/libseq.la instr/libinstr.la compat/libcompat.la -lm
-ldl -lpthread
rm -fr .libs/libasound.la .libs/libasound.* .libs/libasound.* gcc -shared conf.lo confmisc.lo input.lo output.lo async.lo error.lo dlmisc.lo -Wl,--whole-archive control/.libs/libcontrol.al mixer/.libs/libmixer.al pcm/.libs/libpcm.al rawmidi/.libs/librawmidi.al timer/.libs/libtimer.al hwdep/.libs/libhwdep.al seq/.libs/libseq.al instr/.libs/libinstr.al compat/.libs/libcompat.al

(quoted diff) +0 -2
-Wl,--no-whole-archive  -lm -ldl -lpthread -lc  -Wl,-soname 
-Wl,libasound.so.2 -o .libs/libasound.so.2.0.0
Quoted 2 lines

/usr/bin/ld: .libs/libasound.so.2.0.0: undefined versioned symbol name snd_pcm_hw_params_get_rate_min@ALSA_0.9.0rc4

Seems like that something is broken, but we need to figure what. Anyway, you can build library with './configure --with-versioned=no'. It should work for all binutils, but it's not a very nice solution.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com

-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

#2 lore raw
Quoted 4 lines

Seems like that something is broken, but we need to figure what. Anyway, you can build library with './configure --with-versioned=no'. It should work for all binutils, but it's not a very nice solution.

yes, this worked fine for me - everythings compiled smoothly now :)

thanks

m

Signature · 22 lines
iriXx
www.iriXx.org

copyleft: creativity, technology and freedom?
[email protected]
www.copyleftmedia.org.uk

 _
( )  ascii ribbon against html email
 X
/ \    cat /dev/sda1 > /dev/dsp


  *** stopping make sense ***



-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en