Linux - SoftwareThis 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.
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.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.