[alsa-devel] Compilation error
I get the following output while trying to compile the alsa driver on my Fedora 12 system. It worked well with the previous kernel version.
# ./alsa-compile.sh --install File environment.base is cached.
cd /tmp/alsa-compile-script
File environment.compile is cached. alsa-driver tree alsa-driver-1.0.23.31.g2379a.273.g5b97d is present. Reusing it. Use './alsa-compile.sh --clean=alsa-driver' command to refetch and rebuild. Sources unpacked to alsa-driver-1.0.23.31.g2379a.273.g5b97d
cd alsa-driver-1.0.23.31.g2379a.273.g5b97d
Running make: make dep make[1]: Entering directory `/tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d' make[2]: Entering directory `/tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/include' make -C sound prepare make[3]: Entering directory `/tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/include/sound' make prepare2 make[4]: Entering directory `/tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/include/sound' make[4]: Nothing to be done for `prepare2'. make[4]: Leaving directory `/tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/include/sound' make[3]: Leaving directory `/tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/include/sound' make[2]: Leaving directory `/tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/include' ... make[2]: Entering directory `/tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/misc' make[2]: Leaving directory `/tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/misc' make[1]: Leaving directory `/tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d' make -C /lib/modules/2.6.32.14-127.fc12.i686.PAE/build SUBDIRS=/tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d CPP="gcc -E" CC="gcc" modules make[1]: Entering directory `/usr/src/kernels/2.6.32.14-127.fc12.i686.PAE' CC [M] /tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/usb/misc/ua101.o In file included from /tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/usb/misc/ua101.c:2: /tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/usb/misc/../../alsa-kernel/usb/misc/ua101.c: In function 'alloc_stream_buffers': /tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1071: error: implicit declaration of function 'usb_alloc_coherent' /tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1072: warning: assignment makes pointer from integer without a cast /tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/usb/misc/../../alsa-kernel/usb/misc/ua101.c: In function 'free_stream_buffers': /tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1092: error: implicit declaration of function 'usb_free_coherent' /tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/usb/misc/../../alsa-kernel/usb/misc/ua101.c: In function 'ua101_card_free': /tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/usb/misc/../../alsa-kernel/usb/misc/ua101.c:1172: warning: unused variable 'ua' make[4]: *** [/tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/usb/misc/ua101.o] Error 1 make[3]: *** [/tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/usb/misc] Error 2 make[2]: *** [/tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d/usb] Error 2 make[1]: *** [_module_/tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.32.14-127.fc12.i686.PAE' make: *** [compile] Error 2 Working directory /tmp/alsa-compile-script/alsa-driver-1.0.23.31.g2379a.273.g5b97d. Compilation of alsa-driver failed. Report this problem to the alsa-devel@alsa-project.org mailing list.
Lars
participants (1)
-
lars.bjorndal@broadpark.no