From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18479 invoked by alias); 14 Apr 2006 07:47:39 -0000 Received: (qmail 18470 invoked by uid 22791); 14 Apr 2006 07:47:39 -0000 X-Spam-Check-By: sourceware.org Received: from nz-out-0102.google.com (HELO nz-out-0102.google.com) (64.233.162.201) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 14 Apr 2006 07:47:36 +0000 Received: by nz-out-0102.google.com with SMTP id 13so96840nzn for ; Fri, 14 Apr 2006 00:47:35 -0700 (PDT) Received: by 10.65.188.1 with SMTP id q1mr878629qbp; Fri, 14 Apr 2006 00:47:35 -0700 (PDT) Received: by 10.64.131.15 with HTTP; Fri, 14 Apr 2006 00:47:35 -0700 (PDT) Message-ID: <85e0e3140604140047o420fc069n6918f0e6bc58995b@mail.gmail.com> Date: Fri, 14 Apr 2006 07:47:00 -0000 From: Niklaus To: "tom arnall" Subject: Re: gcc error trying to compile the madwifi driver Cc: gcc-help@gcc.gnu.org In-Reply-To: <200604140045.19168.kloro@cox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200604140045.19168.kloro@cox.net> X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-04/txt/msg00142.txt.bz2 On 4/14/06, tom arnall wrote: > while trying to compile the madwifi driver, i encountered the following e= rror: > > 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 > > tom arnall > north spit, ca > > > >