| Robert Brown 2004-09-15, 11:11 am |
| Hello all,
I know this subject has been covered ad nauseum, however, after
reading all the newsgroup postings I can find and all of the
documentation I can find - I still can't figure it out. I'm trying to
setup a Netgear WG311 wifi card and having no luck. Can someone
interpret the errors I am getting. This is what I get when I try to
do a 'make':
for i in ./ath_hal ./net80211 ./ath; do \
(cd $i; make) || exit 1; \
done
make[1]: Entering directory `/usr/madwifi/ath_hal'
make -C /lib/modules/2.6.5-1.358/build SUBDIRS=/usr/madwifi/ath_hal
modules
make[2]: Entering directory `/lib/modules/2.6.5-1.358/build'
Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/lib/modules/2.6.5-1.358/build'
make[1]: Leaving directory `/usr/madwifi/ath_hal'
make[1]: Entering directory `/usr/madwifi/net80211'
make -C /lib/modules/2.6.5-1.358/build SUBDIRS=/usr/madwifi/net80211
modules
make[2]: Entering directory `/lib/modules/2.6.5-1.358/build'
CC [M] /usr/madwifi/net80211/ieee80211_radius.o
/usr/madwifi/net80211/ieee80211_radius.c: In function
`ieee80211_radius_attach':
/usr/madwifi/net80211/ieee80211_radius.c:1594: error: too few
arguments to function `sock_create'
make[3]: *** [/usr/madwifi/net80211/ieee80211_radius.o] Error 1
make[2]: *** [/usr/madwifi/net80211] Error 2
make[2]: Leaving directory `/lib/modules/2.6.5-1.358/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/madwifi/net80211'
make: *** [all] Error 1
I'm using FC2. I'm also still a bit of a newbie, but here are the
directions I tried to follow:
1) Install sharutils on your FC2 (you can look if you have installed
it with the command rpm -qa |grep shar). You can find a Version of
sharutils on the FC2CD3
2) Install the kernel-source rpm for your particular kernel
3) Do a cvs checkout of madwifi
Code:
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co
madwifi
4) cd /usr/src/linux-2.6.5-1.358 (adjust for your particular kernel)
5)make oldconfig
make all
6) ln -s /usr/src/linux-2.6.5-1.358/vmlinux
/lib/modules/2.6.5-1.358/build/vmlinux
7)cd into the directory that you did the cvs checkout of madwifi
8)make
Any help or point in the right direction would be greatly appreciated.
Thanks,
Robert
|