lkml.org 
[lkml]   [2000]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: PROBLEM: Linux include file conflict
In <Pine.LNX.4.21.0002082215260.275-100000@rgfpc.electro.swri.edu> Robert G Fenske Jr (fenske@rgfpc.electro.swri.edu) wrote:

> While trying to build pppd 2.3.11 with the kernel 2.3.41 include
> files I ran into a conflict with the Linux include files. This
> conflict precludes building pppd 2.3.11. The RLIM_INFINITY #define in
> <2.3.41 kernel srcdir>/include/asm-i386/resource.h conflicts with
> /usr/include/resourcebits.h (which I presume came with the gcc 2.7.2.3
> distribution since that what my Debian 2.1 system has). I scanned back
> through the kernel patches and found that the RLIM_INFINITY got added
> to the asm-i386/resource.h file in 2.3.32.
> It's easy enough to edit the resourcehits.h file to avoid the
> conflict but that's not a long term solution. I haven't figured out the
> consequences of modifying the asm-i386/resource.h file, or actually all
> the asm-*/resource.h files as they all have the #define in question.

No. This is NOT "linux include file conflict". /usr/include/resourcebits.h is
NOT part of kernel. asm-i386/resource.h IS part of kernel. You should NEVER
use kernel includes and userland includes in the same file. Yes, glibc STILL
doing that. It's glibc problem, not kernel one.




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.175 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site