Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 1998 00:30:31 -0500 (CDT)
From:      Jim Bryant <jbryant@unix.tfs.net>
To:        freebsd-current@FreeBSD.ORG
Subject:   _inet_ntoa and _inet_addr in libc.a
Message-ID:  <199807240530.AAA11316@argus.tfs.net>

next in thread | raw e-mail | index | archive | help
i have been patiently waiting for the following to be fixed for some
time now [note that tcp_wrappers is messed too]:

----
cd /usr/ports/security/ssh ; make
.
.
.
cc -pipe -I/usr/local/include  -o ssh ssh.o sshconnect.o log-client.o readconf.o hostfile.o readpass.o  tildexpand.o clientloop.o canohost.o  idea.o  rsa.o randoms.o md5.o buffer.o emulate.o packet.o compress.o  xmalloc.o ttymodes.o newchannels.o bufaux.o authfd.o authfile.o  crc32.o rsaglue.o cipher.o des.o match.o arcfour.o mpaux.o  userfile.o signals.o blowfish.o deattack.o   -L/usr/lib -lgmp -L/usr/lib -lz -lwrap -lcrypt -L/usr/local/lib  -lutil 
sshconnect.o: Undefined symbol `___inet_addr' referenced from text segment
sshconnect.o: Undefined symbol `___inet_ntoa' referenced from text segment
sshconnect.o: Undefined symbol `___inet_ntoa' referenced from text segment
canohost.o: Undefined symbol `___inet_ntoa' referenced from text segment
canohost.o: Undefined symbol `___inet_ntoa' referenced from text segment
canohost.o: Undefined symbol `___inet_ntoa' referenced from text segment
canohost.o: Undefined symbol `___inet_ntoa' referenced from text segment
canohost.o: Undefined symbol `___inet_ntoa' referenced from text segment
canohost.o: Undefined symbol `___inet_ntoa' referenced from text segment
canohost.o: Undefined symbol `___inet_ntoa' referenced from text segment
newchannels.o: Undefined symbol `___inet_addr' referenced from text segment
newchannels.o: Undefined symbol `___inet_addr' referenced from text segment
newchannels.o: Undefined symbol `___inet_addr' referenced from text segment
/usr/local/lib/libwrap.so.7.6: Undefined symbol `___inet_addr' referenced
*** Error code 1

Stop.

----

i have come up with two possible reasons for why this is still a
problem:

1). i am hopelessly out of sync with -current.
2). -current is hopelessly out of sync with it's own libs.

----

[/usr/include/arpa/inet.h]

/* XXX all new diversions!! argh!! */
#define inet_addr       __inet_addr
#define inet_aton       __inet_aton
#define inet_lnaof      __inet_lnaof
#define inet_makeaddr   __inet_makeaddr
#define inet_neta       __inet_neta
#define inet_netof      __inet_netof
#define inet_network    __inet_network
#define inet_net_ntop   __inet_net_ntop
#define inet_net_pton   __inet_net_pton
#define inet_ntoa       __inet_ntoa
#define inet_pton       __inet_pton
#define inet_ntop       __inet_ntop
#define inet_nsap_addr  __inet_nsap_addr
#define inet_nsap_ntoa  __inet_nsap_ntoa

----
[cd /usr/lib/aout ; nm libc.a]
.
.
.
00000000 I _inet_addr
.
.
.
00000000 I _inet_ntoa
.
.
.
inet_ntoa.o:
00000020 T ___inet_ntoa
         U ___inet_ntop

inet_addr.o:
         U __CurrentRuneLocale
         U __DefaultRuneLocale
         U ____runetype
00000000 T ___inet_addr
00000030 T ___inet_aton

----

jim
-- 
All opinions expressed are mine, if you    |  "I will not be pushed, stamped,
think otherwise, then go jump into turbid  |  briefed, debriefed, indexed, or
radioactive waters and yell WAHOO !!!      |  numbered!" - #1, "The Prisoner"
------------------------------------------------------------------------------
Inet: jbryant@tfs.net    AX.25: kc5vdj@wv0t.#neks.ks.usa.noam     grid: EM28pw
voice: KC5VDJ - 6 & 2 Meters AM/FM/SSB, 70cm FM.   http://www.tfs.net/~jbryant
------------------------------------------------------------------------------
HF/6M/2M: IC-706-MkII, 2M: HTX-212, 2M: HTX-202, 70cm: HTX-404, Packet: KPC-3+

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807240530.AAA11316>