[alsa-devel] alsa-driver-1.0.18rc3 fails to compile against linux-2.6.27.7/arch/powerpc
kordex -
kordex at gmail.com
Tue Dec 2 23:44:22 CET 2008
make -C /lib/modules/2.6.27.7/sourceSUBDIRS=/root/alsa/alsa-driver-1.0.18rc3
CPP="gcc -E" CC="gcc" modules
make[1]: Siirrytään hakemistoon "/usr/src/linux-2.6.27.7"
CC [M] /root/alsa/alsa-driver-1.0.18rc3/acore/hwdep.o
In file included from
/usr/src/linux-2.6.27.7/arch/powerpc/include/asm/system.h:528,
from include/linux/list.h:7,
from include/linux/module.h:9,
from /root/alsa/alsa-driver-1.0.18rc3/include/adriver.h:26,
from /root/alsa/alsa-driver-1.0.18rc3/acore/hwdep.c:1:
include/asm-generic/cmpxchg-local.h: In function '__cmpxchg_local_generic':
include/asm-generic/cmpxchg-local.h:23: error: implicit declaration of
function 'local_irq_save'
include/asm-generic/cmpxchg-local.h:44: error: implicit declaration of
function 'local_irq_restore'
make[3]: *** [/root/alsa/alsa-driver-1.0.18rc3/acore/hwdep.o] Virhe 1
make[2]: *** [/root/alsa/alsa-driver-1.0.18rc3/acore] Virhe 2
make[1]: *** [_module_/root/alsa/alsa-driver-1.0.18rc3] Virhe 2
make[1]: Poistutaan hakemistosta "/usr/src/linux-2.6.27.7"
make: *** [compile] Virhe 2
root at powerline:/root/alsa/alsa-driver-1.0.18rc3#
root at powerline:/root/alsa/alsa-driver-1.0.18rc3#
I used this configure line (compiling for emu 1212m):
./configure --with-cards=emu10k1 --with-sequencer=yes --with-oss=yes
Gcc version:
root at powerline:/root/alsa/alsa-driver-1.0.18rc3# gcc -v
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr
--disable-softfloat --enable-secureplt
--enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32
--with-long-double-128 --enable-checking=release --build=powerpc-linux-gnu
--host=powerpc-linux-gnu --target=powerpc-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1)
More information about the Alsa-devel
mailing list