From owner-freebsd-current Sun Jun 28 18:10:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA10107 for freebsd-current-outgoing; Sun, 28 Jun 1998 18:10:09 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from vampire.sung.org (ip-69-175.obt.primenet.com [207.218.69.175]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA10028 for ; Sun, 28 Jun 1998 18:09:52 -0700 (PDT) (envelope-from cwsung@Sung.org) Received: from win95.Sung.org (win95.sung.org [90.0.0.1]) by vampire.sung.org (8.8.8/8.8.8) with SMTP id SAA06995; Sun, 28 Jun 1998 18:09:45 -0700 (PDT) (envelope-from cwsung@Sung.org) Message-Id: <199806290109.SAA06995@vampire.sung.org> X-Sender: root@90.0.0.2 X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Sun, 28 Jun 1998 18:09:38 -0700 To: Terry Lambert From: Christian Sung Subject: Re: ImageMagik-4.0.7 -- Broken? Cc: current@FreeBSD.ORG In-Reply-To: <199806282352.QAA16655@usr07.primenet.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 11:52 PM 6/28/98 +0000, you wrote: >> 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. Yup, I must agree... > >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. Straight out of the package's Makefile (/usr/ports/graphics/ImageMagik...) > >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? Nope, Motif is not required. > > > 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 > Christian W. Sung E-Mail: cwsung@Sung.org IS Management Consultant Website: www.Sung.org Senior UNIX Consultant Telephone (800) COM-UNIX "And the UNIX Guru typed 'rm -rf /*', and all that was before, including the Guru himself, became then null and void, and darkness came down upon the system and those who worshiped it in a rather ruthless way." -- C.W. Sung ================================================== PGP Key Fingerprint: F6E2 0372 F765 28B6 6D34 7DF4 A928 A7AF 59A0 04CD ================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message