Compilation error

Tony Frame jaframe at NET-YAN.COM
Tue Jan 11 09:17:01 EST 2005


----- Original Message -----
From: "Sacha Genoud" <s.genoud at MKREIS.CH>
To: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Tuesday, 11 January, 2005 3:32 AM
Subject: [UMN_MAPSERVER-USERS] Compilation error


> 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
>


I believe this problem has been fixed in the latest stable release 4.4.1.

Tony



More information about the mapserver-users mailing list