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 +