Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: madwifi compile not going so well< Next Oldest | Next Newest >
frig Offline





Group: Members
Posts: 12
Joined: Oct. 2006
Posted: May 08 2007,07:55 QUOTE

i am attempting to compile madwifi, when i cd to the directory holding the madwifi data, and "make", i get the following errors:

Make: execvp: ./scripts/get_arch_target.sh: Permission denied
Makefile.inc:124 *** Cannot determine kernel architecture, please check /lib/modules/2.4.26/build/.config. Stop.

(i used to get " /bin/sh: line 1: cc: command not found " in addition to those errors, but i fixed that problem with the help of a topic on the forum)

any ideas?
i have these dsl extensions:
-gcc1-with-libs.dsl
-gcc1.dsl
-gtk2-0705.dsl
-linux-kernel-headers.dsl
-kernelsources.dsl
(i did a few forum searches and downloaded whatever was suggested for a compile)

i have been racking my brain on this for quite a while now, any help is appreciated. :)
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: May 08 2007,08:03 QUOTE

It looks like you need to load the default DSL/Knoppix kernel configuration file, .config.

Probably the easiest way to do this is:
Code Sample
# cd /usr/src/linux-2.4.26
# make menuconfig

Then you need to choose the menu item to load an alternate configuration file, enter the path to the .config file, and then save the configuration and exit.
Back to top
Profile PM 
frig Offline





Group: Members
Posts: 12
Joined: Oct. 2006
Posted: May 08 2007,08:13 QUOTE

after " make menuconfig " i get " make: *** no rule to make target 'menuconfig'. Stop. "
:/
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: May 08 2007,09:18 QUOTE

Hmm...this sounds as though you might need the full kernel sources - before that, you could try to copy .config to /lib/modules/2.4.26/build/ and see if that does the trick.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: May 08 2007,14:37 QUOTE

Quote
Cannot determine kernel architecture, please check /lib/modules/2.4.26/build/.config
Did you check if that file exists? With permission denied, do you have use root privileges?
Back to top
Profile PM 
6 replies since May 08 2007,07:55 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: madwifi compile not going so well

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code