[Voyage-linux] Re: Recompiling madwifi for the WRAP

David Murray (spam-protected)
Mon Nov 26 14:14:20 HKT 2007


Hi,

I am still having problems building madwifi for the WRAP. I am little 
confused about what .config file to use with the kernel source. Some 
people say that you should use the one from your currently running 
WRAP. The guides on the voyage site seem to suggest using the .config 
files from http://www.voyage.hk/download/kernel_config/. I have done 
both and I get two different errors :)


Using the .config file that was on the WRAP 
-------------------------------------------

it looks like a perl file, see http://pastebin.com/m5056c) I get this error:

voyage:~/madwifi-fix/madwifi-0.9.3.3# make 
KERNELPATH=/mnt/nfs/linux-source-2.6.17-voyage/
/mnt/nfs/linux-source-2.6.17-voyage//.config:18: *** target pattern 
contains no `%'.  Stop.

I found this post 
http://www.nabble.com/Target-pattern-contains-no---in-make-3.80--t223279.html. 
This seems to suggest that the error may be caused by repeated ":" 
characters in the .config file. This sees to fit becuase line 18 of the 
.config file is: "use Debconf::Client::ConfModule qw(:all);". So it has 
lots of ":" characters. The problem is that this seems like an 
important line. Does it have to be modified?


using this .config file from the voyage site
--------------------------------------------

http://www.voyage.hk/download/kernel_config/config-2.6.17-486-voyage_3.0-3 I 
get this error.:

voyage:~/madwifi-fix/madwifi-0.9.3.3# make 
KERNELPATH=/mnt/nfs/linux-source-2.6.17-voyage/
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /mnt/nfs/linux-source-2.6.17-voyage/ 
SUBDIRS=/rw/root/madwifi-fix/madwifi-0.9.3.3 modules
make[1]: Entering directory `/mnt/nfs/linux-source-2.6.17-voyage'

  WARNING: Symbol version dump 
/mnt/nfs/linux-source-2.6.17-voyage/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /rw/root/madwifi-fix/madwifi-0.9.3.3/ath/if_ath.o
In file included from include/linux/posix_types.h:47,
                 from include/linux/types.h:14,
                 from 
/rw/root/madwifi-fix/madwifi-0.9.3.3/ath/../include/compat.h:43,
                 from <command line>:1:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/asm/posix_types.h:13:22: 
error: features.h: No such file or directory
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/asm/posix_types.h:14:35: 
error: no include path in which to search for asm/posix_types.h
In file included from 
/rw/root/madwifi-fix/madwifi-0.9.3.3/ath/../include/compat.h:43,
                 from <command line>:1:
include/linux/types.h:15:23: error: asm/types.h: No such file or directory
In file included from 
/rw/root/madwifi-fix/madwifi-0.9.3.3/ath/../include/compat.h:43,
                 from <command line>:1:
include/linux/types.h:19: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '__kernel_dev_t'

I have no idea as to what this error message is referring to. Does 
anyone know where I can go from here?

Thanks for your time

Dave




More information about the Voyage-linux mailing list