From owner-freebsd-current Thu Sep 3 13:37:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA15601 for freebsd-current-outgoing; Thu, 3 Sep 1998 13:37:33 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA15596 for ; Thu, 3 Sep 1998 13:37:30 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id VAA09554; Thu, 3 Sep 1998 21:36:49 +0100 (BST) Date: Thu, 3 Sep 1998 21:36:49 +0100 (BST) From: Doug Rabson To: Brian Cully cc: current@FreeBSD.ORG Subject: Re: Problems with ELF and UMich LDAP In-Reply-To: <19980903154530.B1597@kublai.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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