Build OEM error at SWIG?

Marc Pfister mpfister at enplan.com
Thu Nov 30 17:51:24 EST 2006


I'm trying to build Mapguide on Suse 10 and I'm running into this error
from build_oem.sh:

 

swigex: Initialization...........................

swigex: Configure /Build...........................

/home/mpfister/mapguide/mapguide-1.0.2/Oem/SWIGEx
/home/mpfister/mapguide/mapguide-1.0.2/Oem
/home/mpfister/mapguide/mapguide-1.0.2

g++ -c -pipe -UZTS -Wall -W -O2 -g -pipe -march=i386 -mcpu=i686
-fno-use-cxa-atexit -fexceptions  -DNDEBUG
-I/usr/lib/qt3/mkspecs/default -I. -ISource/CParse -ISource/DOH
-ISource/Include -ISource/Swig -ISource/Modules -ISource/Preprocessor -o
Linux/obj/release/java.o Source/Modules/java.cxx

`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.

Source/Modules/swigmod.h:58: warning: class Dispatcher has virtual
functions but non-virtual destructor

Source/Modules/java.cxx:3582: error: extra qualification JAVA:: on
member abstractClassTest

Source/Modules/java.cxx: In constructor JAVA::JAVA():

Source/Modules/java.cxx:105: warning: JAVA::emitExCount will be
initialized after

Source/Modules/java.cxx:102: warning:   bool JAVA::emitted_connect

Source/Modules/java.cxx:115: warning:   when initialized here

Source/Modules/java.cxx:102: warning: JAVA::emitted_connect will be
initialized after

Source/Modules/java.cxx:94: warning:   String* JAVA::rootObject

Source/Modules/java.cxx:115: warning:   when initialized here

Source/Modules/java.cxx: In member function void
JAVA::emitProxyClassDefAndCPPCasts(Node*):

Source/Modules/java.cxx:1683: warning: unused variable pproxy_class_def

Source/Modules/java.cxx:1684: warning: unused variable pproxy_class_code

Source/Modules/java.cxx: In member function void
JAVA::proxyClassFunctionHandler(Node*):

Source/Modules/java.cxx:1970: warning: unused variable ptm1

Source/Modules/java.cxx:1974: warning: unused variable ptm2

Source/Modules/java.cxx:2011: warning: unused variable ptm4

Source/Modules/java.cxx:2013: warning: unused variable pimclassname

Source/Modules/java.cxx: At global scope:

Source/Modules/java.cxx:3548: warning: unused parameter n

make: *** [Linux/obj/release/java.o] Error 1

SWIGEx 1.0: Error build failed (0).................

 

Any ideas on how to fix this? 

 

Thanks,

 

Marc




Marc Pfister
Geospatial Data Manager
ENPLAN
mpfister at enplan.com
530/221-0440 x108
530/221-6963 Fax

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20061130/2761aaa6/attachment.html


More information about the Mapguide_users mailing list