gpg on debian with fstat

Ralph Giles ralphbla at
Mon Oct 19 23:44:47 CEST 1998

On Mon, 19 Oct 1998, Christopher Wiegand wrote:

> I'm trying (again, again, young caterpillar) to compile gnupg 0.42 under a
> (relatively clean) debian 2 system. Here's my make log:

Hmmm, I don't have any clever suggestions here--it builds cleanly right 
out of the box on my two Debian slink (pre2.1) and my updated-from-
unstable-once-a-bit-after-the-hamm-release-so-almost-2.0 machines. I'm 
guessing from you log this isn't the first time you've run make. The 
error looks like it might come from a misconfiguation or a corrupt 
file--have you tried rerunning after a 'make clean' or rerunning 
'./configure; make' after a 'make distclean'. Or even unpacking a fresh 
source tree?

Sorry, sounds like windowsland advice, but it's the best I have to offer 
so far.


> make[1]: Leaving directory `/tmp/gnupg-0.4.2'
> make all-recursive
> make[1]: Entering directory `/tmp/gnupg-0.4.2'
> Making all in intl
> Making all in tools
> make[2]: Entering directory `/tmp/gnupg-0.4.2/tools'
> gcc -g -Wall  -o mpicalc  mpicalc.o ../cipher/libcipher.a  ../util/libutil.a ../mpi/libmpi.a ../util/libutil.a -ldl -lgdbm  -lz
> ../util/libutil.a(iobuf.o): In function `iobuf_get_filelength':
> /tmp/gnupg-0.4.2/util/iobuf.c:1118: undefined reference to `fstat'
> /tmp/gnupg-0.4.2/util/iobuf.c:1129: undefined reference to `fstat'
> make[2]: *** [mpicalc] Error 1
> make[2]: Leaving directory `/tmp/gnupg-0.4.2/tools'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/gnupg-0.4.2'
> make: *** [all-recursive-am] Error 2

Ralph_Giles at
Maybe this is another time before when nothing was.

More information about the Gnupg-devel mailing list