Mailing List Archive

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

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
make[2]: Entering directory `/tmp/gnupg-0.4.2/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/gnupg-0.4.2/intl'
Making all in po
make[2]: Entering directory `/tmp/gnupg-0.4.2/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/gnupg-0.4.2/po'
Making all in zlib
make[2]: Entering directory `/tmp/gnupg-0.4.2/zlib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/gnupg-0.4.2/zlib'
Making all in util
make[2]: Entering directory `/tmp/gnupg-0.4.2/util'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/gnupg-0.4.2/util'
Making all in mpi
make[2]: Entering directory `/tmp/gnupg-0.4.2/mpi'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/gnupg-0.4.2/mpi'
Making all in cipher
make[2]: Entering directory `/tmp/gnupg-0.4.2/cipher'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/gnupg-0.4.2/cipher'
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

Can anyone please tell me what's going wrong? I keep trying to get gnupg to
work so I can program with it better, but keep hitting walls. Thanks.

Chris Wiegand

'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 viri known as Windows.
Re: gpg on debian with fstat [ In reply to ]
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.

-ralph

> 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@sfu.ca
Maybe this is another time before when nothing was.
------------------------------------------------------