[alsa-devel] ALSA driver installation issue in Ubuntu 10.04 OS
Hi Sir,
I've encountered the following error when run the "alsa-utils-alsa-compile.sh" on Ubuntu 10.04 with 2.6.32 kernel OS:
_____
/tmp/alsa-compile-script/alsa-driver-1.0.25.3584.gb044d/pci/hda/hda_intel.c: 127: warning: initialization from incompatible pointer type
/tmp/alsa-compile-script/alsa-driver-1.0.25.3584.gb044d/pci/hda/hda_intel.c: 132: warning: initialization from incompatible pointer type
/tmp/alsa-compile-script/alsa-driver-1.0.25.3584.gb044d/pci/hda/hda_intel.c: In function 'set_pages_array_wc':
/tmp/alsa-compile-script/alsa-driver-1.0.25.3584.gb044d/pci/hda/hda_intel.c: 700: error: implicit declaration of function 'set_pages_wc'
/tmp/alsa-compile-script/alsa-driver-1.0.25.3584.gb044d/pci/hda/hda_intel.c: At top level:
/tmp/alsa-compile-script/alsa-driver-1.0.25.3584.gb044d/pci/hda/hda_intel.c: 703: error: conflicting types for 'set_pages_array_wb'
/usr/src/linux-headers-2.6.32-21-generic/arch/x86/include/asm/cacheflush.h:1 44: note: previous declaration of 'set_pages_array_wb' was here
/tmp/alsa-compile-script/alsa-driver-1.0.25.3584.gb044d/pci/hda/hda_intel.c: In function 'param_set_xint':
/tmp/alsa-compile-script/alsa-driver-1.0.25.3584.gb044d/pci/hda/hda_intel.c: 2937: warning: passing argument 2 of 'param_set_int' discards qualifiers from pointer target type
include/linux/moduleparam.h:177: note: expected 'struct kernel_param *' but argument is of type 'const struct kernel_param *'
make[4]: *** [/tmp/alsa-compile-script/alsa-driver-1.0.25.3584.gb044d/pci/hda/hda_intel.o ] Error 1
make[3]: *** [/tmp/alsa-compile-script/alsa-driver-1.0.25.3584.gb044d/pci/hda] Error 2
make[2]: *** [/tmp/alsa-compile-script/alsa-driver-1.0.25.3584.gb044d/pci] Error 2
make[1]: *** [_module_/tmp/alsa-compile-script/alsa-driver-1.0.25.3584.gb044d] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic'
make: *** [compile] Error 2
Working directory /tmp/alsa-compile-script/alsa-driver-1.0.25.3584.gb044d.
Compilation of alsa-driver failed.
Report this problem to the alsa-devel@alsa-project.org mailing list.
_____
Could you help to look into this issue?
Thanks!
Bruce
participants (1)
-
Bruce Teng