undefined reference to fstat
cwiegand at dimensional.com
Sun Dec 27 16:28:27 CET 1998
-----BEGIN PGP SIGNED MESSAGE-----
I've tried compiling gpg 0.9 under both egcc 2.91.60 and gcc 220.127.116.11 using
glibc 2.0.7 using Debian Linux (2.1/Slink), and keep getting this error:
../util/libutil.a(iobuf.o): In function `iobuf_get_filelength':
/tmp/gnupg-0.9.0/util/iobuf.c:1141: undefined reference to `fstat'
/tmp/gnupg-0.9.0/util/iobuf.c:1152: undefined reference to `fstat'
If I take out those lines, it compiles, however, I don't know why it can't
find fstat - but then, neither can I on my machine in /usr/include and
/usr/local/include and /usr/src/linux/include....where should this file be?
Which header is supposed to have this call? I think I recall this command in
ANSI C somewhere, but can't find it in my books. Anyone know about this?
'If Bill Gates had a dime for every time Windows crashed...
... Oh wait a minute, he already does...' - Anonymous
Linux \'lih-nucks\ n.: Antidote to the computer virus known as Windows.
BSD \be-es-de\ n.: Antidote to the computer virus known as Windows NT.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.4.4 (GNU/Linux)
Comment: For info finger gcrypt at ftp.guug.de
-----END PGP SIGNATURE-----
More information about the Gnupg-devel