[mapguide-internals] Strange swig error in Linux

Jackie Ng jumpinjackie at gmail.com
Tue May 15 23:55:08 EDT 2012


Hi All,

I've been getting this strange swig error lately when building MapGuide on
Linux when building the PHP wrapper to the MapGuide API

----------------------- BEGIN SNIPPET ------------------------------

Generating interface file ./MapGuideApi.i...
../../../Oem/SWIGEx/Linux/swig -c++ -php -DPHPSWIG -baseexception
MgException \
         -clsidcode getclassid.code \
         -clsiddata m_cls_id \
         -catchallcode catchall.code \
         -dispose "((MgDisposable*)arg1)->Release()" \
         -rethrow "e->Raise();" \
         -nodefault -o MgApi_wrap.cpp \
         -lib ../../../Oem/SWIGEx/Lib MapGuideApi.i
:1: Syntax error in input.
:804: Illegal character '?'=63.
:1261: Extra short specifier.
:1261: Extra short specifier.
:1291: Extra short specifier.
:2159: Extra short specifier.
:5255: Extra short specifier.
:5256: Extra short specifier.
:5258: Extra short specifier.
:5427: Extra short specifier.
:5430: Extra short specifier.
:5720: Extra short specifier.
:5735: Extra short specifier.
:6286: Extra short specifier.
:6713: Extra short specifier.
:7530: Extra short specifier.
:7531: Extra short specifier.
*** No module name specified using %module or -module.
make[3]: *** [MgApi_wrap.cpp] Error 1
make[3]: Leaving directory `/home/user/scripts/mgdev/Web/src/PhpApi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/user/scripts/mgdev/Web/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/scripts/mgdev/Web'
make: *** [all-recursive] Error 1
MapGuide: Error build failed (2).................

----------------------- END SNIPPET ------------------------------

Has anybody encountered this error before?

- Jackie

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Strange-swig-error-in-Linux-tp4974901.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.


More information about the mapguide-internals mailing list