[mapguide-users] problems installing Mapguide

jamali samiku at utu.fi
Thu Jun 21 08:21:17 EDT 2007


When I was installing Mapguide and running ./build_oem.sh I received the
following error:

cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
Core.cpp:79:2: error: #error Missing header file - cannot continue
Core.cpp: In function 'int DWFCore::AtomicIncrement(volatile int*)':
Core.cpp:101: error: 'atomic_t' was not declared in this scope
Core.cpp:101: error: expected `;' before 'tValue'
Core.cpp:102: error: 'tValue' was not declared in this scope
Core.cpp:102: error: 'atomic_set' was not declared in this scope
Core.cpp:107: error: invalid lvalue in asm statement
Core.cpp:109: error: 'atomic_read' was not declared in this scope
Core.cpp:107: error: invalid lvalue in asm output 0
Core.cpp:107: error: memory input 1 is not directly addressable
Core.cpp: In function 'int DWFCore::AtomicDecrement(volatile int*)':
Core.cpp:118: error: 'atomic_t' was not declared in this scope
Core.cpp:118: error: expected `;' before 'tValue'
Core.cpp:119: error: 'tValue' was not declared in this scope
Core.cpp:119: error: 'atomic_set' was not declared in this scope
Core.cpp:124: error: invalid lvalue in asm statement
Core.cpp:126: error: 'atomic_read' was not declared in this scope
Core.cpp:124: error: invalid lvalue in asm output 0
Core.cpp:124: error: memory input 1 is not directly addressable
make[2]: *** [Core.lo] Error 1
make[2]: Leaving directory
`/usr/local/mapguide/mapguide/Oem/DWFTK7.1/develop/global/src/dwfcore/x86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/local/mapguide/mapguide/Oem/DWFTK7.1/develop/global/src/dwfcore'
make: *** [all] Error 2
DWFCORE 1.0: Error build failed (0).................

The compiler's version is:
gcc (GCC) 4.1.1 20061011 (Red Hat 4.1.1-30)
And my Linux is:
Linux version 2.6.18-1.2849.fc6

I followed the instructions in
http://wiki.osgeo.org/index.php/Building_MapGuide_on_Fedora_Core_6
and fixed the errors in Svc_Conf_l.cpp
So the above errors occured after I fixed Svc_Conf_l.cpp.

Hope somebody can help.
-- 
View this message in context: http://www.nabble.com/problems-installing-Mapguide-tf3958387s16610.html#a11231940
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list