Date: Mon, 31 Aug 1998 15:15:30 -0400 (EDT) From: Tugrul Galatali <galatalt@stuy.edu> To: freebsd-current@FreeBSD.ORG Subject: XFree86 and ELF Message-ID: <Pine.LNX.3.96.980831150333.26883A-100000@ernie.stuy.edu>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.980831150333.26883A-100000>