At Sun, 16 Nov 2003 18:51:17 +0100, Martin Langer wrote: > > > Hi, > > please don't try to build au88x0 on an alpha.
most of problems below are due to 2.2 kernel. the cvs version is not tested well on 2.2 kernels (also i tried only i386) > You have to read a lot. > But here is an extract with some quite interesting points about CVS ;-) > > martin > > > gcc -D__KERNEL__ -DMODULE=1 -I/usr/local/src/alsa-cvs/alsa-driver/include > -I/lib/modules/2.2.19/build/include -O2 -mno-fp-regs -ffixed-8 -Wa,-mev6 > -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 > -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD > -DKBUILD_BASENAME=memory_wrapper -c -o memory_wrapper.o memory_wrapper.c > memory_wrapper.c: In function snd_compat_vmalloc_to_page': > memory_wrapper.c:35: warning: implicit declaration of function VMALLOC_VMADDR' > memory_wrapper.c:39: warning: implicit declaration of function pgd_offset' > memory_wrapper.c:39: warning: assignment makes pointer from integer without > a cast > memory_wrapper.c:40: warning: implicit declaration of function pmd_offset' > memory_wrapper.c:40: warning: assignment makes pointer from integer without > a cast > memory_wrapper.c:41: warning: implicit declaration of function pte_offset' > memory_wrapper.c:41: warning: assignment makes pointer from integer without > a cast > memory_wrapper.c:43: warning: implicit declaration of function pte_page' it seems that configure script didn't detect these checks correctly. could you check config.log ? > > [...] > > gcc -D__KERNEL__ -DMODULE=1 -I/usr/local/src/alsa-cvs/alsa-driver/include > -I/lib/modules/2.2.19/build/include -O2 -mno-fp-regs -ffixed-8 -Wa,-mev6 > -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 > -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD > -DKBUILD_BASENAME=au8810 -c -o au8810.o au8810.c > In file included from au88x0.c:23, > from au8810.c:8: > /usr/local/src/alsa-cvs/alsa-driver/include/sound/initval.h: In function > get_option_long': > /usr/local/src/alsa-cvs/alsa-driver/include/sound/initval.h:172: warning: > implicit declaration of function get_option' it must be harmless since the function will be never used unless the driver is built into kernel. (should be fixed, though) > In file included from au8810.c:8: > au88x0.c: In function snd_vortex_dev_free': > au88x0.c:76: warning: implicit declaration of function pci_release_regions' > au88x0.c:77: warning: implicit declaration of function pci_disable_device' > au88x0.c: In function snd_vortex_create': > au88x0.c:121: warning: implicit declaration of function pci_request_regions' grrr, they don't exist on 2.2 kernels... we need a wrapper for them. > [...] > > au88x0_core.c: In function vortex_mixer_en_sr': > au88x0_core.c:72: warning: passing arg 2 of cia_writel' makes integer from > pointer without a cast > au88x0_core.c: In function vortex_mixer_dis_sr': > au88x0_core.c:76: warning: passing arg 2 of cia_writel' makes integer from > pointer without a cast > au88x0_core.c: In function vortex_mix_muteinputgain': > au88x0_core.c:80: warning: passing arg 2 of cia_writel' makes integer from > pointer without a cast > au88x0_core.c:81: warning: passing arg 2 of cia_writel' makes integer from > pointer without a cast they are ok. (should be fixed, too) > > [...] > > ld -r -o snd-au8810.o au8810.o au8810_core.o au8810_pcm.o au8810_mixer.o > au8810_mpu401.o au8810_game.o au8810_eq.o > au8810_core.o(.modinfo+0x0): multiple definition of __module_kernel_version' > au8810.o(.modinfo+0x0): first defined here > au8810_pcm.o(.modinfo+0x0): multiple definition of __module_kernel_version' > au8810.o(.modinfo+0x0): first defined here > au8810_mixer.o(.modinfo+0x0): multiple definition of __module_kernel_version' > au8810.o(.modinfo+0x0): first defined here > au8810_mpu401.o(.modinfo+0x0): multiple definition of __module_kernel_version' > au8810.o(.modinfo+0x0): first defined here > au8810_game.o(.modinfo+0x0): multiple definition of __module_kernel_version' > au8810.o(.modinfo+0x0): first defined here > au8810_eq.o(.modinfo+0x0): multiple definition of __module_kernel_version' > au8810.o(.modinfo+0x0): first defined here > make[2]: *** [snd-au8810.o] Error 1 defning __NO_VERSION__ seems missing. put #define __NO_VERSION__ at the beginning of each au88?0.c. Takashi ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel