赵光 <[EMAIL PROTECTED]> writes: > 2005/11/3, Hareesh Nagarajan <[EMAIL PROTECTED]>: >> Last night, I emerged some ATI drivers, emerged a new kernel (didn't >> compile it though) and emerged eselect. >> >> Today when I compile a C++ program I get the following error: >> >> /usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory >> > > look like not install kernel correctly > did you run > make modules_install > to install the headerfile of kernel
The headers in /usr/include has nothing to do with the kernel you have installed. They are part of sys-kernel/linux-headers. $ equery belongs /usr/include/asm-generic/errno.h [ Searching for file(s) /usr/include/asm-generic/errno.h in *... ] sys-kernel/linux-headers-2.6.11-r2 (/usr/include/asm-generic/errno.h) -- Hilsen Harald. -- [email protected] mailing list

