Actually, i have two cairo version. One version is installed from repository and second one is 1.10.2.Strange, which cairo version do you have? You need at least 1.10.0. May be you have several cairo versions and it does not link to the correct one. Try make V=1 to check which is used. Version 1.10.2 is installed from source with prefix=/home/ya/mylibs/gtk3 I wrote PKG_CONFIG_PATH, LD_LIBRARY_PATH, CPPFLAGS, LDFLAGS : ya@debian:~/mylibs/source/gtk+-3.0.11$ echo $PKG_CONFIG_PATH /home/ya/mylibs/gtk3/lib/pkgconfig echo $LD_LIBRARY_PATH /home/ya/mylibs/gtk3/lib ya@debian:~/mylibs/source/gtk+-3.0.11$ echo $CPPFLAGS -I/home/ya/mylibs/gtk3/include ya@debian:~/mylibs/source/gtk+-3.0.11$ echo $LDFLAGS -L/home/ya/mylibs/gtk3/lib This is output of ls -l /home/ya/mylibs/gtk3/lib/libcairo.so ya@debian:~/mylibs/source/gtk+-3.0.11$ ls -l /home/ya/mylibs/gtk3/lib/libcairo.so lrwxrwxrwx 1 root root 21 Июл 22 15:35 /home/ya/mylibs/gtk3/lib/libcairo.so -> libcairo.so.2.11000.2 This is output of make V=1, looks like both versions of libcairo.so are used. Making all in tests make[4]: Entering directory `/home/ya/mylibs/source/gtk+-3.0.11/gdk/tests' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -pthread -I/home/ya/mylibs/gtk3/include/glib-2.0 -I/home/ya/mylibs/gtk3/lib/glib-2.0/include -I/home/ya/mylibs/gtk3/include/pango-1.0 -I/home/ya/mylibs/gtk3/include/cairo -I/home/ya/mylibs/gtk3/include/pixman-1 -I/home/ya/mylibs/gtk3/include/gio-unix-2.0/ -I/home/ya/mylibs/gtk3/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I../.. -I../../gdk -I/home/ya/mylibs/gtk3/include -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -g -O2 -Wall -MT gdk-color.o -MD -MP -MF .deps/gdk-color.Tpo -c -o gdk-color.o gdk-color.c mv -f .deps/gdk-color.Tpo .deps/gdk-color.Po /bin/bash ../../libtool --tag=CC --mode=link gcc -std=gnu99 -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -g -O2 -Wall -L/home/ya/mylibs/gtk3/lib -o gdk-color gdk-color.o -pthread -L/home/ya/mylibs/gtk3/lib -lpangocairo-1.0 -lpango-1.0 -lgio-2.0 -lfontconfig -lXext -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lgdk_pixbuf-2.0 -lm -lgmodule-2.0 -lpng12 -lX11 -lcairo-gobject -lcairo -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 ../../gdk/libgdk-3.la libtool: link: gcc -std=gnu99 -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -g -O2 -Wall -o .libs/gdk-color gdk-color.o -pthread -L/home/ya/mylibs/gtk3/lib ../../gdk/.libs/libgdk-3.so /home/ya/mylibs/gtk3/lib/libpangocairo-1.0.so /usr/lib/libcairo.so /home/ya/mylibs/gtk3/lib/libpangoft2-1.0.so /home/ya/mylibs/gtk3/lib/libpango-1.0.so -lXext -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes /home/ya/mylibs/gtk3/lib/libgdk_pixbuf-2.0.so /home/ya/mylibs/gtk3/lib/libgio-2.0.so -lresolv /home/ya/mylibs/gtk3/lib/libgmodule-2.0.so -ldl /home/ya/mylibs/gtk3/lib/libcairo-gobject.so /home/ya/mylibs/gtk3/lib/libcairo.so /home/ya/mylibs/gtk3/lib/libpixman-1.so -lfontconfig /usr/lib/libfreetype.so -lpng12 -lXrender -lX11 -lz -lm /home/ya/mylibs/gtk3/lib/libgobject-2.0.so /home/ya/mylibs/gtk3/lib/libgthread-2.0.so -lpthread /home/ya/mylibs/gtk3/lib/libglib-2.0.so -lrt -pthread -Wl,-rpath -Wl,/home/ya/mylibs/gtk3/lib ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_destroy' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_get_extents' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_contains_point' /home/ya/mylibs/gtk3/lib/libcairo-gobject.so: undefined reference to `cairo_region_reference' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_is_empty' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_get_rectangle' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_num_rectangles' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_create_rectangles' /home/ya/mylibs/gtk3/lib/libcairo-gobject.so: undefined reference to `cairo_device_destroy' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_translate' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_subtract_rectangle' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_contains_rectangle' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_intersect' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_subtract' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_union' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_create' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_union_rectangle' /home/ya/mylibs/gtk3/lib/libcairo-gobject.so: undefined reference to `cairo_device_reference' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_copy' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_create_rectangle' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_surface_create_for_rectangle' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_intersect_rectangle' ../../gdk/.libs/libgdk-3.so: undefined reference to `cairo_region_equal' collect2: ld returned 1 exit status make[4]: *** [gdk-color] Error 1 make[4]: Leaving directory `/home/ya/mylibs/source/gtk+-3.0.11/gdk/tests' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/ya/mylibs/source/gtk+-3.0.11/gdk' make[2]: *** [all] Ошибка 2 make[2]: Leaving directory `/home/ya/mylibs/source/gtk+-3.0.11/gdk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ya/mylibs/source/gtk+-3.0.11/gdk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ya/mylibs/source/gtk+-3.0.11' make: *** [all] Error 2 What i missed? |
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list