From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <46fc7ac0c0b8a7b67b341ca8113c3f6c.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199705212043.QAA02221@linux03.amt.tay1.dec.com> Date: Thu, 22 May 1997 10:11:24 +0200 (CEST) From: Andreas Johansson Subject: Re: libXmu.a not found (but it's there) In-Reply-To: On Wed, 21 May 1997, Rick Windham wrote: > Okay I found that problem *sigh* now on the final link it says undefined > reference to "ReadJPEG." But ReadJPEG is in the libjpeg.a library. I > even compiled the Mosaic version of libjpeg and I checked the source and > the function is there. > > Again, any ideas? Try to change the order in which the libraries are included on the link line. libjpeg should be later than the stuff that uses it. By the way, why are you linking libjpeg statically instead of dynamically? Just change the /usr/X11R6/lib/libjpeg.a to -ljpeg and put it in the end of the link line. I think that will do it. /Andreas -- <-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-> : E-mail: ajo@wopr.campus.luth.se : : S-mail: Andreas Johansson, Karhusvagen 5 6:618, 977 54 Lulea, SWEDEN : : Have you had your dose of 261.62 BogoMIPS today? - Run Alpha! : <-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-> -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com