Fwd: [mapserver-users] compile error of mapserver 3.5

Negrisan Laurentiu negrisan at mail.dntis.ro
Tue Mar 12 04:17:54 EST 2002


On Mon, 11 Mar 2002, Luis Viveros wrote:

Work now !
Thank You !
SuSE 7.3 pro / php 4.0.6 / apache 1.3.22

> Steph:
>
> Your ./mapscript/php3/Makefile must look something like this, once you
had already run ./configure..... :
>
> CC = cc -I. -I.. -fpic
> LD = cc -shared -L/usr/local/lib -rdynamic -W1
> CFLAGS = -O2 -Wall -DCOMPILE_DL=1 -DPHP4
>
> %.o: %.c php_mapscript_util.h php_mapscript.h
>            $(CC) $(CFLAGS) -c $<
>
> Luis Viveros
> ldviveros at lycos.com
>
>
> >hi list
>
> >I have errors during compilation of mapserver3.5 with php4.0.6 in
>debian
> >woody.
>
> >does anybody know something about that error?
> >cc: cannot specify -o with -c or -S and multiple compilations
> >make[1]: *** [php_mapscript_util.o] Fehler 1
> >make[1]: Leaving directory `/home/steph/mapserver_3.5/mapscript/php3'
>
> >thanks for any help!
> >cheers
> >  steph
>
>
>
> 2,000,000,000 Web Pages--you only need 1. Save time with My Lycos.
> http://my.lycos.com
>

--
Laurentiu Negrisan
http://www.netraptores.com




More information about the mapserver-users mailing list