Does all Alsa stuff have to be compiled with the same version of gcc, and
does it have to be the same as was used for the kernel?

My kernel was compiled with 2.95, and when trying to add alsa I used 2.95
for alsa-driver, but  I find that alsa-lib will not compile with this
version, though it works fine with gcc-3.3.

With alsa-lib I did MAKEFLAGS="CC=gcc-2.95" make  and got

Making all in src
make[1]: Entering directory `/usr/src/alsa/alsa-lib-0.9.6/src'
Making all in control
make[2]: Entering directory `/usr/src/alsa/alsa-lib-0.9.6/src/control'
source='cards.c' object='cards.lo' libtool=yes \
depfile='.deps/cards.Plo' tmpdepfile='.deps/cards.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc-2.95 -DHAVE_CONFIG_H -I. -I.
-I../../include -I../../include    -g -O2 -c -o cards.lo `test -f cards.c
|| echo './'`cards.c
gcc-2.95 -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -g -O2 -c
cards.c -MT cards.lo -MD -MP -MF .deps/cards.TPlo  -fPIC -DPIC -o cards.lo
gcc-2.95: cannot specify -o with -c or -S and multiple compilations
make[2]: *** [cards.lo] Error 1
make[2]: Leaving directory `/usr/src/alsa/alsa-lib-0.9.6/src/control'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/alsa/alsa-lib-0.9.6/src'
make: *** [all-recursive] Error 1

Also, I noticed that the modules had been installed in a different kernel
structure from the current one, as given by uname -r, which suggests
something wrong with the configuration process, though I'm not an expert.

Advice would be appreciated.
Thanks.
-- 
Richard Kimber
http://www.psr.keele.ac.uk/


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to