From owner-freebsd-current Mon Aug 31 12:20:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA12866 for freebsd-current-outgoing; Mon, 31 Aug 1998 12:20:37 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mumford.stuy.edu (mumford.stuy.edu [149.89.1.27]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA12825 for ; Mon, 31 Aug 1998 12:20:13 -0700 (PDT) (envelope-from galatalt@stuy.edu) Received: from ernie.stuy.edu (galatalt@ernie.stuy.edu [149.89.1.30]) by mumford.stuy.edu (8.8.5/8.8.5) with SMTP id PAA05612 for ; Mon, 31 Aug 1998 15:20:51 -0400 Date: Mon, 31 Aug 1998 15:15:30 -0400 (EDT) From: Tugrul Galatali To: freebsd-current@FreeBSD.ORG Subject: XFree86 and ELF 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 Most ports are compiling just fine with ELF. The only problem I have encountered is compiling XFree86. The libs compile just fine from watching it scroll by now and then, but linking against the programs under the program subdirectory results in errors such as the following cc -o appres -O2 -ansi -pedantic -Dasm=__asm -L../../exports/lib appres.o -lXt -lSM -lICE -lXext -lX11 -L/usr/X11R6/lib -lxpg4 -Wl,-R,/usr/X11R6/lib ../../exports/lib/libICE.a(transport.o): In function `_IceTransSockINETConnect': transport.o(.text+0x1070): undefined reference to `inet_addr' ../../exports/lib/libICE.a(transport.o): In function `_IceTransGetPeerNetworkId': transport.o(.text+0x2912): undefined reference to `inet_ntoa' ../../exports/lib/libX11.a(ximtrans.o): In function `_X11TransSocketINETConnect': x11trans.o(.text+0x544): undefined reference to `inet_addr' ../../exports/lib/libX11.a(ximtrans.o): In function `_XimXTransSocketINETConnect': ximtrans.o(.text+0x510): undefined reference to `inet_addr' *** Error code 1 Stop. ... (quickly transcribed by hand ;) Anyone willing to post a makeshift patch to carry us along till the port gets ELF savvy, or to test the port to be? Tugrul Galatali To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message