From owner-freebsd-ports Thu Oct 1 07:53:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA29970 for freebsd-ports-outgoing; Thu, 1 Oct 1998 07:53:46 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from lexmark.lexmark.com (interlock2.lexmark.com [192.146.101.10]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id HAA29958 for ; Thu, 1 Oct 1998 07:53:41 -0700 (PDT) (envelope-from fireston@lexmark.com) Received: by interlock2.lexmark.com id AA21453 (InterLock SMTP Gateway 3.0 for freebsd-ports@FreeBSD.ORG); Thu, 1 Oct 1998 10:53:24 -0400 Message-Id: <199810011453.AA21453@interlock2.lexmark.com> Received: by interlock2.lexmark.com (Protected-side Proxy Mail Agent-1); Thu, 1 Oct 1998 10:53:24 -0400 From: Mik Firestone Subject: Problems building libXpm To: freebsd-ports@FreeBSD.ORG (port list Port list) Date: Thu, 1 Oct 1998 10:53:11 +0000 (GMT) Reply-To: fireston@lexmark.com X-Mailer: ELM [version 2.4ME+ PL43 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I am recently installed with 3.0-19980923-SNAP and I am fully ELFitized. Everything has been fine and working smooth - I was able to install all the non-X related ports I commonly use ( screen, sudo, etc ). Indeed I was even able to build and install XFree86 with no noticable pain ( thanks indeed to the porters for that one ). It is when I try to build libXpm that I have problems. The library builds correctly, but when I try to link sxpm, I see: rm -f sxpm cc -o sxpm -O2 -fno-strength-reduce -L/usr/lib/compat -L/usr/X11R6/lib sxpm.o -L../lib -L/usr/X11R6/lib -lXpm -lXt -lSM -lICE -lXext -lX11 -lgnumalloc -Wl,-rpath,/usr/X11R6/lib:/usr/X11R6/lib *** Error code 1 Stop. sxpm.o: In function `main': sxpm.o(.text+0x3f0): undefined reference to `XpmReadFileToPixmap' sxpm.o(.text+0xa9f): undefined reference to `XpmReadFileToPixmap' sxpm.o(.text+0xb6b): undefined reference to `XpmCreatePixmapFromData' sxpm.o(.text+0xbb4): undefined reference to `XpmWriteFileFromPixmap' sxpm.o: In function `Punt': sxpm.o(.text+0xf47): undefined reference to `XpmFreeAttributes' sxpm.o(.text+0xfb2): undefined reference to `XpmFreeAttributes' sxpm.o: In function `VersionInfo': sxpm.o(.text+0x1069): undefined reference to `XpmLibraryVersion' sxpm.o(.text+0x1078): undefined reference to `XpmLibraryVersion' Using my (limitted) powers, I am quite certain these functions are in libXpm and the linker is finding libXpm. The port is not marked broken the make file has the OBJFORMAT voodoo at the bottom, so I am assuming it should work in an ELF world. I have also built a variety of other graphics libraries without any problems. So, what have I missed, how do I fix this or is it safe to ignore ( I don't use sxpm anyway :). Thanks for any help, Mik -- Mik Firestone fireston@lexmark.com If ever I become an Evil Overlord: No matter how attractive certain members of the rebellion are, there is probably someone just as attractive who is not desperate to kill me. Therefore, I will think twice before ordering a prisoner sent to my bedchamber. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message