All of lore.kernel.org
 help / color / mirror / Atom feed
* Change in compiler.h causes compile errors in many applications
@ 2004-02-25 13:38 Helmut Auer
  2004-02-25 13:48 ` Richard B. Johnson
  0 siblings, 1 reply; 2+ messages in thread
From: Helmut Auer @ 2004-02-25 13:38 UTC (permalink / raw)
  To: linux-kernel

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 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Change in compiler.h causes compile errors in many applications
  2004-02-25 13:38 Change in compiler.h causes compile errors in many applications Helmut Auer
@ 2004-02-25 13:48 ` Richard B. Johnson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard B. Johnson @ 2004-02-25 13:48 UTC (permalink / raw)
  To: Helmut Auer; +Cc: linux-kernel

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-25 13:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-25 13:38 Change in compiler.h causes compile errors in many applications Helmut Auer
2004-02-25 13:48 ` Richard B. Johnson

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.