[Top] [All Lists]

Re: glibc 2.2.2 include problems

To: Florian Lohoff <>
Subject: Re: glibc 2.2.2 include problems
From: "Maciej W. Rozycki" <>
Date: Tue, 10 Apr 2001 16:08:25 +0200 (MET DST)
In-reply-to: <>
Organization: Technical University of Gdansk
On Tue, 10 Apr 2001, Florian Lohoff wrote:

> i am seeing problems on the glibc 2.2.2 headers - Anyone sees the same ?
> gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DGNULOCALEDIR=\"/usr/share/locale\" 
> -DLOCALE_ALIAS_PATH=\"/usr/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. 
> -I../intl -I../lib -DNSL_FORK -O2 -DLINUX -D_GNU_SOURCE   loadmsgcat.c
> In file included from /usr/include/fcntl.h:37,
>                  from loadmsgcat.c:22:
> /usr/include/sys/stat.h:352: redefinition of `stat'
> /usr/include/sys/stat.h:345: `stat' previously defined here
> This is while compiling lynx - The lines in the header are these:
> I dont really see the problem.

 Replace "-c" with "-E -dD" in the above gcc invocation and check if lynx
doesn't do anything weird (such as defining lstat to stat or so).

+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

<Prev in Thread] Current Thread [Next in Thread>