Sergey Ostrovsky on Wed, 2 May 2001 16:11:36 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Kernel compile error message


Kernel sources includes look like this :
#include <linux/blah.h>
or
#include <asm/blah.h>
or similar.
That means these include files should actually be at C-preprocessor-default-path/linux/blah.h, etc.

C preprocessor default paths usually are /usr/include and /usr/local/include.
So, you supply links from your /usr/include to corresponding nodes of the unpacked kernel's tree

Like this :
cd /usr/include
ln -s ../src/linux/include/linux linux
ln -s ../src/linux/include/asm asm


> <--- snip
> The symlinks you spoke of aren't in my /usr/include...what specifically should be symlinked there (the name of the source for the link)?

Sergey Ostrovsky.


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug