[mapguide-users] Make FDO on x86_64 (64-bit) platform

Traian Stanev traian.stanev at autodesk.com
Tue Apr 11 08:45:24 EDT 2006


Hi Alexey,

Neither MapGuide nor FDO have been compiled on 64 bit platforms.
The error you see is because the code is casting a pointer to a 4 byte
integer which does not work so well on 64 bit.

Traian

 

-----Original Message-----
From: Safonov Alexey [mailto:alex-saf at archit.vrn.ru] 
Sent: Tuesday, April 11, 2006 8:39 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Make FDO on x86_64 (64-bit) platform

Dear colleagues!

Whether probably to compile components mapguide on a platform x86_64? At
me
compilation FDO comes to the end with a error:
....... (Symbols "\u0426\u0435\u043b\u044c" are simply Russian messages
of
programs "make")
make[4]: Entering directory
`/Distrib/AutodeskMapServer/OpenSource_FDO/fdo/Unmanaged/src/geometry'
make[4]: \u0426\u0435\u043b\u044c `all' \u043d\u0435
\u0442\u0440\u0435\u0431\u0443\u0435\u0442
\u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f
\u043a\u043e\u043c\u0430\u043d\u0434.
make[4]: Leaving directory
`/Distrib/AutodeskMapServer/OpenSource_FDO/fdo/Unmanaged/src/geometry'
Making all in spatial
make[4]: Entering directory
`/Distrib/AutodeskMapServer/OpenSource_FDO/fdo/Unmanaged/src/spatial'
make[4]: \u0426\u0435\u043b\u044c `all' \u043d\u0435
\u0442\u0440\u0435\u0431\u0443\u0435\u0442
\u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f
\u043a\u043e\u043c\u0430\u043d\u0434.
make[4]: Leaving directory
`/Distrib/AutodeskMapServer/OpenSource_FDO/fdo/Unmanaged/src/spatial'
Making all in fdo
make[4]: Entering directory
`/Distrib/AutodeskMapServer/OpenSource_FDO/fdo/Unmanaged/src/fdo'
if /bin/sh ../../../../libtool --tag=CXX --mode=compile
g++ -DPACKAGE_NAME=\"FDO\" -DPACKAGE_TARNAME=\"fdo\"
-DPACKAGE_VERSION=\"3.0
\" -DPACKAGE_STRING=\"FDO\
3.0\" -DPACKAGE_BUGREPORT=\"http://www.autodesk.com\" -DPACKAGE=\"fdo\"
-DVE
RSION=\"3.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHA
VE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_
INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1  -I.
-I. -
I../../inc -I../common -I../geometry
-I../../../../thirdparty/apache/xml-xer
ces/c/src    -MMD -MT  -DFULLPROTO -D__USE_GNU -DLINUX -DENABLE_BINRELOC
-MT
prefix.lo -MD -MP -MF ".deps/prefix.Tpo" -c -o prefix.lo `test -f
'ClientServices/prefix.cpp' || echo './'`ClientServices/prefix.cpp; \
then mv -f ".deps/prefix.Tpo" ".deps/prefix.Plo"; else rm -f
".deps/prefix.Tpo"; exit 1; fi

g++ -DPACKAGE_NAME=\"FDO\" -DPACKAGE_TARNAME=\"fdo\"
-DPACKAGE_VERSION=\"3.0
\" "-DPACKAGE_STRING=\"FDO
3.0\"" -DPACKAGE_BUGREPORT=\"http://www.autodesk.com\" -DPACKAGE=\"fdo\"
-DV
ERSION=\"3.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DH
AVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE
_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.
-I. -
I../../inc -I../common -I../geometry
-I../../../../thirdparty/apache/xml-xer
ces/c/src -MMD -MT -DFULLPROTO -D__USE_GNU -DLINUX -DENABLE_BINRELOC -MT
prefix.lo -MD -MP -MF .deps/prefix.Tpo -c
ClientServices/prefix.cpp  -fPIC -DPIC -o .libs/prefix.o
ClientServices/prefix.cpp: In function 'char* br_locate(void*)':
ClientServices/prefix.cpp:132: error: cast from 'void*' to 'unsigned
int'
loses precision
ClientServices/prefix.cpp:132: error: cast from 'void*' to 'unsigned
int'
loses precision
make[4]: *** [prefix.lo] \u041e\u0448\u0438\u0431\u043a\u0430 1
make[4]: Leaving directory
`/Distrib/AutodeskMapServer/OpenSource_FDO/fdo/Unmanaged/src/fdo'
make[3]: *** [all-recursive] \u041e\u0448\u0438\u0431\u043a\u0430 1
make[3]: Leaving directory
`/Distrib/AutodeskMapServer/OpenSource_FDO/fdo/Unmanaged/src'
make[2]: *** [all-recursive] \u041e\u0448\u0438\u0431\u043a\u0430 1
make[2]: Leaving directory
`/Distrib/AutodeskMapServer/OpenSource_FDO/fdo/Unmanaged'
make[1]: *** [all-recursive] \u041e\u0448\u0438\u0431\u043a\u0430 1
make[1]: Leaving directory
`/Distrib/AutodeskMapServer/OpenSource_FDO/fdo'
make: *** [all-recursive] \u041e\u0448\u0438\u0431\u043a\u0430 1
.........

I use the distributive Linux Fedore Core 4 with the kernel
2.6.16-1.2069_FC4smp (x86_64) and gcc-4.0.2-8.fc4.
Please, help me in solving this problem.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org







More information about the Mapguide-users mailing list