On Fri, Jan 23, 2009 at 1:21 PM, GRASS GIS <t...@osgeo.org> wrote: > #456: Undefined references when building grass 6.4 rc2 >Ticket URL: <http://trac.osgeo.org/grass/ticket/456> ... > Fixed also in GRASS 7.
... except for this one: gcc -shared -o /home/neteler/grass70/dist.x86_64-unknown-linux-gnu/lib/libgrass_cairodriver.7.0.svn.so -L/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/lib -Wl,--no-undefined -Wl,--export-dynamic -L/usr/lib64 -Wl,-rpath-link,/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/lib OBJ.x86_64-unknown-linux-gnu/Box.o OBJ.x86_64-unknown-linux-gnu/Color.o OBJ.x86_64-unknown-linux-gnu/Draw_bitmap.o OBJ.x86_64-unknown-linux-gnu/Draw.o OBJ.x86_64-unknown-linux-gnu/Driver.o OBJ.x86_64-unknown-linux-gnu/Erase.o OBJ.x86_64-unknown-linux-gnu/Graph.o OBJ.x86_64-unknown-linux-gnu/Line_width.o OBJ.x86_64-unknown-linux-gnu/Raster.o OBJ.x86_64-unknown-linux-gnu/read_bmp.o OBJ.x86_64-unknown-linux-gnu/read.o OBJ.x86_64-unknown-linux-gnu/read_ppm.o OBJ.x86_64-unknown-linux-gnu/read_xid.o OBJ.x86_64-unknown-linux-gnu/Set_window.o OBJ.x86_64-unknown-linux-gnu/Text.o OBJ.x86_64-unknown-linux-gnu/write_bmp.o OBJ.x86_64-unknown-linux-gnu/write.o OBJ.x86_64-unknown-linux-gnu/write_ppm.o OBJ.x86_64-unknown-linux-gnu/write_xid.o -lgrass_driver -lgrass_gis -lgrass_datetime -lz -lfreetype -lgrass_gis -lgrass_datetime -lz -lXrender -lcairo -lX11 -lm -lSM -lICE -lX11 && \ (cd /home/neteler/grass70/dist.x86_64-unknown-linux-gnu/lib; ln -f -s libgrass_cairodriver.7.0.svn.so /home/neteler/grass70/dist.x86_64-unknown-linux-gnu/lib/libgrass_cairodriver.so) OBJ.x86_64-unknown-linux-gnu/Text.o: In function `fc_init': /home/neteler/grass70/lib/cairodriver/Text.c:180: undefined reference to `FcInit' OBJ.x86_64-unknown-linux-gnu/Text.o: In function `set_font_fc': /home/neteler/grass70/lib/cairodriver/Text.c:198: undefined reference to `FcNameParse' /home/neteler/grass70/lib/cairodriver/Text.c:199: undefined reference to `FcDefaultSubstitute' /home/neteler/grass70/lib/cairodriver/Text.c:200: undefined reference to `FcConfigGetCurrent' /home/neteler/grass70/lib/cairodriver/Text.c:200: undefined reference to `FcConfigSubstitute' /home/neteler/grass70/lib/cairodriver/Text.c:201: undefined reference to `FcConfigGetCurrent' /home/neteler/grass70/lib/cairodriver/Text.c:201: undefined reference to `FcFontMatch' OBJ.x86_64-unknown-linux-gnu/Text.o: In function `font_list_fc': /home/neteler/grass70/lib/cairodriver/Text.c:217: undefined reference to `FcPatternCreate' /home/neteler/grass70/lib/cairodriver/Text.c:218: undefined reference to `FcObjectSetBuild' /home/neteler/grass70/lib/cairodriver/Text.c:219: undefined reference to `FcFontList' /home/neteler/grass70/lib/cairodriver/Text.c:228: undefined reference to `FcPatternGetString' /home/neteler/grass70/lib/cairodriver/Text.c:229: undefined reference to `FcPatternGetString' /home/neteler/grass70/lib/cairodriver/Text.c:240: undefined reference to `FcObjectSetDestroy' /home/neteler/grass70/lib/cairodriver/Text.c:241: undefined reference to `FcPatternDestroy' /home/neteler/grass70/lib/cairodriver/Text.c:242: undefined reference to `FcFontSetDestroy' collect2: ld returned 1 exit status make: *** [/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/lib/libgrass_cairodriver.7.0.svn.so] Error 1 Apparently CAIRO_HAS_FT_FONT isn't set as missing from include/config.h if I understand the problem correctly. Markus _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev