[Mapserver-users] compile problem

Aaron D. Hunt hunt at zedxinc.com
Fri Mar 14 09:56:25 EST 2003


This is a multi-part message in MIME format.

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

when I compile 3.7 with the config of=20
./configure --without-tiff --without-jpeg --with-proj --with-gdal =
--with-php=3D../php-4.3.2RC1 --with-ogr --with-gdal

I get the following error. Can any one help?

c++ -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ =
-DUSE_PROJ_API_H -DUSE_WMS_SVR        -DUSE_GD_PNG -DUSE_GD_JPEG =
-DUSE_GD_WBMP -DUSE_GD_FT   -DUSE_OGR -DUSE_GDAL    -I/usr/include       =
 -I/usr/local/include -I/usr/local/include     mapogr.cpp -o mapogr.o
mapogr.cpp: In function `msOGRFileInfo *msOGRFileOpen (layerObj *,
const char *)':
mapogr.cpp:888: no matching function for call to
`OGRDataSource::ExecuteSQL (char *&, NULL, NULL)'
mapogr.cpp: In function `int msOGRFileClose (layerObj *, msOGRFileInfo
*)':
mapogr.cpp:949: no matching function for call to
`OGRDataSource::ReleaseResultSet (OGRLayer *&)'
make: *** [mapogr.o] Error 1
[hunt at genesis mapserver_dev]$ make
c++ -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ =
-DUSE_PROJ_API_H -DUSE_WMS_SVR        -DUSE_GD_PNG -DUSE_GD_JPEG =
-DUSE_GD_WBMP -DUSE_GD_FT   -DUSE_OGR -DUSE_GDAL    -I/usr/include       =
 -I/usr/local/include -I/usr/local/include     mapogr.cpp -o mapogr.o
mapogr.cpp: In function `msOGRFileInfo *msOGRFileOpen (layerObj *,
const char *)':
mapogr.cpp:888: no matching function for call to
`OGRDataSource::ExecuteSQL (char *&, NULL, NULL)'
mapogr.cpp: In function `int msOGRFileClose (layerObj *, msOGRFileInfo
*)':
mapogr.cpp:949: no matching function for call to
`OGRDataSource::ReleaseResultSet (OGRLayer *&)'
make: *** [mapogr.o] Error 1



Aaron D. Hunt

------=_NextPart_000_0F35_01C2EA0F.F9D04460
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 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>when I compile 3.7 with the config of =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>./configure --without-tiff =
--without-jpeg=20
--with-proj --with-gdal --with-php=3D../php-4.3.2RC1 --with-ogr=20
--with-gdal</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I get the following error. Can any one=20
help?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>c++ -c -O2&nbsp; -Wall =
-DIGNORE_MISSING_DATA&nbsp;=20
-DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H=20
-DUSE_WMS_SVR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_GD_PNG=20
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT&nbsp;&nbsp; -DUSE_OGR=20
-DUSE_GDAL&nbsp;&nbsp;&nbsp;=20
-I/usr/include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
-I/usr/local/include=20
-I/usr/local/include&nbsp;&nbsp;&nbsp;&nbsp; mapogr.cpp -o=20
mapogr.o<BR>mapogr.cpp: In function `msOGRFileInfo *msOGRFileOpen =
(layerObj=20
*,<BR>const char *)':<BR>mapogr.cpp:888: no matching function for call=20
to<BR>`OGRDataSource::ExecuteSQL (char *&amp;, NULL, =
NULL)'<BR>mapogr.cpp: In=20
function `int msOGRFileClose (layerObj *,=20
msOGRFileInfo<BR>*)':<BR>mapogr.cpp:949: no matching function for call=20
to<BR>`OGRDataSource::ReleaseResultSet (OGRLayer *&amp;)'<BR>make: ***=20
[mapogr.o] Error 1<BR>[hunt at genesis mapserver_dev]$ make<BR>c++ -c =
-O2&nbsp;=20
-Wall -DIGNORE_MISSING_DATA&nbsp; -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H =

-DUSE_WMS_SVR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -DUSE_GD_PNG=20
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT&nbsp;&nbsp; -DUSE_OGR=20
-DUSE_GDAL&nbsp;&nbsp;&nbsp;=20
-I/usr/include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
-I/usr/local/include=20
-I/usr/local/include&nbsp;&nbsp;&nbsp;&nbsp; mapogr.cpp -o=20
mapogr.o<BR>mapogr.cpp: In function `msOGRFileInfo *msOGRFileOpen =
(layerObj=20
*,<BR>const char *)':<BR>mapogr.cpp:888: no matching function for call=20
to<BR>`OGRDataSource::ExecuteSQL (char *&amp;, NULL, =
NULL)'<BR>mapogr.cpp: In=20
function `int msOGRFileClose (layerObj *,=20
msOGRFileInfo<BR>*)':<BR>mapogr.cpp:949: no matching function for call=20
to<BR>`OGRDataSource::ReleaseResultSet (OGRLayer *&amp;)'<BR>make: ***=20
[mapogr.o] Error 1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Aaron D. =
Hunt<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_0F35_01C2EA0F.F9D04460--




More information about the mapserver-users mailing list