From: "Richard B. Johnson" <root@chaos.analogic.com>
To: Helmut Auer <vdr@helmutauer.de>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Change in compiler.h causes compile errors in many applications
Date: Wed, 25 Feb 2004 08:48:35 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.53.0402250844490.8103@chaos> (raw)
In-Reply-To: <403CA56E.90403@helmutauer.de>
On Wed, 25 Feb 2004, Helmut Auer wrote:
> Hello,
> With kernel 2.6.3 a
> #ifdef __KERNEL__
> was added at the beginning of linux/compiler.h
> That causes compile errors in severel applications, because the
> following includes were no longer done.
> Was that caused by accident ?
>
> --
> Helmut Auer, helmut@helmutauer.de
The kernel headers are to be used for compiling the kernel only!
Older distributions may have a sim-link (two) for /usr/include/linux
and /usr/include/asm. These should point to the headers used to
compile the 'C' runtime library, not the current kernel headers.
A fix is to remove these symlinks and create directories that contain
your last working headers.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.24 on an i686 machine (797.90 BogoMips).
Note 96.31% of all statistics are fiction.
prev parent reply other threads:[~2004-02-25 13:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-25 13:38 Helmut Auer
2004-02-25 13:48 ` Richard B. Johnson [this message]
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=Pine.LNX.4.53.0402250844490.8103@chaos \
--to=root@chaos.analogic.com \
--cc=linux-kernel@vger.kernel.org \
--cc=vdr@helmutauer.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®