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

Puneet Kishor pkishor at GeoAnalytics.com
Thu Oct 10 08:38:32 PDT 2002


On Thursday, October 10, 2002, at 09:45  AM, Zak James wrote:

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


Thanks Zak. Peachy. It all works now. On a related note, do you know 
where the problem lies? Is it in Apple's implementation of gcc? Is this 
a mapserver-specific problem? or have you encountered it while building 
other programs? I only encountered these problems while building 
mapserver. Everything else built fine using gcc3.1.

Thanks.



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