[Re: [lug] Kernel compile error]

Justin glowecon at netscape.net
Mon Jun 5 22:14:09 MDT 2000


I actual fixed this like 2 mins after I sent the email, hehe. I was missing
the symlinks for asm and linux for whatever reason. I just made the symlinks
and it worked fine. Thanks for the info tho...

Justin
> 
> The near-last line with linux/errno.h indicates that a file is trying to
> get to a header in the kernel source.
> 
> /usr/include/linux/ should be a sym link to
> /usr/src/linux/include/linux/
> /usr/src/linux/ should be a sym link to /usr/src/linux-2.2.15/ [change
> version if needed]
> 
> If for some reason you have this set for root-only permission, and you
> are not running as root (not likely if you are kernel compiling), it
> would refuse you. Most of the time the sym link is just missing. Either
> the sym link in /usr/include/ is missing, or the path /usr/src/linux/
> doesn't exist. Try this:
> cd /usr/src/linux/
> 
> If you didn't make it, then you likely have /usr/src/linux-2.2.15/, and
> need to sym link linux-2.2.15 to linux.
> 
> If you did make it there:
> cd include/linux
> 
> If you didn't make it there, you're missing source. If you did make it,
> likely you can't:
> cd /usr/include/linux/
> 
> If that wasn't possible, you need a sym link from /usr/include/, to
> /usr/src/linux/include/linux
> 
> If you had another kernel version, and removed it while adding a new
> one, the sym links would be either wrong or missing.
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug


____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.




More information about the LUG mailing list