[mapserver-users] Mapscript compile error

Tom Myny tom@internetgids.be
Thu, 3 Oct 2002 14:19:22 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0028_01C26AE7.DEC5F4A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

cc  cc -I. -I.. -fpic -O2  -Wall -DCOMPILE_DL=3D1 -DPHP4 -DUSE_EPPL  =
-DUSE_PDF  -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP =
-DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DUSE_JPEG  =
-I/usr/src/mapserver-3.6.1          -I/usr/include   =
-I/usr/src/mapserver-3.6.1/../php-4.2.3 =
-I/usr/src/mapserver-3.6.1/../php-4.2.3/dl =
-I/usr/src/mapserver-3.6.1/../php-4.2.3/main =
-I/usr/src/mapserver-3.6.1/../php-4.2.3/Zend =
-I/usr/src/mapserver-3.6.1/../php-4.2.3/include =
-I/usr/src/mapserver-3.6.1/../php-4.2.3/TSRM  -o php_mapscript_util.o =
php_mapscript_util.c
cc: cc: No such file or directory
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system =
directory
php_mapscript_util.c: In function `_phpms_object_init':
php_mapscript_util.c:681: warning: unused variable `tsrm_ls'
make: *** [php_mapscript_util.o] Error 1

I'm using gcc 3.2 but i can't find the error.

Help would be great ;)

Tom
------=_NextPart_000_0028_01C26AE7.DEC5F4A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4915.500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>cc&nbsp; cc -I. -I.. -fpic -O2&nbsp; =
-Wall=20
-DCOMPILE_DL=3D1 -DPHP4 -DUSE_EPPL&nbsp; -DUSE_PDF&nbsp; -DUSE_GD_GIF =
-DUSE_GD_PNG=20
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR =
-DUSE_JPEG&nbsp;=20
-I/usr/src/mapserver-3.6.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;=20
-I/usr/include&nbsp;&nbsp; -I/usr/src/mapserver-3.6.1/../php-4.2.3=20
-I/usr/src/mapserver-3.6.1/../php-4.2.3/dl=20
-I/usr/src/mapserver-3.6.1/../php-4.2.3/main=20
-I/usr/src/mapserver-3.6.1/../php-4.2.3/Zend=20
-I/usr/src/mapserver-3.6.1/../php-4.2.3/include=20
-I/usr/src/mapserver-3.6.1/../php-4.2.3/TSRM&nbsp; -o =
php_mapscript_util.o=20
php_mapscript_util.c<BR>cc: cc: No such file or directory<BR>cc1: =
warning:=20
changing search order for system directory "/usr/include"<BR>cc1:=20
warning:&nbsp;&nbsp; as it has already been specified as a non-system=20
directory<BR>php_mapscript_util.c: In function=20
`_phpms_object_init':<BR>php_mapscript_util.c:681: warning: unused =
variable=20
`tsrm_ls'<BR>make: *** [php_mapscript_util.o] Error 1<BR></DIV></FONT>
<DIV><FONT face=3DArial size=3D2>I'm using gcc 3.2 but i can't find the=20
error.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Help would be great ;)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Tom</DIV></FONT></BODY></HTML>

------=_NextPart_000_0028_01C26AE7.DEC5F4A0--