![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Linux Support Linux - Operating Systems and Applications Support |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jul 2005
Posts: 9
OS: XP/FC4
|
Hello all, I am trying to install ndiswrapper on a pc running FC4 and I keep getting an error mssage saying "can't find kernel sources in /lib/modules/2.6.11-1.1369_FC4/build; give give the path to the kernel sources with KSRC=<path> argument to make.
make[1]: *** [prereq_check] Error 1 make[1]: Leaving directory /home/buncas/ndiswrapper-1.2/driver make: *** [install] Error 2 I typed from the prompt as root#KSRC=/lib/modules/2.6.11-1.1369_FC4/kernel but I am still not able to install ndiswrapper Help !!! trying to install my wireless card.. |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#3 (permalink) |
|
Registered User
Join Date: Jul 2005
Posts: 9
OS: XP/FC4
|
Thanks for the reply LoneWolf071, no i did not do the make command. I downloaded the kernel source rpm file from redhat and when i installed it it placed it in '/usr/src/redhat/BUILD/kernel-2.6.11/' directory. I tried to install ndis wrapper again and still got the same error.
not sure what the 'make KSRC' command does, but i will give it a try. |
|
|
|
|
|
#4 (permalink) |
|
Be Free
|
the make command will auto-compile the source of the ndiswrapper program, and adding the KSRC will tell the make command where your kernel source is...
__________________
Suicide Command in Linux : rm -rf / ;) AIM:TheLoneWolf071@aim.com--If You Need Help, Don't Hesitate... |
|
|
|
|
|
#5 (permalink) |
|
Registered User
Join Date: Jul 2005
Posts: 9
OS: XP/FC4
|
Tried the make command: 'make KSRC=/usr/src/redhat/BUILD/kernel-2.6.11' still not able to find the kernel sources in the path given. I installed the kernel source files without any errors, not sure what to do. Now I am totally confused. Do you know what the source file extensions are '.**' Maybe i can find the files that way. Thanks for the input so far.
|
|
|
|
|
|
#7 (permalink) |
|
Registered User
Join Date: Jul 2005
Posts: 9
OS: XP/FC4
|
LoneWolf, sorry for taking so long to respond to your last response to my post, just a busy week at work, but still have no luck on installing ndiswrapper on FC4. I am still getting kernel cannot be found error. I have given up trying to get my wireless connection going.
Thanks for your input though, Buncas |
|
|
|
|
|
#8 (permalink) |
|
Registered User
Join Date: Aug 2005
Posts: 1
OS: Demudi
|
Similar problem, need kernel
I am having a similar problem "give path to kernel sources" , etc.
I believe I need the source for kernel 2.6.12-3-multimedia-686, for Debian based Agnula Demudi. 1) go to kernul.org -- 12-3-multimedia-686 is not here. 2) apt-get -- The whole reason I am doing this is to get Ndiswrapper working. I do not have internet access on this computer, so this will not work. Also, I have no idea what is going on. Maybe I already have source, the source, source for... whatever is grammatically correct. |
|
|
|
|
|
#9 (permalink) | |
|
Registered User
Join Date: Aug 2005
Posts: 1
OS: fc4
|
I was having the exact same problem as you were and was getting quite pissed off trying to locate the kernel source files.
I finally did and they were not where ndiswrapper wanted then to be, anyways this is what worked for me and should for you if you haven't changed/updated anything from a clean install: [root@localhost ndiswrapper-1.2]# make KSRC=/usr/src/kernels/2.6.11-1.1369_FC4-smp-i686 [root@localhost ndiswrapper-1.2]# make install KSRC=/usr/src/kernels/2.6.11-1.1369_FC4-smp-i686 hope it works! ricbax Quote:
Last edited by ricbax; 08-19-2005 at 08:17 AM. |
|
|
|
|
|
|
#10 (permalink) |
|
Registered User
Join Date: Jul 2005
Posts: 9
OS: XP/FC4
|
ricbax,
I dont know why i keep trying to fix this problem. I think that it is time I gave up on this. I reinstalled the kernel source files again and the default location where the files are installed is "lib/modules/2.6.11-1.1369_FC4/kernel". It does not put any files in "/usr/src" location. even tried to copy the files there and it still does not work with the two commands that you told me to try, make KSRC=/lib/modules/2.6.11-1.1369_FC4/kernel error message is the same, can't find kernel sources. Not sure why your source path is different from mine and we both are using FC4... But thanks for the input any, appreciate the effort. Buncas |
|
|
|
|
|
#11 (permalink) |
|
Registered User
Join Date: Aug 2005
Posts: 2
OS: Fedora Core 4
|
I'm having the same problem and I'm a linux idiot so far. I was just going to return the card tomorrow and let it go but need wireless. I pasted those links:
make install KSRC=/usr/src/kernels/2.6.11-1.1369_FC4-smp-i686 didn't work either [root@workgroup ndiswrapper]# make make -C driver make[1]: Entering directory `/ndiswrapper/driver' Can't find kernel sources in /lib/modules/2.6.11-1.1369_FC4/build; give the path to kernel sources with KSRC=<path> argument to make make[1]: *** [prereq_check] Error 1 make[1]: Leaving directory `/ndiswrapper/driver' make: *** [all] Error 2 [root@workgroup ndiswrapper]# |
|
|
|
|
|
#12 (permalink) |
|
Registered User
Join Date: Aug 2005
Posts: 2
OS: Fedora Core 4
|
another update, I think I found my sorce files as a diff name and got this:
[root@workgroup ndiswrapper]# make install KSRC=/usr/src/kernels/2.6.12-1.1398_FC4.stk16-i686 make -C driver install make[1]: Entering directory `/ndiswrapper/driver' make -C /usr/src/kernels/2.6.12-1.1398_FC4.stk16-i686 SUBDIRS=/ndiswrapper/driver \ DRIVER_VERSION=1.3rc1 \ UTILS_VERSION=1.2 modules /usr/src/kernels/2.6.12-1.1398_FC4.stk16-i686/scripts/gcc-version.sh: line 11: gcc: command not found /usr/src/kernels/2.6.12-1.1398_FC4.stk16-i686/scripts/gcc-version.sh: line 12: gcc: command not found make[2]: gcc: Command not found make[2]: Entering directory `/usr/src/kernels/2.6.12-1.1398_FC4.stk16-i686' CC [M] /ndiswrapper/driver/hal.o /bin/sh: gcc: command not found make[3]: *** [/ndiswrapper/driver/hal.o] Error 127 make[2]: *** [_module_/ndiswrapper/driver] Error 2 make[2]: Leaving directory `/usr/src/kernels/2.6.12-1.1398_FC4.stk16-i686' make[1]: *** [default] Error 2 make[1]: Leaving directory `/ndiswrapper/driver' make: *** [install] Error 2 [root@workgroup ndiswrapper]# |
|
|
|
|
|
#13 (permalink) |
|
Registered User
Join Date: Jul 2005
Posts: 9
OS: XP/FC4
|
randomhero1226, I can see that you are getting the same error message as me when trying to install our wireless card. I am surprised that none of the hard core Linux users out there have not been able to solve our problem. or maybe they are not using a wireless connection on a desktop.
One thing I have realised that it is so much easier to set up wireless on a laptop than on a desktop pc, not sure why....But this is a big stumbling block for linux on the desktop front. I just keep reading the post hoping I can find a resolution because a pc is more accessible to me than a laptop. The only laptop i have belongs to the job which i can only use with a live cd to play around with. Good luck, if you find a answer post it here. Buncas |
|
|
|
|
|
#14 (permalink) | |
|
Registered User
Join Date: Sep 2005
Posts: 1
OS: WinXP Pro SP1 / Gentoo Linux
|
randomhero1226: there is a rather simple answer to your last post... The error that make is reporting clearly says that you do not have gcc installed. GCC is the GNU compiler collection, which you need in order to compile just about anything from source. RPMs of GCC should be on your installation disc, as well as available through yum and other such package management utils.
I'm not sure as to why setting KSRC isn't working for you... in the past I've seen commands issued where such variables were set at the beginning of the command line, *before* the actual command...dunno if that'd make any difference? (i.e. # KSRC=/usr/src/whatever make) Hope this is at all helpful. Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
|
|