Compilation error

Sacha Genoud s.genoud at MKREIS.CH
Mon Jan 10 11:32:10 PST 2005


Hello

i have a compilation error with mapserver. This is my configure command:
./configure --with-gd=/home/sgenoud/gd-2.0.28/
--with-gdal=/usr/local/bin/gdal-config --with-ogr=/usr/local/bin/gdal-config
--with-php=/home/sgenoud/php-4.3.8/
--with-mygis=/usr/local/mysql-standard-4.1.7-pc-linux-i686/bin/mysql_configTThis


This the result of make:

gcc -O2 -fPIC  -Wall -DIGNORE_MISSING_DATA -DNEED_STRLCAT  -DUSE_EPPL
-DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS    -DUSE_OGR -DUSE_GDAL
-DUSE_ICONV  -DUSE_PHP_REGEX -I/home/sgenoud/php-4.3.8//regex/..
-DUSE_MYGIS   -I/home/sgenoud/gd-2.0.28/        -I/usr/local/include
-I/usr/include/mysql -mcpu=i486 -fno-strength-reduce       shp2img.o  -L.
-lmap -L/home/sgenoud/gd-2.0.28//.libs -lgd -ljpeg -lfreetype -lpng -lz
-ljpeg -lfreetype -lpng -lz    -ljpeg  -L/usr/local/lib -lgdal
-L/usr/lib/mysql -lmysqlclient -lcrypt -lnsl -lm -lz -lc -lnss_files
-lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv -lmysqlclient      -lc
 -lm -lstdc++  -o shp2img
./libmap.a(mapmygis.o)(.text+0xed8): In function `msMYGISLayerIsOpen':
: undefined reference to `getMYGISLayerInfo'
collect2: ld returned 1 exit status
make: *** [shp2img] Fehler 1

I have no idea to solve this problem.

regards

Sacha Genoud



More information about the MapServer-users mailing list