linux-mips
[Top] [All Lists]

Re: glibc 2.2.2 include problems

To: Florian Lohoff <flo@rfc822.org>
Subject: Re: glibc 2.2.2 include problems
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Tue, 10 Apr 2001 16:08:25 +0200 (MET DST)
Cc: linux-mips@oss.sgi.com
In-reply-to: <20010410151449.A14014@paradigm.rfc822.org>
Organization: Technical University of Gdansk
Sender: owner-linux-mips@oss.sgi.com
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: macro@ds2.pg.gda.pl, PGP key available        +


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