From owner-freebsd-current Sun Jun 28 16:53:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA28988 for freebsd-current-outgoing; Sun, 28 Jun 1998 16:53:12 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp03.primenet.com (daemon@smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA28955 for ; Sun, 28 Jun 1998 16:52:55 -0700 (PDT) (envelope-from tlambert@usr07.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id QAA15270; Sun, 28 Jun 1998 16:52:54 -0700 (MST) Received: from usr07.primenet.com(206.165.6.207) via SMTP by smtp03.primenet.com, id smtpd015221; Sun Jun 28 16:52:51 1998 Received: (from tlambert@localhost) by usr07.primenet.com (8.8.5/8.8.5) id QAA16655; Sun, 28 Jun 1998 16:52:49 -0700 (MST) From: Terry Lambert Message-Id: <199806282352.QAA16655@usr07.primenet.com> Subject: Re: ImageMagik-4.0.7 -- Broken? To: cwsung@Sung.org (Christian Sung) Date: Sun, 28 Jun 1998 23:52:49 +0000 (GMT) Cc: current@FreeBSD.ORG In-Reply-To: from "Christian Sung" at Jun 28, 98 03:23:39 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Making all in xlib > cc -DHAVE_CONFIG_H -I. -I. -I./magick -I./magick -I/usr/X11R6/include -I/usr/loc > al/include -I/usr/X11R6/include -O -pipe -c animate.c > /bin/sh ./libtool --mode=link cc -O -pipe -o animate animate.o magick/libMagic > k.la -L/usr/local/lib -L/usr/X11R6/lib -lX11 -lXext -lXt -ljbig -ljpeg -lmpeg > -lpng -lttf -lz -lm > mkdir .libs > LD_LIBRARY_PATH="magick/.libs:$LD_LIBRARY_PATH" cc -O -pipe -o .libs/animate ani > mate.o -R/usr/local/lib -lMagick -L/usr/local/lib -L/usr/X11R6/lib -lX11 -lXext > -lXt -ljbig -ljpeg -lmpeg -lpng -lttf -lz -lm -L/usr/local/lib -L/usr/X11R6/lib > -lX11 -lXext -lXt -ljbig -ljpeg -lmpeg -lpng -lttf -lz -lm > animate.o: Undefined symbol `_SetClientName' referenced from text segment > animate.o: Undefined symbol `_XGetScreenDensity' referenced from text segment > *** Error code 1 This has got to be one of the most utterly bogus link lines that I have ever seen. First, the -lXext -lXt order is wrong. Second, each library only has to appear once. If it's appearing more than once, you probably have the library names in the wrong order, since those particular libraries don't have cross-dependencies. I was also unable to find "XGetScreenDensity" in all of the X11R6 sources; "SetClientName" seems to be a window-manager related function; perhaps you need Motif? Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message