[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel source and gcc



On Thu, Apr 13, 2006 at 01:36:55PM -0700, tom arnall wrote:
> 
> I am in the middle of getting the madwifi driver to work for a d-link wireless 
> card. In the course of doing the make for the wifi driver, I encountered the 
> following error:
> 
> 	make[2]: Entering directory `/usr/src/kernel-headers-2.6.8-2-386'
> 	  CC [M]  /home/kloro/linux/madwifi-ng/ath_hal/ah_osdep.o
> 	In file included from include/asm/thread_info.h:16,
>                	  from include/linux/thread_info.h:21,
>                	  from include/linux/spinlock.h:12,
>                	  from include/linux/capability.h:45,
>                	  from include/linux/sched.h:7,
>                	  from include/linux/module.h:10,
>                	  from /home/kloro/linux/madwifi-ng/ath_hal/ah_osdep.c:46:
> 	include/asm/processor.h:87: error: array type has incomplete element type
> 
> At this point, the compiler is not dealing with madwifi stuff per se, but with 
> kernel source. Specifically, to the best of my research, an array variable 
> (object in the new parlance) needs to be declared somewhere in the .c files. 
> How can this be? Lots of people use the kernel code for lots of purposes. How 
> can this bug still be lingering around?

just a hunch, but I know some projects haven't done well with the
transition to gcc4.something. have you asked the madwifi people about
this? 

A

> 
> Thanks,
> 
> Tom Arnall
> north spit, ca
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

Attachment: signature.asc
Description: Digital signature


Reply to: