From: Martin Costabel <costabel@wanadoo.fr>
To: "Timothy A. Seufert" <tas@mindspring.com>
Cc: Michael Norton <mnorton@cisco.com>, linuxppc-dev@lists.linuxppc.org
Subject: Re: kernel source rpm
Date: Mon, 30 Oct 2000 10:33:00 +0100 [thread overview]
Message-ID: <39FD404C.2E213ADA@wanadoo.fr> (raw)
In-Reply-To: v04220802b622ea31cf0b@[10.0.0.42]
"Timothy A. Seufert" wrote:
>
> At 12:36 PM -0700 10/28/00, Michael Norton wrote:
> >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/
next prev parent reply other threads:[~2000-10-30 9:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-28 19:36 kernel source rpm Michael Norton
2000-10-30 9:08 ` Timothy A. Seufert
2000-10-30 9:33 ` Martin Costabel [this message]
2000-10-30 10:16 ` Ethan Benson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=39FD404C.2E213ADA@wanadoo.fr \
--to=costabel@wanadoo.fr \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=mnorton@cisco.com \
--cc=tas@mindspring.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.