Date: Thu, 3 Sep 1998 21:36:49 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: Brian Cully <shmit@kublai.com> Cc: current@FreeBSD.ORG Subject: Re: Problems with ELF and UMich LDAP Message-ID: <Pine.BSF.4.01.9809032136280.360-100000@herring.nlsystems.com> In-Reply-To: <19980903154530.B1597@kublai.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 3 Sep 1998, 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 > > Which is totally bizarre to me, considering that the inet_* functions > live in libc. When I use `gcc -aout' everything works fine. > > I'm at a loss as to why this is happening, perhaps someone can shed > some light? This should be fixed. Just rebuild libc. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 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?Pine.BSF.4.01.9809032136280.360-100000>