[mapserver-users] Compiler Error

Bryan Tolka btolka at gtcomputing.com
Thu Jun 6 12:15:31 PDT 2002


Before you make, edit mapscript/php3/Makefile

Near the CC= gcc gcc -I

should look like CC= gcc -I

only one gcc should be there.

Hope this helps

Bryan Tolka




gabriel wrote:
> Hi *lister*s.
>  
> We had this error .
>  
> [mapserver at linux mapserver-3.6.0]$ make
> cd mapscript/php3; make; cd ../..
> make[1]: Entering directory `/home/mapserver/mapserver-3.6.0/mapscript/php3'
> gcc  gcc -I. -I.. -fPIC -O2  -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_WMS  
> -DUSE_GDAL -DUSE_OGR    -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_EPPL 
> -DUSE_TIFF   -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT 
> -DUSE_JPEG  -I/home/mapserver/mapserver-3.6.0   -I/usr/local/include 
> -I/usr/local/include      -I/usr/include   -I/usr/src/php-4.2.1 
> -I/usr/src/php-4.2.1/dl -I/usr/src/php-4.2.1/main 
> -I/usr/src/php-4.2.1/Zend -I/usr/src/php-4.2.1/include 
> -I/usr/src/php-4.2.1/TSRM  -c -o  php_mapscript.o php_mapscript.c
> gcc: cannot specify -o with -c or -S and multiple compilations
> make[1]: *** [php_mapscript.o] Error 1
> make[1]: Leaving directory `/home/mapserver/mapserver-3.6.0/mapscript/php3'
> [mapserver at linux mapserver-3.6.0]$
>  
> Thanks,
>  
> Gabriel
> Florianópolis-SC-Brasil
>  






More information about the MapServer-users mailing list