superplay Posted January 9, 2006 Report Share Posted January 9, 2006 I am running Mandriva 2006 and uname -r shows 2.6.12-12mdk I have downloaded the following files: NDIS Wrapper 1.7 source http://sourceforge.net/project/showfiles.p...lease_id=376633 kernel-2.6.12.12mdk-1-1mdk.src.rpm http://rpm.pbone.net/index.php3/stat/26/di...-1-1mdk.src.rpm then: copied the source to home/me/download/ndiswrapper-1.7 installed kernel-2.6.12.12mdk-1-1mdk.src.rpm installed make log on as root ln -s /usr/src/linux-2.6.12-12mdk /lib/modules/2.6.12-12mdk/build make distclean make This fails as it can not find the kernel sources, I change directory to /lib/modules/2.6.12-12mdk directory there is a build folder. However I cannot change into this and the word "build" is flashing red with @ afterwards "build@" Capture of build process [root@localhost ndiswrapper-1.7]# make distclean make -C driver clean make[1]: Entering directory `/home/superplay/Download/ndiswrapper-1.7/driver' rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o wrapndis.o wrapper.o divdi3.o usb.o x86_64_stubs.o \ divdi3.o .*.ko.cmd .*.o.cmd ndiswrapper.mod.[oc] *~ .tmp_versions make[1]: Leaving directory `/home/superplay/Download/ndiswrapper-1.7/driver' make -C utils clean make[1]: Entering directory `/home/superplay/Download/ndiswrapper-1.7/utils' rm -f *~ *.o loadndisdriver make[1]: Leaving directory `/home/superplay/Download/ndiswrapper-1.7/utils' rm -f *~ rm -fr ndiswrapper-1.7 ndiswrapper-1.7.tar.gz *.deb patch-stamp make -C driver distclean make[1]: Entering directory `/home/superplay/Download/ndiswrapper-1.7/driver' rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o wrapndis.o wrapper.o divdi3.o usb.o x86_64_stubs.o \ divdi3.o .*.ko.cmd .*.o.cmd ndiswrapper.mod.[oc] *~ .tmp_versions rm -f *_exports.h .\#* x86_64_stubs.h make[1]: Leaving directory `/home/superplay/Download/ndiswrapper-1.7/driver' make -C utils distclean make[1]: Entering directory `/home/superplay/Download/ndiswrapper-1.7/utils' rm -f *~ *.o loadndisdriver rm -f .\#* make[1]: Leaving directory `/home/superplay/Download/ndiswrapper-1.7/utils' rm -f .\#* [root@localhost ndiswrapper-1.7]# make make -C driver make[1]: Entering directory `/home/superplay/Download/ndiswrapper-1.7/driver' Can't find kernel sources in /lib/modules/2.6.12-12mdk/build; give the path to kernel sources with KSRC=<path> argument to make make[1]: *** [prereq_check] Error 1 make[1]: Leaving directory `/home/superplay/Download/ndiswrapper-1.7/driver' make: *** [all] Error 2 [root@localhost ndiswrapper-1.7]# Any help would be appreciated. SuperPlay Quote Link to comment Share on other sites More sharing options...
devries Posted January 10, 2006 Report Share Posted January 10, 2006 You installed a src.rpm and you need to install the kernel-source. (urpmi kernel-source) Quote Link to comment Share on other sites More sharing options...
superplay Posted January 10, 2006 Author Report Share Posted January 10, 2006 Devries you are a superstar! Thanks I have managed to compile and install the latest ndiswrapper. Hey it even works ;-) Cheers SuperPlay Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.