Guest netburn Posted February 13, 2005 Report Share Posted February 13, 2005 (edited) I am trying to do a "make all" for my "linux-wlan-ng-0.2.1-pre26" [for Linksys wireless USB network adapter] to build the modules and programs, but it gives me this: --------------------------------------------------------------------------------------------------------------------- set -e; for d in src doc man etc; do make -C $d ; done make[1]: Entering directory `/home/ryan/linux-wlan-ng-0.2.1-pre26/src' set -e; for d in mkmeta p80211 prism2 shared wlanctl wland nwepgen wlancfg; do make WLAN_SRC=/home/ryan/linux-wlan-ng-0.2.1-pre26/src/ -C $d ; done make[2]: Entering directory `/home/ryan/linux-wlan-ng-0.2.1-pre26/src/mkmeta' mkdir -p obj make[2]: Leaving directory `/home/ryan/linux-wlan-ng-0.2.1-pre26/src/mkmeta' make[2]: Entering directory `/home/ryan/linux-wlan-ng-0.2.1-pre26/src/p80211' if test ! -d /home/ryan/linux-wlan-ng-0.2.1-pre26/src//.tmp_versions; then \ if test -d /usr/src/linux/.tmp_versions; then \ cp -rf /usr/src/linux/.tmp_versions /home/ryan/linux-wlan-ng-0.2.1-pre26/src/p80211/../ ; \ fi ; \ fi if test ! -e /home/ryan/linux-wlan-ng-0.2.1-pre26/src/p80211/Module.symvers ; then \ cp /usr/src/linux/Module.symvers /home/ryan/linux-wlan-ng-0.2.1-pre26/src/p80211/../ ; \ fi cp: cannot stat `/usr/src/linux/Module.symvers': No such file or directory make[2]: *** [default] Error 1 make[2]: Leaving directory `/home/ryan/linux-wlan-ng-0.2.1-pre26/src/p80211' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/ryan/linux-wlan-ng-0.2.1-pre26/src' make: *** [all] Error 2 ------------------------------------------------------------------------------------------------------------------------------------ So it is saying that "Modules.symvers" is missing from /usr/src/linux. I tried looking for that file in /lib/modules/2.6.8.1-12mdk/build but it isn't there either. I think I might have accidentally deleted it when I did "make mrproper" in /usr/src/linux. Anyone know how I can create that file, or what I should do? Thanks, netburn OS: Mandrake 10.1 Community Kernel: 2.6.8.1-12mdk Edited March 11, 2005 by netburn Link to comment Share on other sites More sharing options...
Guest netburn Posted February 14, 2005 Report Share Posted February 14, 2005 Can anyone help me? Googling this problem hasn't come up with anything promising. Link to comment Share on other sites More sharing options...
Guest took Posted March 10, 2005 Report Share Posted March 10, 2005 Hi So it is saying that "Modules.symvers" is missing from /usr/src/linux. I tried looking for that file in /lib/modules/2.6.8.1-12mdk/build but it isn't there either. I've got exactly the same problem. I tried to "make all" on linux-wlan-ng-0.2.1-pre26 to get my D-Link DWL-122 working under Mandrake 10.1 (3CDs). I cant find Modules.symvers anywhere... CU took Link to comment Share on other sites More sharing options...
devries Posted March 10, 2005 Report Share Posted March 10, 2005 /lib/modules/2.6.8.1-12mdk/build Install the kernel-source. (urpmi kernel-source, read the faqs for urpmi). If it is installed already make sure the kernel (uname -r) and kernel-source (/usr/src/) are exactly the same. (the /lib/modules/2.6.8.1-12mdk/build directory is a link to /usr/src/linux.) Good luck. Link to comment Share on other sites More sharing options...
Guest took Posted March 11, 2005 Report Share Posted March 11, 2005 (edited) Moin Of course I already installed the kernel-sources. :) And as far as I can say, the Versions seem to fit... my /lib/modules/2.6.8.1-12mdk/build is a link to /usr/src/linux-2.6.8.1-12mdk/, just like /usr/src/linux, wich is also a link to /usr/src/linux-2.6.8.1-12mdk/ $ uname -r 2.6.8.1-12mdk $ ls -lha /lib/modules/2.6.8.1-12mdk/ insgesamt 964K drwxr-xr-x 4 root root 4,0K Mär 5 18:27 ./ drwxr-xr-x 4 root root 4,0K Jan 21 16:11 ../ lrwxrwxrwx 1 root root 28 Mär 5 17:59 build -> /usr/src/linux-2.6.8.1-12mdk/ drwxr-xr-x 11 root root 4,0K Jan 21 16:11 kernel/ drwxr-xr-x 2 root root 4,0K Mär 10 18:25 linux-wlan-ng/ -rw-r--r-- 1 root root 151K Okt 1 12:58 modules.alias -rw-r--r-- 1 root root 69 Okt 1 12:58 modules.ccwmap -rw-r--r-- 1 root root 259K Okt 1 12:58 modules.dep -rw-r--r-- 1 root root 50K Okt 1 12:58 modules.description -rw-r--r-- 1 root root 591 Okt 1 12:58 modules.ieee1394map -rw-r--r-- 1 root root 700 Okt 1 12:58 modules.inputmap -rw-r--r-- 1 root root 17K Okt 1 12:58 modules.isapnpmap -rw-r--r-- 1 root root 138K Okt 1 12:58 modules.pcimap -rw-r--r-- 1 root root 105K Okt 1 12:58 modules.symbols -rw-r--r-- 1 root root 178K Okt 1 12:58 modules.usbmap lrwxrwxrwx 1 root root 28 Mär 5 17:59 source -> /usr/src/linux-2.6.8.1-12mdk/ Edited March 11, 2005 by took Link to comment Share on other sites More sharing options...
devries Posted March 11, 2005 Report Share Posted March 11, 2005 Google suggest it is a bug. Are you running a custom kernel and did you give the command 'make mrproper' in the /usr/src/linux directory? Solution: remove the kernel-source and install it again. And don't run 'make mrproper' (if you did so) Link to comment Share on other sites More sharing options...
Guest netburn Posted March 11, 2005 Report Share Posted March 11, 2005 Hey guys, thanks for the replies, I finally found how to make Module.symvers! Here is what I did: -Uninstalled the kernel-source package -Installed the kernel-source package again (looked for Module.symvers, still missing!) -Went hunting on the web again, found this: http://www.linuxquestions.org/questions/sh...2399#post962399 -Followed steps 4 -> 6: 4 - [in /usr/src/linux] compile the kernel (make/make modules_install/make bzImage/make install) and take a break (make can last a couple hours, especially if you're using you computer while it's compiling) 5 - reboot and choose the new kernel in GRUB (should be linux<version>custom) 6 - and now you're ready for the install of the driver. -Did a "locate -u" -The "locate Module.symvers" command gives me this: [ryan@localhost ryan]$ locate Module.symvers /home/ryan/linux-wlan-ng-0.2.1-pre26/src/Module.symvers /usr/src/linux-2.6.8.1-12mdk/Module.symvers AHA!! -Did a "make all" and "make install" in my /linux-wlan-ng-0.2.1-pre26 dir -Success!! So I'm guessing that the "Module.symvers" file must have been created when I did the "make" or "make modules_install" command. I don't think you have to go as far as "make bzImage" and "make install", but I did anyway. [Forgot to check for file while going through steps] Now I am onto my next problem, which will have me delve deep into google and the wlan-ng site again.... *sigh* [Command fails when I do "wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable", arg!] netburn Link to comment Share on other sites More sharing options...
Guest took Posted March 11, 2005 Report Share Posted March 11, 2005 Google suggest it is a bug. Are you running a custom kernel and did you give the command 'make mrproper' in the /usr/src/linux directory? Solution: remove the kernel-source and install it again. And don't run 'make mrproper' (if you did so) <{POST_SNAPBACK}> I never used 'make mrproper' bevore. I didnt compiled my kernel my self. My Kernel-Sources and everything else installed on the PC are from the CD 'out of the box'... ...anyway: I tried removing an reinstalling the sources. no change. Still "Modules.symvers" missing... Link to comment Share on other sites More sharing options...
Guest took Posted March 11, 2005 Report Share Posted March 11, 2005 I finally found how to make Module.symvers! /home/ryan/linux-wlan-ng-0.2.1-pre26/src/Module.symvers So I'm guessing that the "Module.symvers" file must have been created when I did the "make" or "make modules_install" command. I don't think you have to go as far as "make bzImage" and "make install", but I did anyway. [Forgot to check for file while going through steps] Can you eMail me your Module.symvers? We seem to use the same System... so maybe I dont have to compile for hours?! Link to comment Share on other sites More sharing options...
Guest took Posted March 12, 2005 Report Share Posted March 12, 2005 (edited) Thanks to netburn, who sends me his Modules.symvers, 'make all' is working fine now. after some 'make clean', 'make config', 'make all'(had to do it three times befor it works...?!), now also my 'make install' exits without errors! :) now lets see how to continue... cu soon ;) Edited March 12, 2005 by took Link to comment Share on other sites More sharing options...
Guest took Posted March 12, 2005 Report Share Posted March 12, 2005 Moin according to http://64.233.183.104/search?q=cache:jyvNg...&hl=de&ie=UTF-8 I finished my setup. /etc/init.d/wlan restart works ifconfig now shows the wlan-adapter # iwconfig lo no wireless extensions. eth0 no wireless extensions. sit0 no wireless extensions. wlan0 IEEE 802.11-DS ESSID:"" Mode:Auto Frequency:2.422GHz Access Point: 00:00:00:00:00:00 Bit Rate:2Mb/s Tx-Power:-1005004800 dBm Retry min limit:8 RTS thr:off Fragment thr:off Encryption key:off Link Quality:0/92 Signal level:-69 dBm Noise level:-90 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 # ifconfig eth0 Protokoll:Ethernet Hardware Adresse 00:03:47:BB:06:85 inet Adresse:192.168.0.6 Bcast:192.168.0.255 Maske:255.255.255.0 inet6 Adresse: fe80::203:47ff:febb:685/64 Gültigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1006130 errors:0 dropped:0 overruns:0 frame:0 TX packets:984742 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:1000 RX bytes:127732896 (121.8 Mb) TX bytes:67257784 (64.1 Mb) Interrupt:11 Basisadresse:0xb000 lo Protokoll:Lokale Schleife inet Adresse:127.0.0.1 Maske:255.0.0.0 inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:1063 errors:0 dropped:0 overruns:0 frame:0 TX packets:1063 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:0 RX bytes:271939 (265.5 Kb) TX bytes:271939 (265.5 Kb) wlan0 Protokoll:Ethernet Hardware Adresse 00:11:95:8F:A2:5F inet6 Adresse: fe80::211:95ff:fe8f:a25f/64 Gültigkeitsbereich:Verbindung UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:10 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) wlan0 still got no ip4-Adress. OK. Now I have to go to my universitiy after I installed their special vpn-client... I guess their dhcpd will give me an IP... THX for help to devries an netburn! :) cu took Link to comment Share on other sites More sharing options...
Guest anocka Posted April 1, 2005 Report Share Posted April 1, 2005 Please, can you email me the Module.symvers, Netburn ? I am ready to die. Link to comment Share on other sites More sharing options...
Guest netburn Posted April 30, 2005 Report Share Posted April 30, 2005 For anyone else that would like the Module.symvers file, I have it attached to this post. (Due to attachment constraints, I had to rename the extention to .txt, so just rename it to Module.symvers when it is downloaded.) Have fun! Netburn Attachment: Module.txt Link to comment Share on other sites More sharing options...
klipp Posted May 19, 2005 Report Share Posted May 19, 2005 (edited) For what its worth, Module.symvers is created for you when you compile wlan_ng. You just need to copy it to /lib/modules/xxxxx/build. Its located in /linux-wlan-ng-0.2.1-pre26/src. Edited May 19, 2005 by klipp Link to comment Share on other sites More sharing options...
Guest joeblow1102 Posted June 10, 2005 Report Share Posted June 10, 2005 (edited) sweet Edited September 18, 2005 by joeblow1102 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now