netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Error acx-20060215 wireless module
@ 2006-07-14 16:08 VinX
  2006-07-14 16:32 ` Kyle McMartin
  2006-07-14 17:10 ` John W. Linville
  0 siblings, 2 replies; 3+ messages in thread
From: VinX @ 2006-07-14 16:08 UTC (permalink / raw)
  To: netdev

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error acx-20060215 wireless module
  2006-07-14 16:08 Error acx-20060215 wireless module VinX
@ 2006-07-14 16:32 ` Kyle McMartin
  2006-07-14 17:10 ` John W. Linville
  1 sibling, 0 replies; 3+ messages in thread
From: Kyle McMartin @ 2006-07-14 16:32 UTC (permalink / raw)
  To: netdev

On Fri, Jul 14, 2006 at 06:08:46PM +0200, VinX wrote:
> 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...

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error acx-20060215 wireless module
  2006-07-14 16:08 Error acx-20060215 wireless module VinX
  2006-07-14 16:32 ` Kyle McMartin
@ 2006-07-14 17:10 ` John W. Linville
  1 sibling, 0 replies; 3+ messages in thread
From: John W. Linville @ 2006-07-14 17:10 UTC (permalink / raw)
  To: VinX; +Cc: netdev

On Fri, Jul 14, 2006 at 06:08:46PM +0200, VinX wrote:
> 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!

The tiacx driver in wireless-2.6 has a patch for this issue.

John
-- 
John W. Linville
linville@tuxdriver.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-07-14 17:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-14 16:08 Error acx-20060215 wireless module VinX
2006-07-14 16:32 ` Kyle McMartin
2006-07-14 17:10 ` John W. Linville

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).