-   Linux - Desktop (
-   -   Error using Make (

SJSpring90 08-09-2006 11:36 AM

Error using Make
I am trying to install ndiswrapper from source but I get an error when I type in make, it says:

sspringer@sspringer-desktop:~$ cd Desktop
sspringer@sspringer-desktop:~/Desktop$ cd ndiswrapper-1.22
sspringer@sspringer-desktop:~/Desktop/ndiswrapper-1.22$ make
make -C driver
make[1]: Entering directory `/home/sspringer/Desktop/ndiswrapper-1.22/driver'
Can't find kernel build files in /lib/modules/2.6.15-23-386/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/sspringer/Desktop/ndiswrapper-1.22/driver'
make: *** [all] Error 2
This is the first time I am doing this so i really have no clue. Thanks!

shakumafu 08-09-2006 07:08 PM

you have to type the command "./configure" first

then after make is complete, you have will probably have to "make install" with root privilages

shakumafu 08-09-2006 07:11 PM

general compiling instructions

make install (with root priv)

SJSpring90 08-10-2006 02:14 PM

I am using Ubuntu 6.06 and it doesn't come with any development packages I think so it says that ./configure is not a valid command. The program that I am trying to install is ndis wrapper so I can get the internet so using synaptics isn't an option but if anyone could please post a link to the package I need to use ./configure it would be very helpful, then I can burn it on to a disc and put it on my desktop. Thanks!

psisquare 08-10-2006 02:27 PM

Dunno if you need configure, but you definitely must have kernel sources installed to compile ndiswrapper. That's the Ubuntu package


But it's probably easier to just install


, which spares you the hassle of compiling it yourself (especially since a standard Ubuntu installation isn't exactly well-equipped for such things).

I hope I got all the numbers right btw, the Ubuntu installation I have here is abit outdated.

shakumafu 08-10-2006 11:34 PM

type in terminal

sudo apt-get install build-essential

those are the packages required to build things from source

All times are GMT -5. The time now is 11:23 AM.