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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-23-2006, 07:25 PM
|
#1
|
Member
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178
Rep:
|
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.
|
|
|
02-23-2006, 08:44 PM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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
|
|
|
02-24-2006, 07:04 AM
|
#3
|
Member
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178
Original Poster
Rep:
|
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
|
|
|
02-24-2006, 09:18 PM
|
#4
|
Member
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178
Original Poster
Rep:
|
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.
|
|
|
04-24-2006, 01:54 PM
|
#5
|
LQ Newbie
Registered: Feb 2004
Location: portland
Distribution: Debian
Posts: 22
Rep:
|
did you ls -a?
|
|
|
All times are GMT -5. The time now is 06:40 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|