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

Luis Viveros ldviveros at lycos.com
Mon Mar 11 12:43:16 PST 2002


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



More information about the MapServer-users mailing list