Re: gdk_imlib problem
- From: raster redhat com
- To: tlewis mindspring net
- cc: mandrake mandrake net, gnome nuclecu unam mx
- Subject: Re: gdk_imlib problem
- Date: Thu, 16 Jul 1998 12:18:16 -0400 (EDT)
On 16 Jul, Todd Graham Lewis shouted:
-> On Thu, 16 Jul 1998, Geoff Harrison wrote:
->
-> > You don't accidentally have a .deps directory that was created there, do
-> > you?
-> > that could potentially cause problems like this.
-> > rm -rf .deps and try again
->
-> find -name .deps -exec rm -rf {} \; did the trick; thanks!
->
-> Now I've got another one:
->
-> reflections% make ~/gnome/cvs/imlib/utils
-> /bin/sh ../libtool --mode=link gcc -g -O2 -o imlib_config imlib_config.o icons.o testimg.o ../gdk_imlib/libgdk_imlib.la -L/usr/local/lib -L/usr/X11R6/lib -lgtk-1.1 -lgdk-1.1 -L/usr/local/lib -lglib-1.1 -lXext -lX11 -lm -lpng -ljpeg -ltiff -lungif -lz -
-> lm
-> gcc -g -O2 -o .libs/imlib_config imlib_config.o icons.o testimg.o -Wl,-rpath -Wl,/usr/local/lib ../gdk_imlib/.libs/libgdk_imlib.so -L/usr/local/lib -L/usr/X11R6/lib -lgtk-1.1 -lgdk-1.1 -L/usr/local/lib -lglib-1.1 -lXext -lX11 -lm -lpng -ljpeg -ltiff -lung
-> if -lz -lm
-> ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_sBIT'
-> ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_set_IHDR'
-> ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_get_valid'
-> ../gdk_imlib/.libs/libgdk_imlib.so: undefined reference to `png_get_IHDR'
-> make: *** [imlib_config] Error 1
->
-> This might relate to that whole "the order of your -l flags can screw you
-> up in some mysterious way" phenomenon which I don't understand. What I
-> do know is that the -lpng flag which is prominently in the failing command
-> should work from everything I know, to wit:
->
-> reflections% nm /usr/lib/libpng.a |grep png_set_IHDR ~/gnome/cvs/imlib/utils
-> 00000120 T png_set_IHDR
-> U png_set_IHDR
->
-> And libgdk_imlib.so appears to have been built with -lpng as well.
->
-> This I do not understand.
this loosklike the classing multiple versions of a library installe din
serveral places problem. :) (ie u have multiple libpng's installe din
seeparate lib dirs with different headers).
-> --
-> Todd Graham Lewis (800) 719-4664, x2804
-> ******Linux****** MindSpring Enterprises tlewis@mindspring.net
->
->
--
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
raster@rasterman.com /\___ /\ ___/||\___ ____/|/\___ raster@redhat.com
Carsten Haitzler | _ //__\\ __||_ __\\ ___|| _ / Red Hat Advanced
218/21 Conner Drive || // __ \\_ \ | | \ _/_|| / Development Labs
Chapel Hill NC 27514 USA ||\\\/ \//__/ |_| /___/||\\ 919 547 0012 ext 282
+1 (919) 929 9443, 801 4392 For pure Enlightenment http://www.rasterman.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]