Stef, When I built cairo, the file cairo-test.c did not get compiled.
The missing symbol is in libcairo, so it sounds like a linker problem, which could be caused by libtool. -Joseph ================================================================= On Sat, 2005-07-16 at 18:53 +0200, Stef van der Made wrote: > > Dear Gentleman, > > I'm having serious issues when trying to compile cairo using garnome :-( > When compiling it in my base system slackware it works fine but when > trying to compile cairo within the garnome build system. I get the > following compilation log: > > snip > > Making all in test > make[10]: Entering directory > `/usr/download/garnome-2.11-20050715.1850/freedesktop/cairo/work/main.d/cairo-0.5.1/test' > /bin/sh ../libtool --tag=CC --mode=link ccache cc -g > -I/usr/test/garnome3/include -L/usr/test/garnome3/lib -O2 -pipe > -mtune=athlon-tbird -Wl,--export-dynamic -L/usr/test/garnome3/lib -o > imagediff imagediff.o libcairotest.la ../src/libcairo.la -lm > ccache cc -g -I/usr/test/garnome3/include -O2 -pipe -mtune=athlon-tbird > -Wl,--export-dynamic -o .libs/imagediff imagediff.o > -L/usr/test/garnome3/lib ./.libs/libcairotest.a ../src/.libs/libcairo.so > -L/usr/X11R6/lib /usr/test/garnome3/lib/libXrender.so -lX11 > /usr/test/garnome3/lib/libpixman.so > /usr/test/garnome3/lib/libfontconfig.so -lexpat > /usr/test/garnome3/lib/libfreetype.so -lz -lm -Wl,--rpath > -Wl,/usr/test/garnome3/lib > ./.libs/libcairotest.a(cairo-test.o)(.text+0x6df): In function > `cairo_test_expecting': > /usr/download/garnome-2.11-20050715.1850/freedesktop/cairo/work/main.d/cairo-0.5.1/test/cairo-test.c:458: > > undefined reference to `cairo_surface_write_to_png' > ./.libs/libcairotest.a(read-png.o)(.text+0x119): In function > `read_png_argb32': > /usr/download/garnome-2.11-20050715.1850/freedesktop/cairo/work/main.d/cairo-0.5.1/test/read-png.c:99: > > undefined reference to `png_check_sig' > ./.libs/libcairotest.a(read-png.o)(.text+0x19b):/usr/download/garnome-2.11-20050715.1850/freedesktop/cairo/work/main.d/cairo-0.5.1/test/read-png.c:106: > > undefined reference to `png_create_read_struct' > ./.libs/libcairotest.a(read-png.o)(.text+0x1d1):/usr/download/garnome-2.11-20050715.1850/freedesktop/cairo/work/main.d/cairo-0.5.1/test/read-png.c:116: > > undefined reference to `png_create_info_struct' > > snip > > I have no clue at all what is going wrong. I've got all the dependencies > I would expect built on my system so why doesn't cairo pick them up :-( > > Thanks for any tips on how to resolve the issue. > > Best regards, > > Stef -- joseph_sacco [at] comcast [dot] net -- garnome-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/garnome-list
