Hi All,

I am trying to build mapguide from the svn version on ubuntu 8.04. I have 
managed (I think...) to get all the way through the fdo and apt builds without 
any problems, but am stuck on the build_oem section. It seems to be failing 
with the csharp module in SWIGex, and the relevant part of the log is shown 
below:

swigex: Initialization...........................
swigex: Configure/Build ...........................
~/mgsvn/Oem/SWIGEx ~/mgsvn/Oem ~/mgsvn
test -d Linux/ || mkdir -p Linux/
g++  -o Linux/swig Linux/obj/release/cscanner.o Linux/obj/release/parser.o 
Linux/obj/release/templ.o Linux/obj/release/util.o Linux/obj/release/base.o 
Linux/obj/release/file.o Linux/obj/release/fio.o Linux/obj/release/hash.o 
Linux/obj/release/list.o Linux/obj/release/memory.o Linux/obj/release/string.o 
Linux/obj/release/void.o Linux/obj/release/allocate.o 
Linux/obj/release/browser.o Linux/obj/release/chicken.o 
Linux/obj/release/contract.o Linux/obj/release/csharp.o 
Linux/obj/release/directors.o Linux/obj/release/emit.o 
Linux/obj/release/guile.o Linux/obj/release/java.o Linux/obj/release/lang.o 
Linux/obj/release/main.o Linux/obj/release/module.o 
Linux/obj/release/mzscheme.o Linux/obj/release/ocaml.o 
Linux/obj/release/overload.o Linux/obj/release/perl5.o Linux/obj/release/php4.o 
Linux/obj/release/php5.o Linux/obj/release/pike.o Linux/obj/release/python.o 
Linux/obj/release/ruby.o Linux/obj/release/s-exp.o Linux/obj/release/swigmain.o 
Linux/obj/release/tcl8.o Linux/obj/release/typepass.o Linux/obj/release/utils.o 
Linux/obj/release/xml.o Linux/obj/release/cwrap.o Linux/obj/release/error.o 
Linux/obj/release/fragment.o Linux/obj/release/getopt.o 
Linux/obj/release/include.o Linux/obj/release/misc.o Linux/obj/release/naming.o 
Linux/obj/release/parms.o Linux/obj/release/scanner.o Linux/obj/release/stype.o 
Linux/obj/release/symbol.o Linux/obj/release/tree.o Linux/obj/release/typemap.o 
Linux/obj/release/typeobj.o Linux/obj/release/typesys.o 
Linux/obj/release/warn.o Linux/obj/release/wrapfunc.o Linux/obj/release/cpp.o 
Linux/obj/release/expr.o    
Linux/obj/release/csharp.o: In function `__exchange_and_add':
/usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to 
`__sync_fetch_and_add_4'
/usr/include/c++/4.2/ext/atomicity.h:51: undefined reference to 
`__sync_fetch_and_add_4'
Linux/obj/release/csharp.o: In function `__exchange_and_add':
/usr/include/c++/4.2/bits/basic_string.h:288: undefined reference to 
`__sync_fetch_and_add_4'
/usr/include/c++/4.2/bits/basic_string.h:288: undefined reference to 
`__sync_fetch_and_add_4'
/usr/include/c++/4.2/bits/basic_string.h:288: undefined reference to 
`__sync_fetch_and_add_4'
Linux/obj/release/csharp.o:/usr/include/c++/4.2/ext/atomicity.h:51: more 
undefined references to `__sync_fetch_and_add_4' follow
collect2: ld returned 1 exit status
make: *** [Linux/swig] Error 1
SWIGEx 1.0: Error build failed (0).................


I have had a look in on the csharp module, but it's all beyond me. If anyone 
can point me in the right direction I'd be very grateful (but unable to reply 
for a week or so as I'm going on hols).

Many thanks

Jo

-----------------------------------------------------
Joanne Cook
Senior IT Support and Development
Oxford Archaeology (North)
01524 880212
http://thehumanjourney.net



------
Files attached to this email may be in ISO 26300 format (OASIS Open Document 
Format). If you have difficulty opening them, please visit http://iso26300.info 
for more information.

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to