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.
I’m new to Linux and having a problem installing ndiswrapper when I type make or make install I get this response
[root@localhost ndiswrapper-1.8]# make install
make -C driver install
make[1]: Entering directory `/home/matthew/ndiswrapper-1.8/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 `/home/matthew/ndiswrapper-1.8/driver'
make: *** [install] Error 2
[root@localhost ndiswrapper-1.8]
This is with a fresh install of Fedora core 4 I have spent two days searching the Internet and trying things but I have run out of ideas.
Thanks
Matt
PS here are all the commands from the beginning if it helps.
[matthew@localhost ~]$ su
Password:
[root@localhost matthew]# tar zxvf ndiswrapper-1.8.tar.gz
ndiswrapper-1.8/
ndiswrapper-1.8/AUTHORS
ndiswrapper-1.8/ChangeLog
ndiswrapper-1.8/INSTALL
ndiswrapper-1.8/Makefile
ndiswrapper-1.8/README
ndiswrapper-1.8/ndiswrapper.spec
ndiswrapper-1.8/version
ndiswrapper-1.8/ndiswrapper.8
ndiswrapper-1.8/utils/
ndiswrapper-1.8/utils/Makefile
ndiswrapper-1.8/utils/ndiswrapper
ndiswrapper-1.8/utils/loadndisdriver.c
ndiswrapper-1.8/utils/ndiswrapper-buginfo
ndiswrapper-1.8/driver/
ndiswrapper-1.8/driver/divdi3.c
ndiswrapper-1.8/driver/hal.c
ndiswrapper-1.8/driver/iw_ndis.c
ndiswrapper-1.8/driver/iw_ndis.h
ndiswrapper-1.8/driver/loader.c
ndiswrapper-1.8/driver/loader.h
ndiswrapper-1.8/driver/longlong.h
ndiswrapper-1.8/driver/Makefile
ndiswrapper-1.8/driver/misc_funcs.c
ndiswrapper-1.8/driver/ndis.c
ndiswrapper-1.8/driver/ndis.h
ndiswrapper-1.8/driver/ndiswrapper.h
ndiswrapper-1.8/driver/ntoskernel.c
ndiswrapper-1.8/driver/ntoskernel.h
ndiswrapper-1.8/driver/ntoskernel_io.c
ndiswrapper-1.8/driver/pe_linker.c
ndiswrapper-1.8/driver/pe_linker.h
ndiswrapper-1.8/driver/pnp.c
ndiswrapper-1.8/driver/pnp.h
ndiswrapper-1.8/driver/proc.c
ndiswrapper-1.8/driver/usb.c
ndiswrapper-1.8/driver/usb.h
ndiswrapper-1.8/driver/winnt_types.h
ndiswrapper-1.8/driver/wrapper.c
ndiswrapper-1.8/driver/wrapndis.h
ndiswrapper-1.8/driver/wrapndis.c
ndiswrapper-1.8/driver/x86_64_stubs.S
ndiswrapper-1.8/debian/
ndiswrapper-1.8/debian/Makefile
ndiswrapper-1.8/debian/changelog.modules
ndiswrapper-1.8/debian/changelog.source
ndiswrapper-1.8/debian/changelog.utils
ndiswrapper-1.8/debian/control.modules
ndiswrapper-1.8/debian/control.source
ndiswrapper-1.8/debian/control.utils
ndiswrapper-1.8/debian/copyright
ndiswrapper-1.8/debian/dirs.utils
ndiswrapper-1.8/debian/docs
ndiswrapper-1.8/debian/postinst.modules
ndiswrapper-1.8/debian/README.Debian
ndiswrapper-1.8/debian/rules
[root@localhost matthew]# cd ndiswrapper-1.8
[root@localhost ndiswrapper-1.8]# make
make -C driver
make[1]: Entering directory `/home/matthew/ndiswrapper-1.8/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 `/home/matthew/ndiswrapper-1.8/driver'
make: *** [all] Error 2
[root@localhost ndiswrapper-1.8]# make install
make -C driver install
make[1]: Entering directory `/home/matthew/ndiswrapper-1.8/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 `/home/matthew/ndiswrapper-1.8/driver'
make: *** [install] Error 2
[root@localhost ndiswrapper-1.8]
Can't find kernel sources in /lib/modules/2.6.11-1.1369_FC4/build;
You must install the kernel-source in order to be able to compile things from source. Use your packege manager to install the kernel-source that matches your kernel version (2.6.11-1.1369_FC4).
I can't use yum because I don't have an internet connection that’s why I’m trying to install ndiswrapper so I can access the internet via my wireless pci card.
Thanks for all the help I’m starting to lose hope I’ve been trying to install ndiswrapper for 3 days maybe I should try a different distribution.
I downloaded and installed kernel-module-ndiswrapper-2.6.11-1.1369_FC4-1.2-0.lvn.3.4.i686 and ndiswrapper-1.2-0.lvn.3.4.i386 from washington.kelkoo.net/ftp/pu.../i386/RPMS.lvn
then just followed the ndiswrapper installation guide it all worked perfectly
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.