Error during make - i386ld fatal:Symbol referencing error
John Hill
jhill@munis.com
Wed Jan 15 11:08:18 2003
Hello all,
I am trying to compile GnuPG v1.2.1 on an SCO 5.0.6 system. The configure
looks like it goes well (I run it with the --disable-asm option) but when I
issue the make command I get the messages below. I am using Gnu make 3.80.
When running the build.sh script for make I got a message "command line:
fatal: cannot open ./remote-@REMOTE@.c: No such file or directory." So I
changed the line "REMOTE = '@REMOTE@' in the build.sh to "REMOTE = 'stub'.
I also get the message "command line: fatal: cannot open ./getloadavg$U.c:
No such file or directory" So I deleted the $U from the line
"extras='getloadavg$U'. Is this acceptable? What are the implications.
Thanks.
John Hill
/u1/db_bu/GNU/gnupg-1.2.1/../make all-recursive
make[1]: Entering directory `/u1/db_bu/GNU/gnupg-1.2.1'
Making all in intl
make[2]: Entering directory `/u1/db_bu/GNU/gnupg-1.2.1/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/u1/db_bu/GNU/gnupg-1.2.1/intl'
Making all in zlib
make[2]: Entering directory `/u1/db_bu/GNU/gnupg-1.2.1/zlib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/u1/db_bu/GNU/gnupg-1.2.1/zlib'
Making all in util
make[2]: Entering directory `/u1/db_bu/GNU/gnupg-1.2.1/util'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/u1/db_bu/GNU/gnupg-1.2.1/util'
Making all in mpi
make[2]: Entering directory `/u1/db_bu/GNU/gnupg-1.2.1/mpi'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/u1/db_bu/GNU/gnupg-1.2.1/mpi'
Making all in cipher
make[2]: Entering directory `/u1/db_bu/GNU/gnupg-1.2.1/cipher'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/u1/db_bu/GNU/gnupg-1.2.1/cipher'
Making all in tools
make[2]: Entering directory `/u1/db_bu/GNU/gnupg-1.2.1/tools'
cc -g -o bftest bftest.o ../cipher/libcipher.a ../mpi/libmpi.a
../util/libut
il.a -lsocket ../intl/libintl.a
undefined first referenced
symbol in file
inet_addr /usr/lib/libsocket.a
dn_expand /usr/lib/libsocket.a
h_errno /usr/lib/libsocket.a
__dn_skipname /usr/lib/libsocket.a
_getshort /usr/lib/libsocket.a
_res /usr/lib/libsocket.a
__res_init /usr/lib/libsocket.a
inet_aton /usr/lib/libsocket.a
__res_search /usr/lib/libsocket.a
__res_query /usr/lib/libsocket.a
inet_ntoa /usr/lib/libsocket.a
i386ld fatal: Symbol referencing errors. No output written to bftest
make[2]: *** [bftest] Error 13
make[2]: Leaving directory `/u1/db_bu/GNU/gnupg-1.2.1/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/u1/db_bu/GNU/gnupg-1.2.1'
make: *** [all] Error 2