Re: make Troubles.
Hello Rob,
Not sure what making a symlink of your 'entire' /usr filesystem to
/usr/src/linux is gonna do, but I think you might be in trouble if
you go to reboot! I think you really need to get rid of that link.
It let you make the link because /usr/src/linux did not already
exist. You need to install the kernel headers package. That should
put a /usr/src/linux directory in place with the kernel headers that
your make package is looking for.
Good Luck, and be careful.
Jimmy Richards
On 20 Mar 2001 20:53:43 -0500, Robert Mosher wrote:
> I am trying to compile a driver for my sound blaster live, following this:
>
> http://www.linuxnewbie.org/nhf/intel/soundcards/sblive.html
>
> as a guide.
> When entering the command 'make depend' I got this error:
>
> 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:44: /Makefile: No such file or directory
> make: *** No rule to make target `/Makefile'. Stop.
>
> I then noticed that /usr/src was empty, but /usr/include/linux contained
> version.h and autoconf.h . I then entered 'ln -s /usr /usr/src/linux' to
> make a link so that /usr/src/linux/include/linux would link to
> /usr/include/linux . However when I ran 'make depend' again I got this error:
>
> Please run make dep in your kernel source tree modversions.h is missing
> make: *** [depend] Error 1
>
> Though I'm not really sure what this means. I thought maybe I should run
> 'make dep' in /usr/include/linux but that only spit out this:
>
> make: *** No rule to make target `dep'. Stop.
>
> Any help would be appreciated.
>
> Thanks,
> Rob Mosher
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
Reply to: