LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Closed Thread
 
Search this Thread
Old 08-28-2004, 01:57 PM   #1
MysteriousRevC
Member
 
Registered: May 2004
Distribution: Mandrake 10
Posts: 35

Rep: Reputation: 15
MADWifi compile problems


Hiya, MADWifi isn't compiling in Mandrake 10. all i am getting is this:

[charles@localhost madwifi-20030802]$ make
for i in ./ath_hal ./wlan ./driver; do \
(cd $i; make); \
done
make[1]: Entering directory `/home/charles/madwifi-20030802/ath_hal'
cp ../hal/linux/opt_ah.h opt_ah.h
rm -f .depend
gcc -M -include ../include/compat.h -I../include -I/lib/modules/2.6.3-15mdk/build/include/asm/mach-default -I../hal -I../hal/linux -I../ath_hal -I/lib/modules/2.6.3-15mdk/build/include -I.. -D__KERNEL__ -DMODULE -DMODVERSIONS -include /lib/modules/2.6.3-15mdk/build/include/linux/modversions.h -DKBUILD_BASENAME=ath_hal -DKBUILD_MODNAME=ath_hal -Wall -g -O ../hal/linux/ah_osdep.c > .depend
<command line>:10:1: /lib/modules/2.6.3-15mdk/build/include/linux/modversions.h: No such file or directory
make[1]: *** [.depend] Error 1
make[1]: Leaving directory `/home/charles/madwifi-20030802/ath_hal'
make[1]: Entering directory `/home/charles/madwifi-20030802/wlan'
rm -f if_ieee80211.ver
for i in if_ieee80211subr.c if_ieee80211wireless.c; do \
gcc -include ../include/compat.h -I../include -I/lib/modules/2.6.3-15mdk/build/include/asm/mach-default -I. -I/lib/modules/2.6.3-15mdk/build/include -I.. -Wall -g -O -E -D__GENKSYMS__ $i | \
/sbin/genksyms -k 2.6.3 >> if_ieee80211.ver; \
done
In file included from /lib/modules/2.6.3-15mdk/build/include/linux/signal.h:4,
from /lib/modules/2.6.3-15mdk/build/include/linux/sched.h:25,
from /lib/modules/2.6.3-15mdk/build/include/linux/module.h:10,
from if_ieee80211subr.c:87:
/lib/modules/2.6.3-15mdk/build/include/linux/list.h:607:2: warning: #warning "don't include kernel headers in userspace"
In file included from /lib/modules/2.6.3-15mdk/build/include/linux/signal.h:4,
from /lib/modules/2.6.3-15mdk/build/include/linux/sched.h:25,
from /lib/modules/2.6.3-15mdk/build/include/linux/module.h:10,
from if_ieee80211wireless.c:48:
/lib/modules/2.6.3-15mdk/build/include/linux/list.h:607:2: warning: #warning "don't include kernel headers in userspace"
gcc -include ../include/compat.h -I../include -I/lib/modules/2.6.3-15mdk/build/include/asm/mach-default -I. -I/lib/modules/2.6.3-15mdk/build/include -I.. -Wall -g -O -E -D__GENKSYMS__ if_media.c | \
/sbin/genksyms -k 2.6.3 > if_media.ver
In file included from /lib/modules/2.6.3-15mdk/build/include/linux/signal.h:4,
from /lib/modules/2.6.3-15mdk/build/include/linux/sched.h:25,
from /lib/modules/2.6.3-15mdk/build/include/linux/module.h:10,
from if_media.c:56:
/lib/modules/2.6.3-15mdk/build/include/linux/list.h:607:2: warning: #warning "don't include kernel headers in userspace"
rm -f .depend
gcc -M -include ../include/compat.h -I../include -I/lib/modules/2.6.3-15mdk/build/include/asm/mach-default -I. -I/lib/modules/2.6.3-15mdk/build/include -I.. -D__KERNEL__ -DMODULE -DMODVERSIONS -include /lib/modules/2.6.3-15mdk/build/include/linux/modversions.h -DKBUILD_BASENAME=wlan -DKBUILD_MODNAME=wlan -include ../wlan/if_ieee80211.ver -include ../wlan/if_media.ver -Wall -g -O if_ieee80211subr.c if_ieee80211wireless.c if_media.c rc4.c > .depend
<command line>:10:1: /lib/modules/2.6.3-15mdk/build/include/linux/modversions.h: No such file or directory
<command line>:10:1: /lib/modules/2.6.3-15mdk/build/include/linux/modversions.h: No such file or directory
<command line>:10:1: /lib/modules/2.6.3-15mdk/build/include/linux/modversions.h: No such file or directory
<command line>:10:1: /lib/modules/2.6.3-15mdk/build/include/linux/modversions.h: No such file or directory
make[1]: *** [.depend] Error 1
make[1]: Leaving directory `/home/charles/madwifi-20030802/wlan'
make[1]: Entering directory `/home/charles/madwifi-20030802/driver'
rm -f .depend
gcc -M -include ../include/compat.h -I../include -I/lib/modules/2.6.3-15mdk/build/include/asm/mach-default -I. -I../hal -I../hal/linux -I../ath_hal -I../wlan -I/lib/modules/2.6.3-15mdk/build/include -I.. -D__KERNEL__ -DMODULE -DMODVERSIONS -include /lib/modules/2.6.3-15mdk/build/include/linux/modversions.h -DKBUILD_BASENAME=ath_pci -DKBUILD_MODNAME=ath_pci -include ../wlan/if_ieee80211.ver -include ../wlan/if_media.ver -Wall -g -O if_ath.c if_ath_pci.c > .depend
<command line>:10:1: /lib/modules/2.6.3-15mdk/build/include/linux/modversions.h: No such file or directory
<command line>:10:1: /lib/modules/2.6.3-15mdk/build/include/linux/modversions.h: No such file or directory
make[1]: [.depend] Error 1 (ignored)
make[1]: Leaving directory `/home/charles/madwifi-20030802/driver'
make[1]: Entering directory `/home/charles/madwifi-20030802/driver'
gcc -include ../include/compat.h -I../include -I/lib/modules/2.6.3-15mdk/build/include/asm/mach-default -I. -I../hal -I../hal/linux -I../ath_hal -I../wlan -I/lib/modules/2.6.3-15mdk/build/include -I.. -D__KERNEL__ -DMODULE -DMODVERSIONS -include /lib/modules/2.6.3-15mdk/build/include/linux/modversions.h -DKBUILD_BASENAME=ath_pci -DKBUILD_MODNAME=ath_pci -include ../wlan/if_ieee80211.ver -include ../wlan/if_media.ver -Wall -g -O -c -o if_ath.o if_ath.c
<command line>:10:1: /lib/modules/2.6.3-15mdk/build/include/linux/modversions.h: No such file or directory
In file included from ../wlan/if_ieee80211.h:84,
from if_athvar.h:53,
from if_ath.c:58:
../wlan/if_media.h:119: error: `_set_ver' declared as function returning a function
../wlan/if_media.h:119: warning: parameter names (without types) in function declaration
In file included from if_athvar.h:53,
from if_ath.c:58:
../wlan/if_ieee80211.h:680: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:680: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:681: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:681: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:683: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:683: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:686: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:686: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:687: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:687: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:688: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:688: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:689: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:689: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:691: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:691: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:692: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:692: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:693: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:693: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:695: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:695: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:697: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:697: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:698: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:698: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:701: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:701: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:707: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:707: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:711: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:711: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:714: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:714: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:715: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:715: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:716: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:716: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:717: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:717: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:718: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:718: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:719: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:719: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:721: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:721: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:723: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:723: warning: parameter names (without types) in function declaration
if_ath.c: In function `ath_attach':
if_ath.c:256: error: `ieee80211_ifattach' undeclared (first use in this function)
if_ath.c:256: error: (Each undeclared identifier is reported only once
if_ath.c:256: error: for each function it appears in.)
if_ath.c:256: error: called object is not a function
if_ath.c:257: error: `ieee80211_media_init' undeclared (first use in this function)
if_ath.c:257: error: `ieee80211_media_status' undeclared (first use in this function)
if_ath.c:257: error: called object is not a function
if_ath.c:263: error: `ether_sprintf' undeclared (first use in this function)
if_ath.c:263: error: called object is not a function
if_ath.c: In function `ath_detach':
if_ath.c:282: error: `ieee80211_ifdetach' undeclared (first use in this function)
if_ath.c:282: error: called object is not a function
if_ath.c: In function `ath_bmiss_tasklet':
if_ath.c:424: error: `ieee80211_new_state' undeclared (first use in this function)
if_ath.c:424: error: called object is not a function
if_ath.c: In function `ath_chan2flags':
if_ath.c:437: error: `ieee80211_chan2mode' undeclared (first use in this function)
if_ath.c:437: error: called object is not a function
if_ath.c: In function `ath_init':
if_ath.c:505: error: `ieee80211_chan2mode' undeclared (first use in this function)
if_ath.c:505: error: called object is not a function
if_ath.c:508: error: `ieee80211_new_state' undeclared (first use in this function)
if_ath.c:508: error: called object is not a function
if_ath.c: In function `ath_stop':
if_ath.c:549: error: `ieee80211_new_state' undeclared (first use in this function)
if_ath.c:549: error: called object is not a function
if_ath.c: In function `ath_hardstart':
if_ath.c:657: error: `ieee80211_encap' undeclared (first use in this function)
if_ath.c:657: error: called object is not a function
if_ath.c:671: error: `ieee80211_find_node' undeclared (first use in this function)
if_ath.c:671: error: called object is not a function
if_ath.c:691: error: `ieee80211_dump_pkt' undeclared (first use in this function)
if_ath.c:692: error: called object is not a function
if_ath.c: In function `ath_mgtstart':
if_ath.c:770: error: `ieee80211_find_node' undeclared (first use in this function)
if_ath.c:770: error: called object is not a function
if_ath.c:785: error: `ieee80211_dump_pkt' undeclared (first use in this function)
if_ath.c:786: error: called object is not a function
if_ath.c: In function `ath_media_change':
if_ath.c:816: error: `ieee80211_media_change' undeclared (first use in this function)
if_ath.c:816: error: called object is not a function
if_ath.c: In function `ath_beacon_alloc':
if_ath.c:989: error: `ieee80211_add_rates' undeclared (first use in this function)
if_ath.c:989: error: called object is not a function
if_ath.c:1003: error: `ieee80211_add_xrates' undeclared (first use in this function)
if_ath.c:1003: error: called object is not a function
if_ath.c: In function `ath_rx_tasklet':
if_ath.c:1429: error: `ieee80211_dump_pkt' undeclared (first use in this function)
if_ath.c:1431: error: called object is not a function
if_ath.c:1450: error: `ieee80211_input' undeclared (first use in this function)
if_ath.c:1453: error: called object is not a function
if_ath.c: In function `ath_chan_set':
if_ath.c:1917: error: `ieee80211_chan2ieee' undeclared (first use in this function)
if_ath.c:1917: error: called object is not a function
if_ath.c:1917: error: called object is not a function
if_ath.c:1945: error: called object is not a function
if_ath.c:1968: error: `ieee80211_chan2mode' undeclared (first use in this function)
if_ath.c:1968: error: called object is not a function
if_ath.c: In function `ath_next_scan':
if_ath.c:1983: error: `ieee80211_next_scan' undeclared (first use in this function)
if_ath.c:1983: error: called object is not a function
if_ath.c: In function `ath_newstate':
if_ath.c:2084: error: `ether_sprintf' undeclared (first use in this function)
if_ath.c:2084: error: called object is not a function
if_ath.c:2098: error: called object is not a function
if_ath.c:2098: error: `ieee80211_chan2ieee' undeclared (first use in this function)
if_ath.c:2098: error: called object is not a function
if_ath.c: In function `ath_ratectl':
if_ath.c:2367: error: `ieee80211_iterate_nodes' undeclared (first use in this function)
if_ath.c:2367: error: called object is not a function
make[1]: *** [if_ath.o] Error 1
make[1]: Leaving directory `/home/charles/madwifi-20030802/driver'
make: *** [all] Error 2
 
Old 08-28-2004, 02:18 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

The original is here:
http://www.linuxquestions.org/questi...hreadid=223561
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I compile madwifi on a 64-bit OS? Blash Linux - Software 0 05-31-2005 01:53 AM
How do I compile madwifi on a 64-bit OS? Blash Linux - Wireless Networking 0 05-30-2005 04:51 AM
Madwifi compile problems Hockeyfan Linux - Wireless Networking 5 11-19-2004 06:06 PM
MADWifi compile problems MysteriousRevC Linux - Newbie 2 08-28-2004 02:35 PM
(Re)compile Kernel2.4.X on SuSe8.2 for MADWiFi Gibsonist Linux - Newbie 0 03-12-2004 04:53 PM


All times are GMT -5. The time now is 02:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration