Error acx-20060215 wireless module
Subsystems (2)
Hi,
on my gentoo with kernel 2.6.18-rc1 I had this error:
--
CC [M] /var/tmp/portage/acx-0.3.35/work/pci.o/var/tmp/portage/acx-0.3.35/work/pci.c: In function `acxpci_e_probe':/var/tmp/portage/acx-0.3.35/work/pci.c:1652: error: `UTS_RELEASE' undeclared (first use in this function) /var/tmp/portage/acx-0.3.35/work/pci.c:1652: error: (Each undeclared identifier is reported only once /var/tmp/portage/acx-0.3.35/work/pci.c:1652: error: for each function it appears in.) make[1]: *** [/var/tmp/portage/acx-0.3.35/work/pci.o] Error 1
--
I think that it's missing <linux/utsrelease.h> on this file!
Best Regards,
VinX
Quoted 2 lines · VinX
I think that it's missing <
linux/utsrelease.h> on this file!
Wow. Why does so much out of tree shite want UTS_RELEASE? I'm (untested) thinking that instead they could just put in their Makefile:
CFLAGS += -D KERNVERSION=$(KERNELVERSION)
And obtain it from the Linux Makefile instead of from UTS_RELEASE.
Of course if they don't use Kbuild this won't work...
Quoted 6 lines · VinX
Hi,
on my gentoo with kernel 2.6.18-rc1 I had this error:
--
CC [M]/var/tmp/portage/acx-0.3.35/work/pci.o/var/tmp/portage/acx-0.3.35/work/pci.c: In function `acxpci_e_probe':/var/tmp/portage/acx-0.3.35/work/pci.c:1652: error: `UTS_RELEASE'
Quoted 8 lines
undeclared (first use in this function)
/var/tmp/portage/acx-0.3.35/work/pci.c:1652: error: (Each undeclared identifier is reported only once/var/tmp/portage/acx-0.3.35/work/pci.c:1652: error: for each function it appears in.)
make[1]: *** [/var/tmp/portage/acx-0.3.35/work/pci.o] Error 1 --
I think that it's missing <linux/utsrelease.h> on this file!
The tiacx driver in wireless-2.6 has a patch for this issue.
John
Signature · 2 lines
John W. Linville [email protected]