LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 04-22-2004, 11:44 AM   #1
EduFer
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Rep: Reputation: 0
Madwifi make problem...


I tryed to make the madwifi drivers but i didnt made it i got the following errors.. its an output.. sorry for the long post..

make
for i in ./ath_hal ./wlan ./driver; do \
(cd $i; make); \
done
make[1]: Entering directory `/home/eduardo/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-4mdk/build/include/asm/mach-default -I../hal -I../hal/linux -I../ath_hal -I/lib/modules/2.6.3-4mdk/build/include -I.. -D__KERNEL__ -DMODULE -DMODVERSIONS -include /lib/modules/2.6.3-4mdk/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-4mdk/build/include/linux/modversions.h: No such file or directory
make[1]: ** [.depend] Erro 1
make[1]: Leaving directory `/home/eduardo/madwifi-20030802/ath_hal'
make[1]: Entering directory `/home/eduardo/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-4mdk/build/include/asm/mach-default -I. -I/lib/modules/2.6.3-4mdk/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-4mdk/build/include/linux/signal.h:4,
from /lib/modules/2.6.3-4mdk/build/include/linux/sched.h:25,
from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_ieee80211subr.c:87:
/lib/modules/2.6.3-4mdk/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-4mdk/build/include/linux/signal.h:4,
from /lib/modules/2.6.3-4mdk/build/include/linux/sched.h:25,
from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_ieee80211wireless.c:48:
/lib/modules/2.6.3-4mdk/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-4mdk/build/include/asm/mach-default -I. -I/lib/modules/2.6.3-4mdk/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-4mdk/build/include/linux/signal.h:4,
from /lib/modules/2.6.3-4mdk/build/include/linux/sched.h:25,
from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_media.c:56:
/lib/modules/2.6.3-4mdk/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-4mdk/build/include/asm/mach-default -I. -I/lib/modules/2.6.3-4mdk/build/include -I.. -D__KERNEL__ -DMODULE -DMODVERSIONS -include /lib/modules/2.6.3-4mdk/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-4mdk/build/include/linux/modversions.h: No such file or directory
<command line>:10:1: /lib/modules/2.6.3-4mdk/build/include/linux/modversions.h: No such file or directory
<command line>:10:1: /lib/modules/2.6.3-4mdk/build/include/linux/modversions.h: No such file or directory
<command line>:10:1: /lib/modules/2.6.3-4mdk/build/include/linux/modversions.h: No such file or directory
make[1]: ** [.depend] Erro 1
make[1]: Leaving directory `/home/eduardo/madwifi-20030802/wlan'
make[1]: Entering directory `/home/eduardo/madwifi-20030802/driver'
rm -f .depend
gcc -M -include ../include/compat.h -I../include -I/lib/modules/2.6.3-4mdk/build/include/asm/mach-default -I. -I../hal -I../hal/linux -I../ath_hal -I../wlan -I/lib/modules/2.6.3-4mdk/build/include -I.. -D__KERNEL__ -DMODULE -DMODVERSIONS -include /lib/modules/2.6.3-4mdk/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-4mdk/build/include/linux/modversions.h: No such file or directory
<command line>:10:1: /lib/modules/2.6.3-4mdk/build/include/linux/modversions.h: No such file or directory
make[1]: [.depend] Erro 1 (ignorado)
make[1]: Leaving directory `/home/eduardo/madwifi-20030802/driver'
make[1]: Entering directory `/home/eduardo/madwifi-20030802/driver'
gcc -include ../include/compat.h -I../include -I/lib/modules/2.6.3-4mdk/build/include/asm/mach-default -I. -I../hal -I../hal/linux -I../ath_hal -I../wlan -I/lib/modules/2.6.3-4mdk/build/include -I.. -D__KERNEL__ -DMODULE -DMODVERSIONS -include /lib/modules/2.6.3-4mdk/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-4mdk/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] Erro 1
make[1]: Leaving directory `/home/eduardo/madwifi-20030802/driver'
make: ** [all] Erro 2

im sort of new at this... and i cant download via cvs because the wireless card is my only way in the internet... its a level one wpc-0300
its a laptop with mandrake 10.0 community..
can someone help??
10x

Last edited by EduFer; 04-22-2004 at 11:46 AM.
 
Old 04-22-2004, 12:46 PM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Go into your /usr/src/linux as root
type
make clean
make mrproper
make cloneconfig and if that dont work make oldconfig
Then try the drivers again and see what happens.
 
Old 04-22-2004, 01:06 PM   #3
EduFer
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I tryed that but i think it got worst.. i got this:
make
for i in ./ath_hal ./wlan ./driver; do \
(cd $i; make); \
done
make[1]: Entering directory `/home/eduardo/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-4mdk/build/include/asm/mach-default -I../hal -I../hal/linux -I../ath_hal -I/lib/modules/2.6.3-4mdk/build/include -I.. -D__KERNEL__ -DMODULE -DMODVERSIONS -include /lib/modules/2.6.3-4mdk/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-4mdk/build/include/linux/modversions.h: No such file or directory
In file included from ../hal/linux/ah_osdep.c:45:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/sched.h:15,
from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from ../hal/linux/ah_osdep.c:46:
/lib/modules/2.6.3-4mdk/build/include/linux/cpumask.h:6:25: asm/cpumask.h: No such file or directory
make[1]: ** [.depend] Erro 1
make[1]: Leaving directory `/home/eduardo/madwifi-20030802/ath_hal'
make[1]: Entering directory `/home/eduardo/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-4mdk/build/include/asm/mach-default -I. -I/lib/modules/2.6.3-4mdk/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-4mdk/build/include/linux/sched.h:15,
from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_ieee80211subr.c:87:
/lib/modules/2.6.3-4mdk/build/include/linux/cpumask.h:6:25: asm/cpumask.h: No such file or directory
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/signal.h:4,
from /lib/modules/2.6.3-4mdk/build/include/linux/sched.h:25,
from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_ieee80211subr.c:87:
/lib/modules/2.6.3-4mdk/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-4mdk/build/include/linux/sched.h:15,
from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_ieee80211wireless.c:48:
/lib/modules/2.6.3-4mdk/build/include/linux/cpumask.h:6:25: asm/cpumask.h: No such file or directory
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/signal.h:4,
from /lib/modules/2.6.3-4mdk/build/include/linux/sched.h:25,
from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_ieee80211wireless.c:48:
/lib/modules/2.6.3-4mdk/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-4mdk/build/include/asm/mach-default -I. -I/lib/modules/2.6.3-4mdk/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-4mdk/build/include/linux/sched.h:15,
from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_media.c:56:
/lib/modules/2.6.3-4mdk/build/include/linux/cpumask.h:6:25: asm/cpumask.h: No such file or directory
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/signal.h:4,
from /lib/modules/2.6.3-4mdk/build/include/linux/sched.h:25,
from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_media.c:56:
/lib/modules/2.6.3-4mdk/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-4mdk/build/include/asm/mach-default -I. -I/lib/modules/2.6.3-4mdk/build/include -I.. -D__KERNEL__ -DMODULE -DMODVERSIONS -include /lib/modules/2.6.3-4mdk/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-4mdk/build/include/linux/modversions.h: No such file or directory
In file included from if_ieee80211subr.c:86:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/sched.h:15,
from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_ieee80211subr.c:87:
/lib/modules/2.6.3-4mdk/build/include/linux/cpumask.h:6:25: asm/cpumask.h: No such file or directory
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/irq.h:20,
from /usr/include/asm/hardirq.h:6,
from /lib/modules/2.6.3-4mdk/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.3-4mdk/build/include/linux/netdevice.h:501,
from if_ieee80211subr.c:90:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
<command line>:10:1: /lib/modules/2.6.3-4mdk/build/include/linux/modversions.h: No such file or directory
In file included from if_ieee80211wireless.c:47:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/sched.h:15,
from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_ieee80211wireless.c:48:
/lib/modules/2.6.3-4mdk/build/include/linux/cpumask.h:6:25: asm/cpumask.h: No such file or directory
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/irq.h:20,
from /usr/include/asm/hardirq.h:6,
from /lib/modules/2.6.3-4mdk/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.3-4mdk/build/include/linux/netdevice.h:501,
from if_ieee80211wireless.c:50:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
<command line>:10:1: /lib/modules/2.6.3-4mdk/build/include/linux/modversions.h: No such file or directory
In file included from if_media.c:55:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/sched.h:15,
from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_media.c:56:
/lib/modules/2.6.3-4mdk/build/include/linux/cpumask.h:6:25: asm/cpumask.h: No such file or directory
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/irq.h:20,
from /usr/include/asm/hardirq.h:6,
from /lib/modules/2.6.3-4mdk/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.3-4mdk/build/include/linux/netdevice.h:501,
from if_media.c:60:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
<command line>:10:1: /lib/modules/2.6.3-4mdk/build/include/linux/modversions.h: No such file or directory
make[1]: ** [.depend] Erro 1
make[1]: Leaving directory `/home/eduardo/madwifi-20030802/wlan'
make[1]: Entering directory `/home/eduardo/madwifi-20030802/driver'
rm -f .depend
gcc -M -include ../include/compat.h -I../include -I/lib/modules/2.6.3-4mdk/build/include/asm/mach-default -I. -I../hal -I../hal/linux -I../ath_hal -I../wlan -I/lib/modules/2.6.3-4mdk/build/include -I.. -D__KERNEL__ -DMODULE -DMODVERSIONS -include /lib/modules/2.6.3-4mdk/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-4mdk/build/include/linux/modversions.h: No such file or directory
In file included from if_ath.c:43:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/sched.h:15,
from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_ath.c:44:
/lib/modules/2.6.3-4mdk/build/include/linux/cpumask.h:6:25: asm/cpumask.h: No such file or directory
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/irq.h:20,
from /usr/include/asm/hardirq.h:6,
from /lib/modules/2.6.3-4mdk/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.3-4mdk/build/include/linux/netdevice.h:501,
from if_ath.c:47:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from if_ath.c:58:
if_athvar.h:45:40: missing binary operator before token "("
if_athvar.h:192:41: missing binary operator before token "("
if_ath.c:312:41: missing binary operator before token "("
if_ath.c:330:41: missing binary operator before token "("
if_ath.c:340:41: missing binary operator before token "("
if_ath.c:390:40: missing binary operator before token "("
<command line>:10:1: /lib/modules/2.6.3-4mdk/build/include/linux/modversions.h: No such file or directory
In file included from if_ath_pci.c:45:
/usr/include/linux/version.h:2:2: #error "======================================================="
and more
 
Old 04-22-2004, 01:09 PM   #4
EduFer
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Original Poster
Rep: Reputation: 0
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/sched.h:15,
from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_ath_pci.c:46:
/lib/modules/2.6.3-4mdk/build/include/linux/cpumask.h:6:25: asm/cpumask.h: No such file or directory
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/irq.h:20,
from /usr/include/asm/hardirq.h:6,
from /lib/modules/2.6.3-4mdk/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.3-4mdk/build/include/linux/netdevice.h:501,
from if_ath_pci.c:49:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from if_ath_pci.c:54:
if_athvar.h:45:40: missing binary operator before token "("
if_athvar.h:192:41: missing binary operator before token "("
if_ath_pci.c:56:41: missing binary operator before token "("
if_ath_pci.c:155:41: missing binary operator before token "("
make[1]: [.depend] Erro 1 (ignorado)
make[1]: Leaving directory `/home/eduardo/madwifi-20030802/driver'
make[1]: Entering directory `/home/eduardo/madwifi-20030802/driver'
gcc -include ../include/compat.h -I../include -I/lib/modules/2.6.3-4mdk/build/include/asm/mach-default -I. -I../hal -I../hal/linux -I../ath_hal -I../wlan -I/lib/modules/2.6.3-4mdk/build/include -I.. -D__KERNEL__ -DMODULE -DMODVERSIONS -include /lib/modules/2.6.3-4mdk/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-4mdk/build/include/linux/modversions.h: No such file or directory
In file included from if_ath.c:43:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/sched.h:15,
from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_ath.c:44:
/lib/modules/2.6.3-4mdk/build/include/linux/cpumask.h:6:25: asm/cpumask.h: No such file or directory
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/mmzone.h:297,
from /lib/modules/2.6.3-4mdk/build/include/linux/gfp.h:4,
from /lib/modules/2.6.3-4mdk/build/include/linux/slab.h:15,
from /lib/modules/2.6.3-4mdk/build/include/linux/percpu.h:4,
from /lib/modules/2.6.3-4mdk/build/include/linux/sched.h:31,
from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_ath.c:44:
/lib/modules/2.6.3-4mdk/build/include/linux/topology.h: In function `__next_node_with_cpus':
/lib/modules/2.6.3-4mdk/build/include/linux/topology.h:50: error: `cpumask_t' undeclared (first use in this function)
/lib/modules/2.6.3-4mdk/build/include/linux/topology.h:50: error: (Each undeclared identifier is reported only once
/lib/modules/2.6.3-4mdk/build/include/linux/topology.h:50: error: for each function it appears in.)
/lib/modules/2.6.3-4mdk/build/include/linux/topology.h:50: error: parse error before "__tmp__"
/lib/modules/2.6.3-4mdk/build/include/linux/topology.h:50: error: `__tmp__' undeclared (first use in this function)
/lib/modules/2.6.3-4mdk/build/include/linux/topology.h:50: warning: implicit declaration of function `cpumask_of_cpu'
/lib/modules/2.6.3-4mdk/build/include/linux/topology.h:50: warning: implicit declaration of function `cpus_weight'
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_ath.c:44:
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: At top level:
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:215: error: parse error before "cpumask_t"
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:215: warning: no semicolon at end of struct or union
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:229: error: parse error before '}' token
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:353: error: parse error before "cpumask_t"
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:353: warning: no semicolon at end of struct or union
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:368: error: parse error before ':' token
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:411: error: parse error before ':' token
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:468: error: parse error before '}' token
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: In function `process_group':
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:472: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: At top level:
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:508: error: parse error before "cpumask_t"
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/module.h:10,
from if_ath.c:44:
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: In function `dequeue_signal_lock':
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:602: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:604: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: In function `on_sig_stack':
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:645: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:645: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: In function `sas_ss_flags':
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:650: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: In function `capable':
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:661: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:662: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: In function `mmdrop':
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:678: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: At top level:
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:695: error: `exit_signal' redeclared as different kind of symbol
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:364: error: previous declaration of `exit_signal'
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: In function `thread_group_empty':
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:781: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: In function `task_lock':
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:798: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: In function `task_unlock':
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:803: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: In function `get_task_mm':
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:817: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: In function `set_tsk_thread_flag':
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:831: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: In function `clear_tsk_thread_flag':
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:836: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: In function `test_and_set_tsk_thread_flag':
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:841: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: In function `test_and_clear_tsk_thread_flag':
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:846: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h: In function `test_tsk_thread_flag':
/lib/modules/2.6.3-4mdk/build/include/linux/sched.h:851: error: dereferencing pointer to incomplete type
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/dcache.h:10,
from /lib/modules/2.6.3-4mdk/build/include/linux/fs.h:17,
from /lib/modules/2.6.3-4mdk/build/include/linux/mm.h:14,
from /lib/modules/2.6.3-4mdk/build/include/linux/skbuff.h:26,
from if_ath.c:46:
/lib/modules/2.6.3-4mdk/build/include/linux/rcupdate.h: At top level:
/lib/modules/2.6.3-4mdk/build/include/linux/rcupdate.h:71: error: parse error before "cpumask_t"
/lib/modules/2.6.3-4mdk/build/include/linux/rcupdate.h:71: warning: no semicolon at end of struct or union
/lib/modules/2.6.3-4mdk/build/include/linux/rcupdate.h: In function `rcu_pending':
/lib/modules/2.6.3-4mdk/build/include/linux/rcupdate.h:115: error: invalid use of undefined type `struct rcu_ctrlblk'
/lib/modules/2.6.3-4mdk/build/include/linux/rcupdate.h:118: warning: implicit declaration of function `cpu_isset'
/lib/modules/2.6.3-4mdk/build/include/linux/rcupdate.h:118: error: invalid use of undefined type `struct rcu_ctrlblk'
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/skbuff.h:26,
from if_ath.c:46:
/lib/modules/2.6.3-4mdk/build/include/linux/mm.h: In function `__vma_unlink':
/lib/modules/2.6.3-4mdk/build/include/linux/mm.h:566: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/mm.h:567: error: dereferencing pointer to incomplete type
/lib/modules/2.6.3-4mdk/build/include/linux/mm.h:568: error: dereferencing pointer to incomplete type
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/irq.h:20,
from /usr/include/asm/hardirq.h:6,
from /lib/modules/2.6.3-4mdk/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.3-4mdk/build/include/linux/netdevice.h:501,
from if_ath.c:47:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/include/asm/hardirq.h:6,
from /lib/modules/2.6.3-4mdk/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.3-4mdk/build/include/linux/netdevice.h:501,
from if_ath.c:47:
/lib/modules/2.6.3-4mdk/build/include/linux/irq.h: At top level:
/lib/modules/2.6.3-4mdk/build/include/linux/irq.h:48: error: parse error before "cpumask_t"
/lib/modules/2.6.3-4mdk/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.3-4mdk/build/include/linux/irq.h:72,
from /usr/include/asm/hardirq.h:6,
from /lib/modules/2.6.3-4mdk/build/include/linux/interrupt.h:11,
from /lib/modules/2.6.3-4mdk/build/include/linux/netdevice.h:501,
from if_ath.c:47:
/usr/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
/usr/include/asm/hw_irq.h:61: error: parse error before "mask"
In file included from if_ath.c:47:
/lib/modules/2.6.3-4mdk/build/include/linux/netdevice.h: In function `netif_poll_disable':
/lib/modules/2.6.3-4mdk/build/include/linux/netdevice.h:857: error: dereferencing pointer to incomplete type
In file included from if_ath.c:58:
if_athvar.h:45:40: missing binary operator before token "("
In file included from ../wlan/if_ieee80211.h:84,
from if_athvar.h:53,
from if_ath.c:58:
../wlan/if_media.h: At top level:
../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:
 
Old 04-22-2004, 01:10 PM   #5
EduFer
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Original Poster
Rep: Reputation: 0
if_athvar.h:149: error: field `sc_fataltq' has incomplete type
if_athvar.h:154: error: field `sc_rxtq' has incomplete type
if_athvar.h:155: error: field `sc_rxorntq' has incomplete type
if_athvar.h:163: error: field `sc_txtq' has incomplete type
if_athvar.h:168: error: field `sc_swbatq' has incomplete type
if_athvar.h:169: error: field `sc_bmisstq' has incomplete type
if_athvar.h:192:41: missing binary operator before token "("
if_ath.c: In function `ath_attach':
if_ath.c:150: warning: implicit declaration of function `INIT_TQUEUE'
if_ath.c:256: error: `ieee80211_ifattach' undeclared (first use in this function)
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:312:41: missing binary operator before token "("
if_ath.c:330:41: missing binary operator before token "("
if_ath.c:340:41: missing binary operator before token "("
if_ath.c: In function `ath_intr':
if_ath.c:358: warning: implicit declaration of function `queue_task'
if_ath.c:358: error: `tq_immediate' undeclared (first use in this function)
if_ath.c:389: warning: implicit declaration of function `mark_bh'
if_ath.c:389: error: `IMMEDIATE_BH' undeclared (first use in this function)
if_ath.c:390:40: missing binary operator before token "("
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] Erro 1
make[1]: Leaving directory `/home/eduardo/madwifi-20030802/driver'
make: ** [all] Erro 2
[root@localhost madwifi-20030802]#

sorry
 
Old 04-22-2004, 01:31 PM   #6
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
No, at least this time it gave you instructions as to what is wrong. The makefile is set up incorrectly. Did you ./configure first? or do anything to setup the paths for it? Or just expect it to make and work...
 
Old 04-22-2004, 01:54 PM   #7
EduFer
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Original Poster
Rep: Reputation: 0
No, I didn't.. how can i do that?? ive been looking for info on the web and didnt find anything about it....

10x
 
Old 04-22-2004, 08:24 PM   #8
EduFer
LQ Newbie
 
Registered: Apr 2004
Posts: 6

Original Poster
Rep: Reputation: 0
hey there... its me again..

the thing is i thought i knew what was the KERNEL_PATH.. but maybe i dont..
a made the simbolic pointer named build... i think i tryed everything i read about... nothing works...

i changed the Makefile.inc, in the KERNEL_PATH i wrote /lib/modules/2.6.3-4mdk/build; and in the LINUX i wrote /usr/src/linux/include;in the MODULE_PATH= /lib/modules/2.6.3-4mdk/kernel/net....

do i need to change anything else????
 
  


Reply


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
MadWifi Problem zephyr.zhao Linux - Networking 7 10-23-2005 02:40 PM
MADWiFi make Please enable sysctl support geeksatlarge Linux - Wireless Networking 1 07-21-2005 02:57 PM
MadWiFi make errors PhilHalf Linux - Newbie 1 07-07-2005 04:24 AM
Madwifi - modprobe errors during 'make install' kk_davey Linux - Software 1 07-04-2005 12:10 AM
madwifi fails to 'make' Vincent_Vega Linux - Wireless Networking 1 12-31-2004 06:00 PM


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

Main Menu
Advertisement
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