Compile problems (control-center)



  Just grabbed the latest 99.3/99.3.1 stuff and imlib 1.9.0. Due to the
new imlib I basically started all over and started from scratch, everything
built fine until I hit control-center (0.99) where I get the following:

gcc -O2 -Wall -Wno-unused -o .libs/screensaver-properties-capplet screensaver-properties-capplet.o callbacks.o screensaver-dialog.o parser.o -Wl,-rpath -Wl,/usr/local/lib ../../control-center/.libs/libcapplet.so -rdynamic -L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/lib -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib -lm -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -lm -laudiofile -ldb -lglib -ldl -lImlib -lgnorba
/usr/local/lib/libImlib.so: undefined reference to `png_set_sBIT'
/usr/local/lib/libImlib.so: undefined reference to `DGifGetExtensionNext'
/usr/local/lib/libImlib.so: undefined reference to `jpeg_read_scanlines'
/usr/local/lib/libImlib.so: undefined reference to `DGifGetRecordType'
/usr/local/lib/libImlib.so: undefined reference to `DGifGetImageDesc'
<snip>
/usr/local/lib/libImlib.so: undefined reference to `jpeg_write_scanlines'
/usr/local/lib/libImlib.so: undefined reference to `png_destroy_write_struct'
/usr/local/lib/libImlib.so: undefined reference to `png_libpng_ver'
/usr/local/lib/libImlib.so: undefined reference to `png_set_shift'
/usr/local/lib/libImlib.so: undefined reference to `TIFFGetField'
/usr/local/lib/libImlib.so: undefined reference to `png_init_io'
collect2: ld returned 1 exit status
make[3]: *** [screensaver-properties-capplet] Error 1
make[3]: Leaving directory `/usr/local/src/Work/GNOME/control-center-0.99/capplets/screensaver-properties'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/Work/GNOME/control-center-0.99/capplets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/Work/GNOME/control-center-0.99'
make: *** [all-recursive-am] Error 2

  There was actually quite a few more undefined references which I cut out,
but you should get the idea. Using 'nm' they aren't defined in libImlib or
any of the other imlibs (libimlib-png, etc.). Imlib itself built fine so I
guess I'm at a loss here on how to fix. I remember seeing a message earlier
about linking with '-lImlib' but its already in there.
  Any thoughts, ideas on whats going on and how to proceed ?

--
No lady, I said you've got a great set of BITS.

Mike Hall <mhall@riverside.org>, (MH993)   -    http://www.riverside.org
System Administrator (*nix, Perl, CGI hacker, certified OS/2 Specialist)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]