"Mike Krieger" <[EMAIL PROTECTED]> writes:
| I try to compile fileutils 4.0w and 4.0q on a GLIBC-2.1.3 system with a
| 2.2.16 and a 2.2.14 kernel with no luck.
| My compiler is GCC 2.95.2
|
| I recieve the following:
|
| gcc -g -O2 -o chgrp chgrp.o ../lib/libfetish.a
| chgrp.o: In function 'main':
| /usr/src/fileutils-4.0q/src/chgrp.c:418: undefined reference to 'lstat64'
| /usr/src/fileutils-4.0q/src/chgrp.c:420: undefined reference to 'stat64'
| collect2: ld returned 1 exit status
|
| If I compile the programs invididually, most work, but a few die witht the
| same error. Any ideas why?
|
| it appears to be defined in /usr/include/sys/stat.h and I even added that to
| be included in chgrp.c with no luck.
Thanks for the report.
I build each new version on a system just like that (glibc-2.1.3, gcc-2.95.2)
before releasing, and I just confirmed that the latest (4.0x) also builds
on that system.
Maybe there's something wrong with the way your system is set up?
FYI, I'm using this compiler:
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 20000220 (Debian GNU/Linux)