Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
madwifi-driver compile error on 2.6.5-mm6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
hex4def6
n00b
n00b


Joined: 13 Mar 2004
Posts: 39
Location: Pleasanton, CA

PostPosted: Fri Apr 30, 2004 8:13 pm    Post subject: madwifi-driver compile error on 2.6.5-mm6 Reply with quote

hey,

was wondering if anyone can help - I'm trying to compile the madwifi drivers for my wifi card on a fresh install - something I've done before and which worked last time I attempted it - and its crapping out with the following; (Long cut n paste ahead :) )
What can I do to fix this problem? help!

Code:

Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/madwifi-driver-0.1_pre20040212 to /
>>> md5 src_uri ;-) madwifi-driver-0.1_pre20040212.tar.bz2
>>> Unpacking source...
>>> Unpacking madwifi-driver-0.1_pre20040212.tar.bz2 to /var/tmp/portage/madwifi-driver-0.1_pre20040212/work
 * 2.6.5-mm6
>>> Source unpacked.
find . -name '*.[oas]' \
   -or -name core \
   -or -name '*.ver' \
   -or -name '*.mod.c' \
   -or -name "*.ko" \
   -or -name .depend \
| xargs rm -f
rm -f ./ath_hal/opt_ah.h
for i in ./ath_hal ./wlan ./driver; do \
        (cd $i; make); \
done
make[1]: Entering directory `/var/tmp/portage/madwifi-driver-0.1_pre20040212/work/ath_hal'
cp ../hal/linux/i386-elf.opt_ah.h opt_ah.h
rm -f .depend
gcc -M -include ../include/compat.h -I../include -I../hal -I../hal/linux -I../ath_hal -I/lib/modules/2.6.5-mm6/build/include -I/lib/modules/2.6.5-mm6/build/arch/x86 -I/lib/modules/2.6.5-mm6/build/include/asm/mach-default -I.. -DKBUILD_BASENAME=ath_hal -DKBUILD_MODNAME=ath_hal -DMODVERSIONS -include /lib/modules/2.6.5-mm6/build/include/linux/modsetver.h -Wall -Wno-trigraphs -O2 -D__KERNEL__ -DMODULE -D__linux__ -fomit-frame-pointer -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -fomit-frame-pointer ../hal/linux/ah_osdep.c > .depend
<command line>:12:1: /lib/modules/2.6.5-mm6/build/include/linux/modsetver.h: No such file or directory
make[1]: *** [.depend] Error 1
make[1]: Leaving directory `/var/tmp/portage/madwifi-driver-0.1_pre20040212/work/ath_hal'
make[1]: Entering directory `/var/tmp/portage/madwifi-driver-0.1_pre20040212/work/wlan'
rm -f if_ieee80211.ver
for i in if_ieee80211subr.c if_ieee80211wireless.c; do \
        gcc -include ../include/compat.h -I../include -I. -I/lib/modules/2.6.5-mm6/build/include -I/lib/modules/2.6.5-mm6/build/arch/x86 -I/lib/modules/2.6.5-mm6/build/include/asm/mach-default -I.. -Wall -Wno-trigraphs -O2 -D__KERNEL__ -DMODULE -D__linux__ -fomit-frame-pointer -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -fomit-frame-pointer -E -D__GENKSYMS__ $i | \
                /sbin/genksyms -k 2.6.5 >> if_ieee80211.ver; \
done
gcc -include ../include/compat.h -I../include -I. -I/lib/modules/2.6.5-mm6/build/include -I/lib/modules/2.6.5-mm6/build/arch/x86 -I/lib/modules/2.6.5-mm6/build/include/asm/mach-default -I.. -Wall -Wno-trigraphs -O2 -D__KERNEL__ -DMODULE -D__linux__ -fomit-frame-pointer -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -fomit-frame-pointer -E -D__GENKSYMS__ if_media.c | \
        /sbin/genksyms -k 2.6.5 > if_media.ver
rm -f .depend
gcc -M -include ../include/compat.h -I../include -I. -I/lib/modules/2.6.5-mm6/build/include -I/lib/modules/2.6.5-mm6/build/arch/x86 -I/lib/modules/2.6.5-mm6/build/include/asm/mach-default -I.. -DKBUILD_BASENAME=wlan -DKBUILD_MODNAME=wlan -DMODVERSIONS -include /lib/modules/2.6.5-mm6/build/include/linux/modsetver.h -include ../wlan/if_ieee80211.ver -include ../wlan/if_media.ver -Wall -Wno-trigraphs -O2 -D__KERNEL__ -DMODULE -D__linux__ -fomit-frame-pointer -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -fomit-frame-pointer if_ieee80211subr.c if_ieee80211wireless.c if_media.c rc4.c > .depend
<command line>:12:1: /lib/modules/2.6.5-mm6/build/include/linux/modsetver.h: No such file or directory
<command line>:12:1: /lib/modules/2.6.5-mm6/build/include/linux/modsetver.h: No such file or directory
<command line>:12:1: /lib/modules/2.6.5-mm6/build/include/linux/modsetver.h: No such file or directory
<command line>:12:1: /lib/modules/2.6.5-mm6/build/include/linux/modsetver.h: No such file or directory
make[1]: *** [.depend] Error 1
make[1]: Leaving directory `/var/tmp/portage/madwifi-driver-0.1_pre20040212/work/wlan'
make[1]: Entering directory `/var/tmp/portage/madwifi-driver-0.1_pre20040212/work/driver'
rm -f .depend
gcc -M -include ../include/compat.h -I../include -I. -I../hal -I../hal/linux -I../ath_hal -I../wlan -I/lib/modules/2.6.5-mm6/build/include -I/lib/modules/2.6.5-mm6/build/arch/x86 -I/lib/modules/2.6.5-mm6/build/include/asm/mach-default -I.. -DKBUILD_BASENAME=ath_pci -DKBUILD_MODNAME=ath_pci -DMODVERSIONS -include /lib/modules/2.6.5-mm6/build/include/linux/modsetver.h -include ../wlan/if_ieee80211.ver -include ../wlan/if_media.ver -Wall -Wno-trigraphs -O2 -D__KERNEL__ -DMODULE -D__linux__ -fomit-frame-pointer -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -fomit-frame-pointer if_ath.c if_ath_pci.c > .depend
<command line>:12:1: /lib/modules/2.6.5-mm6/build/include/linux/modsetver.h: No such file or directory
<command line>:12:1: /lib/modules/2.6.5-mm6/build/include/linux/modsetver.h: No such file or directory
make[1]: [.depend] Error 1 (ignored)
make[1]: Leaving directory `/var/tmp/portage/madwifi-driver-0.1_pre20040212/work/driver'
make[1]: Entering directory `/var/tmp/portage/madwifi-driver-0.1_pre20040212/work/driver'
gcc -include ../include/compat.h -I../include -I. -I../hal -I../hal/linux -I../ath_hal -I../wlan -I/lib/modules/2.6.5-mm6/build/include -I/lib/modules/2.6.5-mm6/build/arch/x86 -I/lib/modules/2.6.5-mm6/build/include/asm/mach-default -I.. -DKBUILD_BASENAME=ath_pci -DKBUILD_MODNAME=ath_pci -DMODVERSIONS -include /lib/modules/2.6.5-mm6/build/include/linux/modsetver.h -include ../wlan/if_ieee80211.ver -include ../wlan/if_media.ver -Wall -Wno-trigraphs -O2 -D__KERNEL__ -DMODULE -D__linux__ -fomit-frame-pointer -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -fomit-frame-pointer   -c -o if_ath.o if_ath.c
<command line>:12:1: /lib/modules/2.6.5-mm6/build/include/linux/modsetver.h: No such file or directory
In file included from /lib/modules/2.6.5-mm6/build/include/asm/processor.h:18,
                 from /lib/modules/2.6.5-mm6/build/include/asm/thread_info.h:16,
                 from /lib/modules/2.6.5-mm6/build/include/linux/thread_info.h:21,
                 from /lib/modules/2.6.5-mm6/build/include/linux/spinlock.h:12,
                 from /lib/modules/2.6.5-mm6/build/include/linux/capability.h:45,
                 from /lib/modules/2.6.5-mm6/build/include/linux/sched.h:7,
                 from /lib/modules/2.6.5-mm6/build/include/linux/module.h:10,
                 from if_ath.c:47:
/lib/modules/2.6.5-mm6/build/include/asm/system.h: In function `__set_64bit_var':
/lib/modules/2.6.5-mm6/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/lib/modules/2.6.5-mm6/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from ../wlan/if_ieee80211.h:84,
                 from if_athvar.h:45,
                 from if_ath.c:62:
../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:45,
                 from if_ath.c:62:
../wlan/if_ieee80211.h:794: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:794: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:795: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:795: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:796: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:796: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:798: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:798: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:801: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:801: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:802: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:802: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:803: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:803: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:804: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:804: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:806: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:806: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:807: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:807: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:808: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:808: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:810: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:810: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:812: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:812: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:813: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:813: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:816: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:816: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:822: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:822: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:826: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:826: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:829: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:829: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:830: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:830: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:831: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:831: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:832: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:832: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:833: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:833: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:834: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:834: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:836: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:836: warning: parameter names (without types) in function declaration
../wlan/if_ieee80211.h:838: error: `_set_ver' declared as function returning a function
../wlan/if_ieee80211.h:838: warning: parameter names (without types) in function declaration
if_ath.c: In function `ath_attach':
if_ath.c:303: error: `ieee80211_ifattach' undeclared (first use in this function)
if_ath.c:303: error: (Each undeclared identifier is reported only once
if_ath.c:303: error: for each function it appears in.)
if_ath.c:303: error: called object is not a function
if_ath.c:321: error: `ieee80211_media_init' undeclared (first use in this function)
if_ath.c:321: error: `ieee80211_media_status' undeclared (first use in this function)
if_ath.c:321: error: called object is not a function
if_ath.c:327: error: `ether_sprintf' undeclared (first use in this function)
if_ath.c:327: error: called object is not a function
if_ath.c: In function `ath_detach':
if_ath.c:348: error: `ieee80211_ifdetach' undeclared (first use in this function)
if_ath.c:348: error: called object is not a function
if_ath.c: In function `ath_bmiss_tasklet':
if_ath.c:493: error: `ieee80211_new_state' undeclared (first use in this function)
if_ath.c:493: error: called object is not a function
if_ath.c: In function `ath_chan2flags':
if_ath.c:507: error: `ieee80211_chan2mode' undeclared (first use in this function)
if_ath.c:507: error: called object is not a function
if_ath.c: In function `ath_init':
if_ath.c:596: error: `ieee80211_chan2mode' undeclared (first use in this function)
if_ath.c:596: error: called object is not a function
if_ath.c:600: error: `ieee80211_new_state' undeclared (first use in this function)
if_ath.c:600: error: called object is not a function
if_ath.c:602: error: called object is not a function
if_ath.c: In function `ath_stop':
if_ath.c:642: error: `ieee80211_new_state' undeclared (first use in this function)
if_ath.c:642: error: called object is not a function
if_ath.c: In function `ath_hardstart':
if_ath.c:787: error: `ieee80211_encap' undeclared (first use in this function)
if_ath.c:787: error: called object is not a function
if_ath.c:799: error: `ieee80211_find_node' undeclared (first use in this function)
if_ath.c:799: error: called object is not a function
if_ath.c:811: error: `ieee80211_dump_pkt' undeclared (first use in this function)
if_ath.c:812: error: called object is not a function
if_ath.c: In function `ath_mgtstart':
if_ath.c:891: error: `ieee80211_find_node' undeclared (first use in this function)
if_ath.c:891: error: called object is not a function
if_ath.c:898: error: `ieee80211_dump_pkt' undeclared (first use in this function)
if_ath.c:899: error: called object is not a function
if_ath.c: In function `ath_media_change':
if_ath.c:928: error: `ieee80211_media_change' undeclared (first use in this function)
if_ath.c:928: error: called object is not a function
if_ath.c: In function `ath_beacon_alloc':
if_ath.c:1139: error: `ieee80211_add_rates' undeclared (first use in this function)
if_ath.c:1139: error: called object is not a function
if_ath.c:1142: error: `ieee80211_chan2ieee' undeclared (first use in this function)
if_ath.c:1142: error: called object is not a function
if_ath.c:1156: error: `ieee80211_add_xrates' undeclared (first use in this function)
if_ath.c:1156: error: called object is not a function
if_ath.c: In function `ath_rx_capture':
if_ath.c:1689: error: `ieee80211_mhz2ieee' undeclared (first use in this function)
if_ath.c:1689: error: called object is not a function
if_ath.c: In function `ath_rx_tasklet':
if_ath.c:1867: error: `ieee80211_dump_pkt' undeclared (first use in this function)
if_ath.c:1870: error: called object is not a function
if_ath.c:1888: error: `ieee80211_input' undeclared (first use in this function)
if_ath.c:1891: error: called object is not a function
if_ath.c: In function `ath_chan_set':
if_ath.c:2437: error: `ieee80211_chan2ieee' undeclared (first use in this function)
if_ath.c:2437: error: called object is not a function
if_ath.c:2437: error: called object is not a function
if_ath.c:2465: error: called object is not a function
if_ath.c:2483: error: `ieee80211_chan2mode' undeclared (first use in this function)
if_ath.c:2483: error: called object is not a function
if_ath.c: In function `ath_next_scan':
if_ath.c:2503: error: `ieee80211_next_scan' undeclared (first use in this function)
if_ath.c:2503: error: called object is not a function
if_ath.c: In function `ath_newstate':
if_ath.c:2600: error: `ether_sprintf' undeclared (first use in this function)
if_ath.c:2600: error: called object is not a function
if_ath.c:2618: error: called object is not a function
if_ath.c:2618: error: `ieee80211_chan2ieee' undeclared (first use in this function)
if_ath.c:2618: error: called object is not a function
if_ath.c: In function `ath_rate_update':
if_ath.c:2797: error: `ether_sprintf' undeclared (first use in this function)
if_ath.c:2797: error: called object is not a function
if_ath.c: In function `ath_ratectl':
if_ath.c:3036: error: `ieee80211_iterate_nodes' undeclared (first use in this function)
if_ath.c:3036: error: called object is not a function
if_ath.c: In function `ath_ioctl':
if_ath.c:3141: error: `ieee80211_get_rssi' undeclared (first use in this function)
if_ath.c:3141: error: called object is not a function
make[1]: *** [if_ath.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/madwifi-driver-0.1_pre20040212/work/driver'
make: *** [all] Error 2

!!! ERROR: net-wireless/madwifi-driver-0.1_pre20040212 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! (no error message)
Back to top
View user's profile Send private message
wmgoree
Apprentice
Apprentice


Joined: 08 Aug 2003
Posts: 246
Location: Alexandria, VA

PostPosted: Sat May 01, 2004 5:25 am    Post subject: yenta vs. pcmcia bus in kernel config? Reply with quote

How did you config your kernel? Madwifi sometimes doesn't build if you have any pcmcia options other than yenta enabled (ie, don't select your specific bus, just select yenta and leave the rest unchecked, rebuild kernel and try to compile madwifi again)
_________________
vi? *snicker* it doesn't even include a mail reader...
Back to top
View user's profile Send private message
hex4def6
n00b
n00b


Joined: 13 Mar 2004
Posts: 39
Location: Pleasanton, CA

PostPosted: Sat May 01, 2004 11:15 pm    Post subject: Reply with quote

I only have yenta enabled in my kernel config.
I also tried compiling linux-2.6.6-rc3-mm1, and it complains with the same error as well.

Just for fun :) here's the relevent section in my kernel .config :



Code:

#
# PCMCIA/CardBus support
#
CONFIG_PCMCIA=y
# CONFIG_PCMCIA_DEBUG is not set
CONFIG_YENTA=y
CONFIG_CARDBUS=y
# CONFIG_I82092 is not set
# CONFIG_TCIC is not set
Back to top
View user's profile Send private message
wmgoree
Apprentice
Apprentice


Joined: 08 Aug 2003
Posts: 246
Location: Alexandria, VA

PostPosted: Mon May 03, 2004 3:21 am    Post subject: Grab the cvs Reply with quote

I remember this problem now. I know it's un-gentoo-like, but try grabbing the cvs off sourceforge; I think the package file on the mirrors isn't quite up-to-date (could be wrong though). Then build (you have to specify wireless extension and kernel versions when you build). Then if you like, emerge --inject the madwifi build to satisfy dependencies on down the road.
_________________
vi? *snicker* it doesn't even include a mail reader...
Back to top
View user's profile Send private message
Skraut
Tux's lil' helper
Tux's lil' helper


Joined: 23 Feb 2003
Posts: 142
Location: Norwalk, OH, USA, Earth, Solar System, Milky Way, Virgo Supercluster, Known Universe

PostPosted: Tue Aug 17, 2004 2:11 pm    Post subject: Reply with quote

I'm getting the same thing, and have even tried the cvs sources with the same problem

Code:
for i in ./ath_hal ./net80211 ./ath; do \
        (cd $i; make) || exit 1; \
done
make[1]: Entering directory `/usr/src/madwifi/madwifi/ath_hal'
make -C /lib/modules/2.6.8-rc4-mm1/build SUBDIRS=/usr/src/madwifi/madwifi/ath_hal modules
make[2]: Entering directory `/usr/src/linux-2.6.8-rc4-mm1'
  Building modules, stage 2.
  MODPOST
make[2]: Leaving directory `/usr/src/linux-2.6.8-rc4-mm1'
make[1]: Leaving directory `/usr/src/madwifi/madwifi/ath_hal'
make[1]: Entering directory `/usr/src/madwifi/madwifi/net80211'
make -C /lib/modules/2.6.8-rc4-mm1/build SUBDIRS=/usr/src/madwifi/madwifi/net80211 modules
make[2]: Entering directory `/usr/src/linux-2.6.8-rc4-mm1'
  CC [M]  /usr/src/madwifi/madwifi/net80211/ieee80211_wireless.o
/usr/src/madwifi/madwifi/net80211/ieee80211_wireless.c: In function `ieee80211_ioctl_iwsetup':
/usr/src/madwifi/madwifi/net80211/ieee80211_wireless.c:2092: error: assignment of read-only member `num_private_args'
make[3]: *** [/usr/src/madwifi/madwifi/net80211/ieee80211_wireless.o] Error 1
make[2]: *** [_module_/usr/src/madwifi/madwifi/net80211] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.8-rc4-mm1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/madwifi/madwifi/net80211'
make: *** [all] Error 1
root@plato /usr/src/madwifi/madwifi # make install
for i in ./ath_hal ./net80211 ./ath; do \
        (cd $i; make install); \
done
make[1]: Entering directory `/usr/src/madwifi/madwifi/ath_hal'
make -C /lib/modules/2.6.8-rc4-mm1/build SUBDIRS=/usr/src/madwifi/madwifi/ath_hal modules
make[2]: Entering directory `/usr/src/linux-2.6.8-rc4-mm1'
  Building modules, stage 2.
  MODPOST
make[2]: Leaving directory `/usr/src/linux-2.6.8-rc4-mm1'
test -d //lib/modules/2.6.8-rc4-mm1/net || mkdir -p //lib/modules/2.6.8-rc4-mm1/net
strip -S ath_hal.ko
cp ath_hal.ko //lib/modules/2.6.8-rc4-mm1/net
make[1]: Leaving directory `/usr/src/madwifi/madwifi/ath_hal'
make[1]: Entering directory `/usr/src/madwifi/madwifi/net80211'
make -C /lib/modules/2.6.8-rc4-mm1/build SUBDIRS=/usr/src/madwifi/madwifi/net80211 modules
make[2]: Entering directory `/usr/src/linux-2.6.8-rc4-mm1'
  CC [M]  /usr/src/madwifi/madwifi/net80211/ieee80211_wireless.o
/usr/src/madwifi/madwifi/net80211/ieee80211_wireless.c: In function `ieee80211_ioctl_iwsetup':
/usr/src/madwifi/madwifi/net80211/ieee80211_wireless.c:2092: error: assignment of read-only member `num_private_args'
make[3]: *** [/usr/src/madwifi/madwifi/net80211/ieee80211_wireless.o] Error 1
make[2]: *** [_module_/usr/src/madwifi/madwifi/net80211] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.8-rc4-mm1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/madwifi/madwifi/net80211'
make[1]: Entering directory `/usr/src/madwifi/madwifi/ath'
make -C /lib/modules/2.6.8-rc4-mm1/build SUBDIRS=/usr/src/madwifi/madwifi/ath modules
make[2]: Entering directory `/usr/src/linux-2.6.8-rc4-mm1'
  CC [M]  /usr/src/madwifi/madwifi/ath/if_ath.o
In file included from /usr/src/madwifi/madwifi/hal/ah.h:49,
                 from /usr/src/madwifi/madwifi/ath/if_athvar.h:45,
                 from /usr/src/madwifi/madwifi/ath/if_ath.c:68:
/usr/src/madwifi/madwifi/hal/linux/ah_osdep.h:102:1: warning: "abs" redefined
In file included from include/asm/system.h:5,
                 from include/asm/processor.h:18,
                 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 /usr/src/madwifi/madwifi/ath/if_ath.c:47:
include/linux/kernel.h:57:1: warning: this is the location of the previous definition
/usr/src/madwifi/madwifi/ath/if_ath.c: In function `ath_sysctl_halparam':
/usr/src/madwifi/madwifi/ath/if_ath.c:4638: error: too few arguments to function `proc_dointvec'
/usr/src/madwifi/madwifi/ath/if_ath.c:4690: error: too few arguments to function `proc_dointvec'
/usr/src/madwifi/madwifi/ath/if_ath.c: At top level:
/usr/src/madwifi/madwifi/ath/if_ath.c:4709: warning: initialization from incompatible pointer type
/usr/src/madwifi/madwifi/ath/if_ath.c:4714: warning: initialization from incompatible pointer type
/usr/src/madwifi/madwifi/ath/if_ath.c:4719: warning: initialization from incompatible pointer type
/usr/src/madwifi/madwifi/ath/if_ath.c:4724: warning: initialization from incompatible pointer type
/usr/src/madwifi/madwifi/ath/if_ath.c:4729: warning: initialization from incompatible pointer type
make[3]: *** [/usr/src/madwifi/madwifi/ath/if_ath.o] Error 1
make[2]: *** [_module_/usr/src/madwifi/madwifi/ath] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.8-rc4-mm1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/madwifi/madwifi/ath'
make: *** [install] Error 2
Back to top
View user's profile Send private message
hubcap
n00b
n00b


Joined: 19 Aug 2004
Posts: 8

PostPosted: Thu Aug 19, 2004 7:55 am    Post subject: Reply with quote

Any update on this? I'm having the same problem.
Back to top
View user's profile Send private message
Jochi
n00b
n00b


Joined: 05 Jan 2004
Posts: 14
Location: Hagen, Germany

PostPosted: Thu Aug 19, 2004 8:50 pm    Post subject: Reply with quote

Code:
<command line>:12:1: /lib/modules/2.6.5-mm6/build/include/linux/modsetver.h: No such file or directory


I had the same problem. I took the file modserver.h from an older kernel and madwifi compiled ok for me.

The CVS Version of Madwifi does not need the modsetver.h file. but since Kernel 2.6.8 the Madwifi Modules get loaded but they dont work anymore.


cu

Jochi
Back to top
View user's profile Send private message
Sqeaky
Tux's lil' helper
Tux's lil' helper


Joined: 31 Dec 2003
Posts: 149

PostPosted: Fri Aug 20, 2004 1:46 am    Post subject: Reply with quote

does a workraound or bugfix of anykind work, will using the 2.6.5 kernel make it work
Back to top
View user's profile Send private message
danb
n00b
n00b


Joined: 27 Apr 2003
Posts: 9
Location: Austin, TX

PostPosted: Sun Aug 22, 2004 6:47 am    Post subject: Reply with quote

I think a change in 2.6.8 broke it, so earlier kernels should work. 2.6.7-gentoo-r14 is working for me where 2.6.8 wouldn't. 2.6.5 might, too.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum