[mapserver-users] Mapserver 3.5 on Rh 7.2 + Amd Athlon (cc: cannot specify -o with -c or -S and multiple compilations)

Daniel Morissette morissette at dmsolutions.ca
Tue Dec 4 07:02:57 EST 2001


Mapserver wrote:
> 
> 
> cc  cc -I. -I.. -fpic -O2  -Wall -DCOMPILE_DL=1 -DPHP4 -DUSE_EPPL -DUSE_TIFF
>  -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_JPEG
>  -I/usr/local/src/mapserver         -I/usr/local/include
>  -I/usr/local/src/mapserver/../php-4.0.6/
>  -I/usr/local/src/mapserver/../php-4.0.6//dl
>  -I/usr/local/src/mapserver/../php-4.0.6//main
>  -I/usr/local/src/mapserver/../php-4.0.6//Zend
>  -I/usr/local/src/mapserver/../php-4.0.6//include
>  -I/usr/local/src/mapserver/../php-4.0.6//TSRM  -c -o php_mapscript_util.o
> php_mapscript_util.c
> cc: cannot specify -o with -c or -S and multiple compilations
> make: *** [php_mapscript_util.o] Error 1
> 

Look at the CFLAGS value in the mapserver/mapscript/php3/Makefile and
take the "cc" out of it... it's a problem that happens sometimes on some
platforms.

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.



More information about the mapserver-users mailing list