From owner-freebsd-current Thu Sep 3 13:53:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA19170 for freebsd-current-outgoing; Thu, 3 Sep 1998 13:53:55 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from st-lcremean.tidalwave.net (host-e186.tidalwave.net [208.213.203.186] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA19155 for ; Thu, 3 Sep 1998 13:53:48 -0700 (PDT) (envelope-from lee@st-lcremean.tidalwave.net) Received: (from lee@localhost) by st-lcremean.tidalwave.net (8.8.8/8.8.7) id QAA00510; Thu, 3 Sep 1998 16:52:30 -0400 (EDT) (envelope-from lee) Message-ID: <19980903165230.A451@st-lcremean.tidalwave.net> Date: Thu, 3 Sep 1998 16:52:30 -0400 From: Lee Cremeans To: shmit@kublai.com, current@FreeBSD.ORG Subject: Re: Problems with ELF and UMich LDAP Reply-To: lcremean@tidalwave.net References: <19980903154530.B1597@kublai.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.1i In-Reply-To: <19980903154530.B1597@kublai.com>; from Brian Cully on Thu, Sep 03, 1998 at 03:45:30PM -0400 X-OS: FreeBSD 3.0-CURRENT X-Evil: microsoft.com Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Sep 03, 1998 at 03:45:30PM -0400, Brian Cully wrote: > I was trying to compile the UMich LDAP package after converting to > ELF and I got this message: > > gcc -o ltest test.o -L. -L../liblber -lldap -llber > ./libldap.a(os-ip.o): In function `connect_to_host': > os-ip.o(.text+0x5a): undefined reference to `inet_addr' > os-ip.o(.text+0x185): undefined reference to `inet_ntoa' > os-ip.o(.text+0x1d5): undefined reference to `inet_ntoa' > *** Error code 1 You need to have os-ip.h include ; weak symbols in ELF are broken at the moment. -- Lee Cremeans -- Manassas, VA, USA (WakkyMouse on DALnet and WTnet) A! JW223 YWD+++^ri P&B++ SL+++^i GDF B&M KK--i MD+++i P++ I++++ Did $++ E5/10/70/3c/73ac/95/96 H2 PonPippi Ay77 M | mailto:lcremean@tidalwave.net http://st-lcremean.tidalwave.net | Powered by FreeBSD 3.0-CURRENT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message