Click to See Complete Forum and Search --> : SBLive question


Mike Klein
07-09-2001, 11:50 PM
Hey guys-

I'm new to this site and to this board...I've read the "Get your SBLive to work" NHF, yet I'm having a problem. When I try the following commands:

rm *dep*
make depend
make clean
make

I get file not found errors, such as these:

grep: /usr/src/linux/include/linux/version.h: No such file or directory.
grep: /usr/src/linux/include/linux/autoconf.h: No such file or directory.
Makefile:43: /Makefile: No such file or directory.

Now, obviously the files that are needed are not there. Does anyone know where I can get them, or which files I need to modify to somehow get around that? Perhaps the files are in a different directory that I'm not aware of; yes, I'm a newbie.

I would appreciate your help,

-Mike

bdl
07-10-2001, 12:35 AM
Its looking for your kernel source include dir and headers. Alot of installs don't include the kernel source, but you can easily get it from your install CDROM or from www.kernel.org (http://www.kernel.org). Please take a look at the Kernel NHF (http://www.linuxnewbie.org/nhf/intel/compiling/kernel_update.html) for more details.

Once you've followed through and have a valid source dir and some deps established, you shouldnt have any more problems. Most source code you want to build will have this same problem, so it's wise to install the source and compile a custom kernel when you first do a linux install, if for no other reason than that.

I should mention that up to date (2.2.18 and above I believe) kernels include the emu10k1 driver, so you may not even have to actually build the module, just do a 'modprobe emu10k1'.

Mike Klein
07-10-2001, 01:53 AM
Worked like a charm -- thanks!