LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-23-2006, 07:25 PM   #1
Cichlid
Member
 
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178

Rep: Reputation: 30
make errors for ndiswrapper


Hello,
Please see error message below as I am atetmpting to install ndiswrapper.

linux:/home/cichlid/temp/ndiswrapper-1.10 # make install KSRC=/usr/src/linux-2.6.13-15.8
make -C driver install
make[1]: Entering directory `/home/cichlid/temp/ndiswrapper-1.10/driver'
Can't find kernel sources in /usr/src/linux-2.6.13-15.8;
give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/cichlid/temp/ndiswrapper-1.10/driver'
make: *** [install] Error 2
linux:/home/cichlid/temp/ndiswrapper-1.10 # make install KSRC=/usr/src/linux-2.6.13-15
make -C driver install
make[1]: Entering directory `/home/cichlid/temp/ndiswrapper-1.10/driver'
make -C /usr/src/linux-2.6.13-15 SUBDIRS=/home/cichlid/temp/ndiswrapper-1.10/driver \
DRIVER_VERSION=1.10
make[2]: Entering directory `/usr/src/linux-2.6.13-15'
Makefile:494: .config: No such file or directory

WARNING: Symbol version dump /usr/src/linux-2.6.13-15/Module.symvers
is missing; modules will have no dependencies and modversions.

LD /home/cichlid/temp/ndiswrapper-1.10/driver/built-in.o
CC [M] /home/cichlid/temp/ndiswrapper-1.10/driver/hal.o
/bin/sh: scripts/basic/fixdep: No such file or directory
make[3]: *** [/home/cichlid/temp/ndiswrapper-1.10/driver/hal.o] Error 1
make[2]: *** [_module_/home/cichlid/temp/ndiswrapper-1.10/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.13-15'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/cichlid/temp/ndiswrapper-1.10/driver'
make: *** [install] Error 2
linux:/home/cichlid/temp/ndiswrapper-1.10 # make install KSRC=/usr/src/linux-2.6.13-15
make -C driver install
make[1]: Entering directory `/home/cichlid/temp/ndiswrapper-1.10/driver'
make -C /usr/src/linux-2.6.13-15 SUBDIRS=/home/cichlid/temp/ndiswrapper-1.10/driver \
DRIVER_VERSION=1.10
make[2]: Entering directory `/usr/src/linux-2.6.13-15'
Makefile:494: .config: No such file or directory
CC [M] /home/cichlid/temp/ndiswrapper-1.10/driver/hal.o
/bin/sh: scripts/basic/fixdep: No such file or directory
make[3]: *** [/home/cichlid/temp/ndiswrapper-1.10/driver/hal.o] Error 1
make[2]: *** [_module_/home/cichlid/temp/ndiswrapper-1.10/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.13-15'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/cichlid/temp/ndiswrapper-1.10/driver'
make: *** [install] Error 2

A sym-link already exists for Module.synmvers. As you can see I also had to point to my kernal source. I'm not sure of how to proceed? I following the directions of Andrew18 to get my wlan up and working.

Thanks All.
 
Old 02-23-2006, 08:44 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Are you trying to compile a kernel for a different kernel version then you are using?

If you have the kernel source package installed, try it without the KSRC= option.

Another option is to run "make rpm" instead.
I did this by dropping the ndiswrapper tarball into /usr/src/packages/SOURCES and extracting the ndiswrapper.spec file into /usr/src/packages/SPECS/
Then in the SPECS directory, I ran the command: rpmbuild -ba diswrapper.spec
This built two RPM files ( in the ../RPMS/x86_64 on my laptop) which can be installed with yast.
When I update the kernel, I will need to re-install the kernel module rpm with a name similar to:
kernel-module-ndiswrapper-2.6.13-15.7-default-1.8-1.x86_64.rpm
 
Old 02-24-2006, 07:04 AM   #3
Cichlid
Member
 
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178

Original Poster
Rep: Reputation: 30
I'm not doing any kernel compiling. I also need to add the argument KSRC="path to kernel source" or else make can not find it?

I'm guessing that this is not a "need to reboot" situation. I installed the kernel source, gcc and other programs as per the directions of Andrew18, though I did not restart my session or reboot.

Thanks,

Erik
 
Old 02-24-2006, 09:18 PM   #4
Cichlid
Member
 
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178

Original Poster
Rep: Reputation: 30
So, I guess I should have read the INSATLL file that came with NDISWRAPEPR. Though i still have a question.

I do not have the below in my kernel directory. No "include" directory or a ".config" file?

"should have at least 'include' directory and '.config' file."

Actually, I found the "include" directory in the kernel source directory. Course I still can not find the ".config" file?

I'd appreciate some insight. I'll keep hacking away and post if I find the answer.
 
Old 04-24-2006, 01:54 PM   #5
Fische
LQ Newbie
 
Registered: Feb 2004
Location: portland
Distribution: Debian
Posts: 22

Rep: Reputation: 0
did you ls -a?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ndiswrapper errors... djcowan Linux - Wireless Networking 1 10-17-2005 08:49 AM
ndiswrapper make errors in Fedora Core 4 accessrichard Linux - Wireless Networking 4 06-20-2005 10:08 PM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 04:01 AM
Ndiswrapper 1.0 make install errors on FC3 kernel 2.6.10-1.760_FC3 with BCM 4304 mikevicious Linux - Wireless Networking 5 02-15-2005 09:41 PM
NDIswrapper install errors--please help me! esher2292 Linux - Newbie 34 06-01-2004 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration