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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 08-06-2005, 07:34 PM   #1 (permalink)
Registered User
 
Join Date: Jul 2005
Posts: 9
OS: XP/FC4


Confused ndiswrapper error

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..
Buncas is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
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

Old 08-06-2005, 08:40 PM   #2 (permalink)
Be Free
 
LoneWolf071's Avatar
 
Join Date: Nov 2004
Location: Texas
Posts: 840
OS: Windows XP, Linux


Send a message via AIM to LoneWolf071
Did You Do
root#make KSRC=/lib/modules/2.6.11-1.1369_FC4/kernel
?
__________________
Suicide Command in Linux : rm -rf / ;)
AIM:TheLoneWolf071@aim.com--If You Need Help, Don't Hesitate...
LoneWolf071 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-06-2005, 10:12 PM   #3 (permalink)
Registered User
 
Join Date: Jul 2005
Posts: 9
OS: XP/FC4


Confused ndiswrapper error

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.
Buncas is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-06-2005, 10:26 PM   #4 (permalink)
Be Free
 
LoneWolf071's Avatar
 
Join Date: Nov 2004
Location: Texas
Posts: 840
OS: Windows XP, Linux


Send a message via AIM to LoneWolf071
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...
LoneWolf071 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-06-2005, 11:02 PM   #5 (permalink)
Registered User
 
Join Date: Jul 2005
Posts: 9
OS: XP/FC4


Confused

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.
Buncas is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-07-2005, 08:24 PM   #6 (permalink)
Be Free
 
LoneWolf071's Avatar
 
Join Date: Nov 2004
Location: Texas
Posts: 840
OS: Windows XP, Linux


Send a message via AIM to LoneWolf071
make sure the /usr/src/kernel.xx.xx.xx path exists...
__________________
Suicide Command in Linux : rm -rf / ;)
AIM:TheLoneWolf071@aim.com--If You Need Help, Don't Hesitate...
LoneWolf071 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-12-2005, 09:39 PM   #7 (permalink)
Registered User
 
Join Date: Jul 2005
Posts: 9
OS: XP/FC4


Confused

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
Buncas is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-13-2005, 03:42 AM   #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.
zigzig is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-19-2005, 07:58 AM   #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:
Originally Posted by Buncas
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..

Last edited by ricbax; 08-19-2005 at 08:17 AM.
ricbax is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-22-2005, 08:32 PM   #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
Buncas is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-27-2005, 06:22 PM   #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]#
randomhero1226 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-27-2005, 06:25 PM   #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]#
randomhero1226 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 08-27-2005, 08:53 PM   #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
Buncas is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-04-2005, 12:15 PM   #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:
Originally Posted by randomhero1226
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]#
CnEY is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 04:23 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85