[mapserver-users] Cannot specify -o with -c or -S and multipl e compilations

Puneet Kishor pkishor at GeoAnalytics.com
Thu May 2 12:36:34 EDT 2002



-----Original Message-----
From: Juan S. Barros J. [mailto:georef at tie.cl]
Sent: Thursday, May 02, 2002 10:47 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [mapserver-users] Cannot specify -o with -c or -S and multiple
compilations


Hi there,

this is our first attemp and we get the following error message : 
Cannot specify -o with -c or -S and multiple compilations
searching on the list it seem that it is quite common error, but there are
no answer on how to solve it, 
any help appreciated



========================


message from 4/22/01



> -----Original Message-----
> From: Puneet Kishor [mailto:pkishor at GeoAnalytics.com]
> Sent: Monday, April 22, 2002 7:24 AM
> To: Mapserver
> Subject: [mapserver-users] cc: cannot specify -o with -c or -S and
> multiple compilations
> 
> 
> Something weird with the listserv... I sent this message 
> yesterday about 
> 10 mins after my initial incorrectly titled message. This one never 
> appeared on the list. Many other messages were very late in coming 
> (several hours).
> 
> Anyway, I am re-sending this for the archives for the solution (see 
> below). And a big thanks to everyone who responded to me directly.
> 
> ==========
> 
> I sent this message earlier with the wrong subject line. This 
> is for the 
> archives with the correct subject.
> 
> I also found the answer to this...
> 
> > On Sunday, April 21, 2002, at 12:31  AM, Puneet Kishor wrote:
> >
> > I am trying to build ms_3.5 with PHP 4.0.6. When I `make' 
> it churns for 
> > a while and then issues the following error...
> >
> > -I/usr/local/apache/include -c -o php_mapscript_util.o 
> > php_mapscript_util.c
> > cc: cannot specify -o with -c or -S and multiple compilations
> > make[1]: *** [php_mapscript_util.o] Error 1
> 
> 
> seems to be a platform-specific peculiarity. I am using cc on 
> OS X, but 
> reported on a few other platforms as well. The very first uncommented 
> line in the Makefile under the mapscript/php3 directory was like so...
> 
> CC =     cc cc  -I. -I..
> 
> I deleted one of the two cc so the line became
> 
> CC =     cc  -I. -I..
> 
> everything worked after that.
> 
> hth someone.
> 
> pk/



More information about the mapserver-users mailing list