[alsa-devel] Compilation error

Lars Bjørndal lars.bjorndal at broadpark.no
Fri Jun 25 08:15:04 CEST 2010

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- is present.
Reusing it.
Use './alsa-compile.sh --clean=alsa-driver' command to refetch and rebuild.
Sources unpacked to alsa-driver-
> cd alsa-driver-
Running make:
make dep
make[1]: Entering directory `/tmp/alsa-compile-script/alsa-driver-'
make[2]: Entering directory `/tmp/alsa-compile-script/alsa-driver-'
make -C sound prepare
make[3]: Entering directory `/tmp/alsa-compile-script/alsa-driver-'
make prepare2
make[4]: Entering directory `/tmp/alsa-compile-script/alsa-driver-'
make[4]: Nothing to be done for `prepare2'.
make[4]: Leaving directory `/tmp/alsa-compile-script/alsa-driver-'
make[3]: Leaving directory `/tmp/alsa-compile-script/alsa-driver-'
make[2]: Leaving directory `/tmp/alsa-compile-script/alsa-driver-'
make[2]: Entering directory `/tmp/alsa-compile-script/alsa-driver-'
make[2]: Leaving directory `/tmp/alsa-compile-script/alsa-driver-'
make[1]: Leaving directory `/tmp/alsa-compile-script/alsa-driver-'
make -C /lib/modules/ SUBDIRS=/tmp/alsa-compile-script/alsa-driver-  CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr/src/kernels/'
  CC [M]  /tmp/alsa-compile-script/alsa-driver-
In file included from /tmp/alsa-compile-script/alsa-driver-
/tmp/alsa-compile-script/alsa-driver- In function 'alloc_stream_buffers':
/tmp/alsa-compile-script/alsa-driver- error: implicit declaration of function 'usb_alloc_coherent'
/tmp/alsa-compile-script/alsa-driver- warning: assignment makes pointer from integer without a cast
/tmp/alsa-compile-script/alsa-driver- In function 'free_stream_buffers':
/tmp/alsa-compile-script/alsa-driver- error: implicit declaration of function 'usb_free_coherent'
/tmp/alsa-compile-script/alsa-driver- In function 'ua101_card_free':
/tmp/alsa-compile-script/alsa-driver- warning: unused variable 'ua'
make[4]: *** [/tmp/alsa-compile-script/alsa-driver-] Error 1
make[3]: *** [/tmp/alsa-compile-script/alsa-driver-] Error 2
make[2]: *** [/tmp/alsa-compile-script/alsa-driver-] Error 2
make[1]: *** [_module_/tmp/alsa-compile-script/alsa-driver-] Error 2
make[1]: Leaving directory `/usr/src/kernels/'
make: *** [compile] Error 2
Working directory /tmp/alsa-compile-script/alsa-driver-
Compilation of alsa-driver failed.
Report this problem to the <alsa-devel at alsa-project.org> mailing list.


More information about the Alsa-devel mailing list