Error during make - i386ld fatal:Symbol referencing error
John Hill
jhill@munis.com
Wed Jan 15 16:38:02 2003
Thanks David.
I issued command
cc -g -o bftest bftest.o ../cipher/libcipher.a ../mpi/libmpi.a
../util/libutil.a \
-lsocket -lnsl ../intl/libintl.a
on the command line from the tools subdirectory and received the same error
message, which I have included again. I have link in the /usr/lib directory
for libsocket.a. It points to the file
/var/opt/K/SCO/tcpdev/2.1.1Ga/usr/lib/libsocket.a. This file had
permissions 444, is owned by bin and is in the bin group. It is 245426
bytes in size and is dated Jul 19,2000.
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
John Hill
> -----Original Message-----
> From: John Hill [mailto:jhill@munis.com]
> Sent: Tuesday, January 14, 2003 4:34 PM
> To: 'gnupg-users@gnupg.org'
> Subject: Error during make - i386ld fatal:Symbol referencing error
>
> 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