Thread (3 messages) 3 messages, 3 authors, 2000-10-30

Re: kernel source rpm

From: Martin Costabel <hidden>
Date: 2000-10-30 09:33:00

"Timothy A. Seufert" wrote:
At 12:36 PM -0700 10/28/00, Michael Norton wrote:
quoted
hi,

I am working on an application which requires the header file
<linux/limits.h>.
Which file do I need to rpm from the LinuxPPC 2000 CD-Rom to install kernel
source?
Don't do that.  Kernel header files are not intended to be directly
#include'd into user applications.  Use the the GNU C and/or C++
libraries and headers like you're supposed to, and you will not
depend on kernel files at all.
This is correct in the Linus-approved True Linux Userspace (tm). Problem
is that on RedHat based systems like linuxppc, glibc doesn't contain
/usr/include/linux except as a symlink to /usr/src/linux/include/linux.
So you need either kernel sources from some archive or the
"kernel-headers" RPM.

--
Martin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help