From owner-freebsd-questions Mon Nov 3 12:00:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA28922 for questions-outgoing; Mon, 3 Nov 1997 12:00:25 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gatekeep.kcc.com (GATEKEEP.kcc.com [192.136.16.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA28913 for ; Mon, 3 Nov 1997 12:00:19 -0800 (PST) (envelope-from ellis@kcc.com) Received: from ustcax00.kcc.com (ustcax00.kcc.com [165.28.96.93]) by gatekeep.kcc.com with ESMTP (8.7.1/8.7.1) id OAA24246 for ; Mon, 3 Nov 1997 14:07:57 -0600 (CST) Received: by ustcax00.kcc.com with Internet Mail Service (5.0.1458.49) id ; Mon, 3 Nov 1997 14:00:06 -0600 Message-ID: <9362D9ACFC2DD11182D400805F199934183016@ustcax06.kcc.com> From: "Ellis, Joshua" To: "'freebsd-questions@freebsd.org'" Subject: Is ___inet_ntoa missing from libc, or Perl just confused? Date: Mon, 3 Nov 1997 14:00:03 -0600 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1458.49) Content-Type: text/plain Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Recently re-installed the Perl5 port, and got some errors about inet_ntoa missing in Socket.so in a new script that I installed. Checked libc, and inet_ntoa appeared to be there, so I went back to the perl5 port and re-ran Configure to tell it to use a static copy of Socket. When that went to compile, it stopped on an error about "Undefined symbol `___inet_ntoa' referenced from text segment" and a matching one for ___inet_aton. So I went to the lwp port, and ran a "make test" out of the work/libwww-perl-5.12 directory, and the tests failed: local/http........../usr/libexec/ld.so: Undefined symbol "___inet_ntoa" called from perl:/usr/local/lib/ perl5/i386-freebsd/5.00401/auto/Socket/Socket.so at 0x8138110 Very odd, but I've verified that sys/socket.h was indeed being included in the Perl source, and libc was being compiled in, and that the /usr/src/libc/net hierarchy was being compiled into libc. Anyone have any ideas? Running 2.2-STABLE, freshly made from a cvsup as of "Thu Oct 30 18:22:09 CST 1997". Compiler optimizations set for -O2 -m486 -pipe. I have no way of knowing if this was working last week, as I hadn't attempted using lwp before last week. Any help would be appreciated. -joshua ----- >>>>> Joshua Ellis - Consultant - Omni Resources - Green Bay WI <<<<< ellis@kcc.com http://www.kimberly-clark.com josh@apostate.com http://www.apostate.com > poet-apostate-philosopher-musician-pinhead-mystic-webmaestro-japh < ****[S-D-G]************************************[-0.8090169943749]****