[Linux-wlan-ng-devel] Re: [Fwd: [lwlan-user] errors while attempting to run "make"]

Dan Finn dfinn at twelvehorses.com
Mon Sep 12 18:01:13 UTC 2005


I was able to get those packages installed (linux-wlan-ng &
linux-wlan-ng-modules-2.6.8-2-686-smp).  When I insert the card the 
correct prism2 driver is loaded, however it appears I am not getting any 
wireless extensions.  It creates the wlan0 interface, so this is farther 
than i've been able to get so far.

[ root @ stewie : ~ ] : iwconfig wlan0
wlan0     no wireless extensions.

Did I miss a step?

Victor Seva wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Dan,
> 
> You can test our 0.2.2-1+sarge version in [0]
> 
> I made it on a sarge pbuilder chroot. Please test it and tell us if it works for you.
> 
> [0] http://linux-wlan-ng.alioth.debian.org/deb/
> 
> Dan Finn wrote:
> 
>>I was looking back on the wlan-users mailing list and I saw a thread
>>started by you and it seems like you are/were having some of the same
>>issues I am having getting the latest wlan-ng working on debian sarge
>>running 2.6.8-2.  I was wondering if you could check out the attached
>>email I sent to the users list, perhaps you can help me get this working.
>>
>>Thanks
>>Dan
>>
>>------------------------------------------------------------------------
>>
>>Subject:
>>[lwlan-user] errors while attempting to run "make"
>>From:
>>Dan Finn <dfinn at twelvehorses.com>
>>Date:
>>Fri, 09 Sep 2005 13:49:04 -0700
>>To:
>>linux-wlan-user at lists.linux-wlan.com
>>
>>To:
>>linux-wlan-user at lists.linux-wlan.com
>>
>>Return-Path:
>><linux-wlan-user-bounces at lists.linux-wlan.com>
>>Delivered-To:
>>twelvehorses.com-dfinn at twelvehorses.com
>>Received:
>>(qmail 955 invoked by uid 64000); 9 Sep 2005 14:03:46 -0700
>>Received:
>>from 24.73.236.123 by corpmail.thna.net (envelope-from
>><linux-wlan-user-bounces at lists.linux-wlan.com>, uid 64011) with
>>qmail-scanner-1.25 (clamdscan: 0.86.2/1011. spamassassin: 3.0.3.
>>Clear:RC:0(24.73.236.123):SA:0(-100.0/3.0):. Processed in 0.875241
>>secs); 09 Sep 2005 21:03:46 -0000
>>X-Envelope-From:
>>linux-wlan-user-bounces at lists.linux-wlan.com
>>Received:
>>from unknown (HELO lists.linux-wlan.com) (24.73.236.123) by
>>corpmail.thna.net with (DHE-RSA-AES256-SHA encrypted) SMTP; Fri, 09 Sep
>>2005 14:03:45 -0700
>>Received:
>>from rrcs-24-73-236-123.se.biz.rr.com (list at localhost [127.0.0.1]) by
>>lists.linux-wlan.com (8.13.4/8.13.4/Debian-3) with ESMTP id
>>j89MFZl0010172; Fri, 9 Sep 2005 18:17:06 -0400
>>Received:
>>from stewie.thna.net (charon.thna.net [208.39.234.5]) by
>>lists.linux-wlan.com (8.13.4/8.13.4/Debian-3) with ESMTP id
>>j89MFQim010169 for <linux-wlan-user at lists.linux-wlan.com>; Fri, 9 Sep
>>2005 18:15:32 -0400
>>Received:
>>from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by stewie.thna.net
>>(Postfix) with ESMTP id 49B2211CAC for
>><linux-wlan-user at lists.linux-wlan.com>; Fri, 9 Sep 2005 13:49:04 -0700 (PDT)
>>Message-ID:
>><4321F540.1020906 at twelvehorses.com>
>>User-Agent:
>>Debian Thunderbird 1.0.2 (X11/20050602)
>>X-Accept-Language:
>>en-us, en
>>MIME-Version:
>>1.0
>>Content-Type:
>>text/plain; charset=ISO-8859-1; format=flowed
>>Content-Transfer-Encoding:
>>7bit
>>X-BeenThere:
>>linux-wlan-user at lists.linux-wlan.com
>>X-Mailman-Version:
>>2.1.5
>>Precedence:
>>list
>>List-Id:
>>"End-User Support List \(main list\)" <linux-wlan-user.lists.linux-wlan.com>
>>List-Unsubscribe:
>><http://lists.linux-wlan.com/mailman/listinfo/linux-wlan-user>,
>><mailto:linux-wlan-user-request at lists.linux-wlan.com?subject=unsubscribe>
>>List-Archive:
>><http://lists.linux-wlan.com/pipermail/linux-wlan-user>
>>List-Post:
>><mailto:linux-wlan-user at lists.linux-wlan.com>
>>List-Help:
>><mailto:linux-wlan-user-request at lists.linux-wlan.com?subject=help>
>>List-Subscribe:
>><http://lists.linux-wlan.com/mailman/listinfo/linux-wlan-user>,
>><mailto:linux-wlan-user-request at lists.linux-wlan.com?subject=subscribe>
>>Sender:
>>linux-wlan-user-bounces at lists.linux-wlan.com
>>Errors-To:
>>linux-wlan-user-bounces at lists.linux-wlan.com
>>X-Spam-Checker-Version:
>>SpamAssassin 3.0.3 (2005-04-27) on corpmail.thna.net
>>X-Spam-Status:
>>No, score=-100.0 required=3.0 tests=USER_IN_WHITELIST autolearn=failed
>>version=3.0.3
>>
>>
>>I am trying to build the latest version of wlan-ng (0.2.2) on a debian
>>sarge system running kernel 2.6.8-2.  after running "make config"
>>(accepting all of the defaults) I get the following errors when I run
>>"make" :
>>
>>make[3]: Entering directory `/usr/src/kernel-source-2.6.8'
>>  CC [M]  /home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.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/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:62:
>>include/asm/processor.h:87: error: array type has incomplete element type
>>In file included from include/linux/netdevice.h:151,
>>                 from
>>/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:71:
>>include/linux/skbuff.h: In function 'skb_add_data':
>>include/linux/skbuff.h:1020: warning: pointer targets in passing
>>argument 2 of 'csum_and_copy_from_user' differ in signedness
>>In file included from
>>/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:73:
>>/home/dfinn/linux-wlan-ng-0.2.2/src//include/wlan/wlan_compat.h:231:29:
>>error: linux/hardirq.h: No such file or directory
>>make[4]: *** [/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.o]
>>Error 1
>>make[3]: *** [_module_/home/dfinn/linux-wlan-ng-0.2.2/src/p80211] Error 2
>>make[3]: Leaving directory `/usr/src/kernel-source-2.6.8'
>>make[2]: *** [default] Error 2
>>make[2]: Leaving directory `/home/dfinn/linux-wlan-ng-0.2.2/src/p80211'
>>make[1]: *** [all] Error 2
>>make[1]: Leaving directory `/home/dfinn/linux-wlan-ng-0.2.2/src'
>>make: *** [all] Error 2
>>
>>
>>so it appears to be having problems including linux/hardirq.h.  A locate
>>on my system shows it in two locations:
>>
>>/usr/include/asm/hardirq.h
>>/usr/include/linux/hardirq.h
>>
>>
>>so I edit src/include/wlan/wlan_compat.h and change the following line
>>from:
>>
>>#  include <linux/hardirq.h>
>>
>>to:
>>
>>#  include </usr/include/linux/hardirq.h>
>>
>>
>>and re-run "make" and I get the following errors:
>>
>>
>>make[3]: Entering directory `/usr/src/kernel-source-2.6.8'
>>  CC [M]  /home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.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/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:62:
>>include/asm/processor.h:87: error: array type has incomplete element type
>>In file included from include/linux/netdevice.h:151,
>>                 from
>>/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:71:
>>include/linux/skbuff.h: In function 'skb_add_data':
>>include/linux/skbuff.h:1020: warning: pointer targets in passing
>>argument 2 of 'csum_and_copy_from_user' differ in signedness
>>In file included from
>>/home/dfinn/linux-wlan-ng-0.2.2/src//include/wlan/wlan_compat.h:231,
>>                 from
>>/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:73:
>>/usr/include/linux/hardirq.h:46:1: warning: "PREEMPT_MASK" redefined
>>In file included from include/linux/interrupt.h:12,
>>                 from include/asm/highmem.h:24,
>>                 from include/linux/highmem.h:14,
>>                 from include/linux/skbuff.h:27,
>>                 from include/linux/netdevice.h:151,
>>                 from
>>/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:71:
>>include/asm/hardirq.h:42:1: warning: this is the location of the
>>previous definition
>>In file included from
>>/home/dfinn/linux-wlan-ng-0.2.2/src//include/wlan/wlan_compat.h:231,
>>                 from
>>/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:73:
>>/usr/include/linux/hardirq.h:47:1: warning: "SOFTIRQ_MASK" redefined
>>In file included from include/linux/interrupt.h:12,
>>                 from include/asm/highmem.h:24,
>>                 from include/linux/highmem.h:14,
>>                 from include/linux/skbuff.h:27,
>>                 from include/linux/netdevice.h:151,
>>                 from
>>/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:71:
>>include/asm/hardirq.h:44:1: warning: this is the location of the
>>previous definition
>>In file included from
>>/home/dfinn/linux-wlan-ng-0.2.2/src//include/wlan/wlan_compat.h:231,
>>                 from
>>/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:73:
>>/usr/include/linux/hardirq.h:48:1: warning: "HARDIRQ_MASK" redefined
>>In file included from include/linux/interrupt.h:12,
>>                 from include/asm/highmem.h:24,
>>                 from include/linux/highmem.h:14,
>>                 from include/linux/skbuff.h:27,
>>                 from include/linux/netdevice.h:151,
>>                 from
>>/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:71:
>>include/asm/hardirq.h:43:1: warning: this is the location of the
>>previous definition
>>In file included from
>>/home/dfinn/linux-wlan-ng-0.2.2/src//include/wlan/wlan_compat.h:231,
>>                 from
>>/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:73:
>>/usr/include/linux/hardirq.h:90:1: warning: "nmi_enter" redefined
>>In file included from include/linux/interrupt.h:12,
>>                 from include/asm/highmem.h:24,
>>                 from include/linux/highmem.h:14,
>>                 from include/linux/skbuff.h:27,
>>                 from include/linux/netdevice.h:151,
>>                 from
>>/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:71:
>>include/asm/hardirq.h:76:1: warning: this is the location of the
>>previous definition
>>In file included from
>>/home/dfinn/linux-wlan-ng-0.2.2/src//include/wlan/wlan_compat.h:231,
>>                 from
>>/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:73:
>>/usr/include/linux/hardirq.h:91:1: warning: "nmi_exit" redefined
>>In file included from include/linux/interrupt.h:12,
>>                 from include/asm/highmem.h:24,
>>                 from include/linux/highmem.h:14,
>>                 from include/linux/skbuff.h:27,
>>                 from include/linux/netdevice.h:151,
>>                 from
>>/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:71:
>>include/asm/hardirq.h:77:1: warning: this is the location of the
>>previous definition
>>In file included from
>>/home/dfinn/linux-wlan-ng-0.2.2/src//include/wlan/wlan_compat.h:231,
>>                 from
>>/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:73:
>>/usr/include/linux/hardirq.h:103:1: warning: "irq_enter" redefined
>>In file included from include/linux/interrupt.h:12,
>>                 from include/asm/highmem.h:24,
>>                 from include/linux/highmem.h:14,
>>                 from include/linux/skbuff.h:27,
>>                 from include/linux/netdevice.h:151,
>>                 from
>>/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:71:
>>include/asm/hardirq.h:75:1: warning: this is the location of the
>>previous definition
>>In file included from
>>/home/dfinn/linux-wlan-ng-0.2.2/src//include/wlan/wlan_compat.h:231,
>>                 from
>>/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:73:
>>/usr/include/linux/hardirq.h:109:26: error: macro "irq_exit" passed 1
>>arguments, but takes just 0
>>make[4]: *** [/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.o]
>>Error 1
>>make[3]: *** [_module_/home/dfinn/linux-wlan-ng-0.2.2/src/p80211] Error 2
>>make[3]: Leaving directory `/usr/src/kernel-source-2.6.8'
>>make[2]: *** [default] Error 2
>>make[2]: Leaving directory `/home/dfinn/linux-wlan-ng-0.2.2/src/p80211'
>>make[1]: *** [all] Error 2
>>make[1]: Leaving directory `/home/dfinn/linux-wlan-ng-0.2.2/src'
>>make: *** [all] Error 2
>>
>>
>>
>>
>>so I change the include statement to point to /usr/include/asm/hardirq.h
>>and I get the following error when running "make" :
>>
>>
>>
>>
>>
>>make[3]: Entering directory `/usr/src/kernel-source-2.6.8'
>>  CC [M]  /home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.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/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:62:
>>include/asm/processor.h:87: error: array type has incomplete element type
>>In file included from include/linux/netdevice.h:151,
>>                 from
>>/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.c:71:
>>include/linux/skbuff.h: In function 'skb_add_data':
>>include/linux/skbuff.h:1020: warning: pointer targets in passing
>>argument 2 of 'csum_and_copy_from_user' differ in signedness
>>make[4]: *** [/home/dfinn/linux-wlan-ng-0.2.2/src/p80211/p80211mod.o]
>>Error 1
>>make[3]: *** [_module_/home/dfinn/linux-wlan-ng-0.2.2/src/p80211] Error 2
>>make[3]: Leaving directory `/usr/src/kernel-source-2.6.8'
>>make[2]: *** [default] Error 2
>>make[2]: Leaving directory `/home/dfinn/linux-wlan-ng-0.2.2/src/p80211'
>>make[1]: *** [all] Error 2
>>make[1]: Leaving directory `/home/dfinn/linux-wlan-ng-0.2.2/src'
>>make: *** [all] Error 2
>>
>>
>>Any help to get me past this hurdle would be extremely appreciated.  I
>>am trying to build this so that I can get support for my D-Link DWL-650,
>>which seems to work great using the auditor live cd and the wlan-ng
>>modules.
>>
>>Thanks
>>Dan
>>_______________________________________________
>>Linux-wlan-user mailing list
>>Linux-wlan-user at lists.linux-wlan.com
>>http://lists.linux-wlan.com/mailman/listinfo/linux-wlan-user
> 
> 
> - --
> Victor Seva
> linuxmaniac at torreviejawireless.org
> http://www.torreviejawireless.org
> http://linuxmaniac.homeip.net
> jabber: linuxmaniac at jabber.torreviejawireless.org
> PGP Key ID: 0xDD12F253
> Socio numero 78 de ANURI
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFDIzoiS/DSSd0S8lMRArn7AJ0WJVm8AqEperT0BOdmF6HHUHSr5wCgg19v
> Ys9RyRmU9Sxec+C66sPEbzE=
> =swuf
> -----END PGP SIGNATURE-----

-- 
Dan Finn
Unix System Administrator
Twelve Horses North America
Cell : 530.386.2618
Desk : 775.337.3336



More information about the Linux-wlan-ng-devel mailing list