Updating ALSA

Randy McMurchy randy at linuxfromscratch.org
Thu Apr 20 09:23:19 PDT 2006

Alexander E. Patrakov wrote these words on 04/20/06 11:15 CST:

> sox (ALSA support fails to build from source because it attempts to use kernel 
> interface directly, which should not be done)

Can you explain what part doesn't work?

I get this building sox from source:

gcc -g -O2 -Wall -I. -I.  -c sox.c
gcc -L.  -o sox sox.o -lst -lvorbisfile -lvorbisenc -lvorbis -logg -lm  -lmad -lmp3lame -lasound
gcc -g -O2 -Wall -I. -I. -DSOXMIX -c ./sox.c -o soxmix.o
gcc -L.  -o soxmix soxmix.o -lst -lvorbisfile -lvorbisenc -lvorbis -logg -lm  -lmad -lmp3lame -lasound
make[1]: Leaving directory `/home/rml/build/sox-12.17.9/src'

rml at rmlinux: ~/build/Logs/Non_BLFS/sox-12.17.9 > ldd /usr/bin/sox
        linux-gate.so.1 =>  (0xffffe000)
        libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xb7eff000)
        libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0xb7dff000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7dd5000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0xb7dd0000)
        libm.so.6 => /lib/libm.so.6 (0xb7dab000)
        libmad.so.0 => /usr/lib/libmad.so.0 (0xb7d95000)
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb7cd1000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0xb7c12000)
        libc.so.6 => /lib/libc.so.6 (0xb7af1000)
        /lib/ld-linux.so.2 (0xb7f25000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7aed000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7ada000)

Not questioning you by any means, Alexander, and don't take it that
way. I'm just curious about your comments, and how it reflects to my
building of sox.


rmlscsi: [bogomips 1003.28] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux i686]
11:19:00 up 25 days, 22:56, 2 users, load average: 0.01, 0.13, 0.14

More information about the blfs-dev mailing list