Compile-Error 4.3-nightly on SuSE

Benjamin Thelen bt at CCGIS.DE
Thu Oct 21 12:39:43 EDT 2004


Hi,

I successfully built nightly builds from 24.09.04, 04.10.04 and
21.10.04 on FreeBSD 4.10. But on SuSE 9.0 building fails with the
error message below. Building 4.2.5 on SuSE is successful.

As I thought, the error could have something to do with an old
libiconv (1.9.1), I installed libiconv-1.9.2, but it didn't help it.


Thing is, we need the hatching function of mapserver on SuSE :-(.
Somebody any idea? I appreciate any hint!

Thanks very much,
Ben


gcc -c -O2 -fPIC  -Wall -DIGNORE_MISSING_DATA -DNEED_STRLCAT
-DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR
-DUSE_WFS_LYR      -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
-DUSE_GD_FT   -DUSE_OGR -DUSE_GDAL  -DUSE_ICONV -DUSE_POSTGIS
-I/usr/include         -I/usr/local/include -I/usr/include/pgsql
  shp2img.c -o shp2img.o
gcc -O2 -fPIC  -Wall -DIGNORE_MISSING_DATA -DNEED_STRLCAT   -DUSE_PROJ
-DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR
-DUSE_WFS_LYR      -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
-DUSE_GD_FT   -DUSE_OGR -DUSE_GDAL  -DUSE_ICONV -DUSE_POSTGIS
-I/usr/include         -I/usr/local/include -I/usr/include/pgsql
  shp2img.o  -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lfreetype -lpng
-lz    -ljpeg -lfreetype -lpng -lz   -lproj -ljpeg  -L/usr/local/lib
-lgdal.1.1  -L/usr/lib -lpq  -L/usr/lib -lcurl -L/usr/ssl/lib -lz
-lssl -lcrypto -ldl -lz     -lc -lm -lstdc++  -o shp2img
./libmap.a(mapgd.o)(.text+0xa4d1): In function `msGetEncodedString':
: undefined reference to `libiconv_open'
./libmap.a(mapgd.o)(.text+0xa576): In function `msGetEncodedString':
: undefined reference to `libiconv'
./libmap.a(mapgd.o)(.text+0xa5a5): In function `msGetEncodedString':
: undefined reference to `libiconv_close'
./libmap.a(mapgd.o)(.text+0xa5cd): In function `msGetEncodedString':
: undefined reference to `libiconv_close'
./libmap.a(mapgd.o)(.text+0xa5fd): In function `msGetEncodedString':
: undefined reference to `libiconv_close'
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1



More information about the mapserver-users mailing list