Skip to contentSkip to conversation

Error acx-20060215 wireless module

DISCUSSION VinX 3 participants 3 messages Jul 14, 2006

Subsystems (2)
lore
Share & tools
lore

VinX

author
#0 lore raw

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

#1 lore raw
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...

#2 lore raw
In reply to VinX
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]