Re: gcc error trying to compile the madwifi driver

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

 



On Friday 14 April 2006 12:47 am, Niklaus wrote:
> On 4/14/06, tom arnall <kloro@xxxxxxx> wrote:
> > while trying to compile the madwifi 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
> > make[3]: *** [/home/kloro/linux/madwifi-ng/ath_hal/ah_osdep.o] Error 1
> > make[2]: *** [_module_/home/kloro/linux/madwifi-ng/ath_hal] Error 2
> > make[2]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-386'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/home/kloro/linux/madwifi-ng/ath_hal'
> > make: *** [modules] Error 1
> >
> > the offending line - in processor.h  - is:
> >
> >         extern struct tss_struct init_tss[NR_CPUS];
> >
> > thanks in advance for your help,
>
> I suggest you get the latest headers like 2.6.15
>
>

when i do 'apt-get install kernel-headers' i get:

    kernel-headers-2.6.8-2-k7-smp 2.6.8-16sarge1
    kernel-headers-2.6.8-2-k7 2.6.8-16sarge1
    kernel-headers-2.6.8-2-686-smp 2.6.8-16sarge1
    kernel-headers-2.6.8-2-686 2.6.8-16sarge1
    kernel-headers-2.6.8-2-386 2.6.8-16sarge1
    kernel-headers-2.6.8-2 2.6.8-16sarge1
    kernel-headers-2.6.8-11-em64t-p4-smp 2.6.8-16sarge1
    kernel-headers-2.6.8-11-em64t-p4 2.6.8-16sarge1
    kernel-headers-2.6.8-11-amd64-k8-smp 2.6.8-16sarge1
    kernel-headers-2.6.8-11-amd64-k8 2.6.8-16sarge1
    kernel-headers-2.6.8-11-amd64-generic 2.6.8-16sarge1
    kernel-headers-2.6.8-11 2.6.8-16sarge1
    You should explicitly select one to install.
	 
it seems then that from the debian pools there is no way to get something as 
recent as 2.6.15. also, doesn't the version of the headers need to sync with 
the kernel version? how do i find out what version of linux i am running?

thanks,

tom arnall
north spit, ca



	



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux