[Mapserver-users] Compilation problem (mapserver 4.0.2) possible mygis error ...

Herman De Pauw hermandepauw at hotmail.com
Tue Apr 20 10:25:03 EDT 2004


<html><div style='background-color:'><DIV class=RTE>
<P><BR>Hi,</P>
<P>I tried to compile mapserver 4.0.2 with mygis support. I did as configure :</P><FONT size=2>
<P>./configure --with-jpeg=/usr/local --with-freetype=/usr/local --with-zlib=/usr/lib --with-tiff=/usr/local --with-png=/usr/local --with-proj=/usr/local --with-gdal=/usr/local/bin/gdal-config --with-gd=/usr/local --without-pdf --with-eppl --with-httpd=/usr/sbin/httpd --with-postgis=/usr/local/pgsql/bin/pg_config&nbsp;--with-mygis=/usr/local/bin/mysql_config</P>
<P>The configuration gave no errors but the make gave following errors :</P>
<P>./libmap.a(mapmygis.o)(.text+0x0): In function `DATAERRORMESSAGE':<BR>: multiple definition of `DATAERRORMESSAGE'<BR>./libmap.a(mappostgis.o)(.text+0x1ac): first defined here<BR>/usr/bin/ld: Warning: size of symbol `DATAERRORMESSAGE' changed from 169 to 367 in ./libmap.a(mapmygis.o)<BR>./libmap.a(mapmygis.o)(.text+0x81c): In function `prep_DB':<BR>: multiple definition of `prep_DB'<BR>./libmap.a(mappostgis.o)(.text+0x48c): first defined here<BR>/usr/bin/ld: Warning: size of symbol `prep_DB' changed from 1330 to 1118 in ./libmap.a(mapmygis.o)<BR>./libmap.a(mapmygis.o)(.text+0xe08): In function `force_to_points':<BR>: multiple definition of `force_to_points'<BR>./libmap.a(mappostgis.o)(.text+0xcec): first defined here<BR>/usr/bin/ld: Warning: size of symbol `force_to_points' changed from 543 to 558 in ./libmap.a(mapmygis.o)<BR>./libmap.a(mapmygis.o)(.text+0x1038): In function `force_to_lines':<BR>: multiple definition of `force_to_lines'<BR>./libmap.a(mappostgis.o)(.text+0xf0c): first defined here<BR>/usr/bin/ld: Warning: size of symbol `force_to_lines' changed from 428 to 438 in ./libmap.a(mapmygis.o)<BR>./libmap.a(mapmygis.o)(.text+0x11f0): In function `force_to_polygons':<BR>: multiple definition of `force_to_polygons'<BR>./libmap.a(mappostgis.o)(.text+0x10b8): first defined here<BR>/usr/bin/ld: Warning: size of symbol `force_to_polygons' changed from 260 to 416 in ./libmap.a(mapmygis.o)<BR>./libmap.a(mapmygis.o)(.text+0x1390): In function `dont_force':<BR>: multiple definition of `dont_force'<BR>./libmap.a(mappostgis.o)(.text+0x11bc): first defined here<BR>/usr/bin/ld: Warning: size of symbol `dont_force' changed from 155 to 218 in ./libmap.a(mapmygis.o)<BR>./libmap.a(mapmygis.o)(.text+0x1b64): In function `find_bounds':<BR>: multiple definition of `find_bounds'<BR>./libmap.a(mappostgis.o)(.text+0x1258): first defined here<BR>./libmap.a(mapmygis.o)(.text+0x66f): In function `msMYGISLayerOpen':<BR>: undefined reference to `mysql_connect'<BR>collect2: ld returned 1 exit status<BR>make: *** [shp2img] Error 1<B
R></P>
<P>Can somebody give me a clue how to fix these ?</P>
<P>Regards,</P>
<P>Helder De Pauw</P>
<P></FONT><BR>&nbsp;</P></DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMANLBE/2740??PS=">Op zoek naar het huis van uw dromen?</a> </html>



More information about the mapserver-users mailing list