svn trunk error

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Tue Aug 7 08:18:13 EDT 2007


Configured via:

./configure --enable-debug --with-freetype=/usr/bin/freetype-config
--with-zlib=/usr --with-png=/usr --with-jpeg=/usr --with-gd=/usr
--with-pdf=/usr/local --with-eppl --with-proj
=/usr/local --with-ogr=/usr/local/bin/gdal-config
--with-gdal=/usr/local/bin/gdal-config --without-tiff
--with-postgis=/usr/local/pgsql/bin/pg_config --with-wfs --with-wcs
--with
-wmsclient --with-wfsclient --with-curl-config=/usr/bin/curl-config
--with-xpm=/usr/local --with-php=/usr/local/src/php/php-5.2.3
--with-ming=/usr/local --with-sos --with-geos=/u
sr/local/bin/geos-config --with-agg=/usr

(agg 2.4)


......


g++ -g -O2 -fPIC -Wall  -DENABLE_STDERR_DEBUG   -DHAVE_VSNPRINTF
-DNEED_STRLCAT  -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_SOS_SVR -DUSE_MING_FLASH
-DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
-DUSE_AGG -DUSE_PDF   -DUSE_OGR -DUSE_GDAL -DUSE_GEOS -DUSE_ICONV
-DUSE_POSTGIS   -DUSE_ZLIB  -I/usr/include -I/usr/include/agg2
-I/usr/include/freetype2 -I/usr/local/include -I/usr/local/include
-I/usr/include   -I/usr/local/include -I/usr/local/pgsql/include
-I/usr/local/include  -I/usr/local/include   -I/usr/include
-I/usr/include/libxml2 shp2img.o  -L. -lmapserver -L/usr/lib -lgd
-L/usr/lib -ljpeg -lfreetype -L/usr/lib -lpng -L/usr/lib -lz -lXpm -lX11
-L/usr/lib -lagg -L/usr/local/lib -lpdf -L/usr/lib -ljpeg -lfreetype
-L/usr/lib -lpng -L/usr/lib -lz -lXpm -lX11  -L/usr/local/lib -lproj
-L/usr/lib -ljpeg  -L/usr/local/lib -lgdal -L/usr/local/lib -lxerces-c
-lpthread -lgif -ljpeg -lpng -lz -lm -lrt -ldl -L/usr/kerberos/lib
-lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl -lidn
-lssl -lcrypto -lz -L/usr/local/lib -lming -L/usr/local/pgsql/lib -lpq
-L/usr/kerberos/lib -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
-lresolv -ldl -lidn -lssl -lcrypto -lz    -L/usr/local/lib -lgeos_c  -lc
-L/usr/lib -lz -L/usr/lib -lxml2 -lz -lm -lm -lstdc++  -o shp2img
./libmapserver.a(mapagg.o): In function
`agg::font_cache_manager<agg::font_engine_freetype_int16>::glyph(unsigne
d int)':
/usr/include/agg2/agg_font_cache_manager.h:296: undefined reference to
`agg::font_engine_freetype_base::prepare_glyph(unsigned int)'
/usr/include/agg2/agg_font_cache_manager.h:306: undefined reference to
`agg::font_engine_freetype_base::write_glyph_to(unsigned char*) const'
./libmapserver.a(mapagg.o): In function `font_engine_freetype_int16':
/usr/include/agg2/agg_font_freetype.h:172: undefined reference to
`agg::font_engine_freetype_base::font_engine_freetype_base(bool,
unsigned int)'
./libmapserver.a(mapagg.o): In function
`AGGMapserverRenderer::renderGlyphs(double, double, colorObj*,
colorObj*, double, char*, char*, double, colorObj*, double, double,
bool)':
/home/tkralidi/mapserver/trunk/mapserver/mapagg.cpp:533: undefined
reference to `agg::font_engine_freetype_base::load_font(char const*,
unsigned int, agg::glyph_rendering, char const*, long)'
/home/tkralidi/mapserver/trunk/mapserver/mapagg.cpp:535: undefined
reference to `agg::font_engine_freetype_base::hinting(bool)'
/home/tkralidi/mapserver/trunk/mapserver/mapagg.cpp:536: undefined
reference to `agg::font_engine_freetype_base::height(double)'
/home/tkralidi/mapserver/trunk/mapserver/mapagg.cpp:537: undefined
reference to `agg::font_engine_freetype_base::width(double)'
/home/tkralidi/mapserver/trunk/mapserver/mapagg.cpp:538: undefined
reference to `agg::font_engine_freetype_base::resolution(unsigned int)'
/home/tkralidi/mapserver/trunk/mapserver/mapagg.cpp:539: undefined
reference to `agg::font_engine_freetype_base::flip_y(bool)'
./libmapserver.a(mapagg.o): In function `~font_engine_freetype_int16':
/usr/include/agg2/agg_font_freetype.h:163: undefined reference to
`agg::font_engine_freetype_base::~font_engine_freetype_base()'
/usr/include/agg2/agg_font_freetype.h:163: undefined reference to
`agg::font_engine_freetype_base::~font_engine_freetype_base()'
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1



More information about the mapserver-dev mailing list