You are not logged in.

#1 2006-10-28 11:26:29

ai
Member
Registered: 2006-09-13
Posts: 8

madwifi and mm-sources

hi
could somebody please tell me what i have to install to get madwifi under kernel26mm ?
I tried to find any useful info but it seems i can't find anything up to date...
pacman -S madwifi installs for the kernel26
There is a version for ck-sources, but where the hell is the mm version ?? Sad

Offline

#2 2006-10-28 14:56:10

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: madwifi and mm-sources

Get the PKGBUILD and install script for the stock madwifi package from ABS or CVS. In the PKGBUILD, change pkgname to madwifi-mm, pkgrel to 1, and _kernver to 2.6.19-rc2-mm2. Run makepkg, and install the package it creates, which will be called madwifi-mm-0.9.2-1.pkg.tar.gz.

If you haven't built an Arch package before, read the ABS pages in the wiki first.

Offline

#3 2006-10-28 15:32:01

ai
Member
Registered: 2006-09-13
Posts: 8

Re: madwifi and mm-sources

thanks man, but i run into a error :

Checking kernel configuration... ok.
make -C /lib/modules/2.6.19-rc2-mm2/build SUBDIRS=/var/abs/local/madwifi-mm/src/madwifi-0.9.2 modules
make[1]: Entering directory `/usr/src/linux-2.6.19-rc2-mm2'
  CC [M]  /var/abs/local/madwifi-mm/src/madwifi-0.9.2/ath/ah_osdep.o
In file included from /var/abs/local/madwifi-mm/src/madwifi-0.9.2/ath/ah_osdep.c:2:
/var/abs/local/madwifi-mm/src/madwifi-0.9.2/ath/../hal/linux/ah_osdep.c:44:26: error: linux/config.h: No such file or directory
make[3]: *** [/var/abs/local/madwifi-mm/src/madwifi-0.9.2/ath/ah_osdep.o] Error 1
make[2]: *** [/var/abs/local/madwifi-mm/src/madwifi-0.9.2/ath] Error 2
make[1]: *** [_module_/var/abs/local/madwifi-mm/src/madwifi-0.9.2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19-rc2-mm2'
make: *** [modules] Error 2

seems like a file is missing, i have no idea were to look for it though neutral


argh after i have dealed with the above there is something i don't know how to handle :

cc1: warnings being treated as errors

dammit i get some warnings about deprecated stuff, but nothing important...
somebody tell me how to shut this off please!


EDIT : here is the sollution for this stupid thing : madwifi-ng has COPTS+= -Werror in Makefile.inc thus as it was already told you compiler does not like warnings with that option.

Just comment it out and it will compile fine.

wink

Offline

#4 2006-10-30 11:52:53

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: madwifi and mm-sources

It's easy to fix. If you are interested, I can add a madwifi-mm package. But only if you are actually going to use it.

EDIT: ah, you already fixed it. The linux/config.h thing is quite common with newer -rc and -mm kernels, just remove #include <linux/config.h> from all source files.

Offline

#5 2006-10-31 14:32:38

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 266

Re: madwifi and mm-sources

i alway used current. tarball, then make;make install
everything doing ok.

Offline

Board footer

Powered by FluxBB