[mapserver-users] error building mapserver 3.6.3 on OS X 10.2

Zak James zak-ms at aiya.dhs.org
Thu Oct 10 10:45:57 EDT 2002


With OS X 10.2, the default compiler is now gcc 3.1 which has some 
trouble with mapserver. The easiest way to get around the problem is to 
use the built in gcc_select script. As root, gcc_select 2 will switch 
to the old compiler, which is still available. You can switch back by 
issuing gcc_select 3.

zj

On Thursday, Oct 10, 2002, at 00:46 America/Montreal, Puneet Kishor 
wrote:

> while make-ing, the program ends with the following --
>
>
>
> ranlib libmap.a
> ranlib: file: libmap.a(mapthread.o) has no symbols
> gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ 
> -DUSE_PROJ_API_H -DUSE_WMS    -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG 
> -DUSE_GD_WBMP -DUSE_GD_FT        -I/usr/local/include              
> shp2img.c -o shp2img.o
> gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ 
> -DUSE_PROJ_API_H -DUSE_WMS    -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG 
> -DUSE_GD_WBMP -DUSE_GD_FT        -I/usr/local/include              
> shp2img.o  -L. -lmap -lgd -L/usr/local/lib -lgd -ljpeg  
> -L/usr/local/lib -lpng -lz  -ljpeg  -L/usr/local/lib -lpng -lz -lproj 
> -ljpeg          -lm   -o shp2img
> ld: Undefined symbols:
> ___gxx_personality_v0
> make: *** [shp2img] Error 1




More information about the mapserver-users mailing list