Dear Kevin Webb, Thank you for your valuable help,
I did everything exactly as you said, but I'm still having the same error when building MgDev (see the attachment). The dwf libs are compiled smoothly. I checked the Server/src/Core/Makefile if -ldwfcore was given for the linker, but I found both dwftk and dwfcore was added. Now I am hopeless again. If you could share how you could overcome with this, I would be realy grateful. Thank you, Adam Hello Adam, Rajeev, and others interested in 64bit MapGuide, I thought I had the problem solved last week. I got FDO and MapGuide to compile on a x86_64 installation of Fedora Core 8 (a torturous experience). When I tested using the Sheboygan.mgp sample data, mgserver threw an FDO exception related to the ConvertUTF16toUTF32() routine in Fdo. It was then that I realized I had contract work to do and I didn't have the time it would take to do a thorough job on Fdo and any other packages needing work, so I stopped my 64-bit installation and installed on an ancient 32-bit box so that I could get some work done. (I am still debugging the 32-bit install - nothing is ever easy in this business). To answer your direct question, here is how I got around the DWFTimer issues. My thinking is that DWF is an Internet Explorer only viewer, not much use for today's browser market. I also didn't know what other dependencies there were for the DWF library so I just wanted to make it compile and not ever use the viewer. I copied the dwfcore/x86/Core.cpp, and dwfcore/x86/Timer.cpp files into the dwfcore directory. I then edited Timer.cpp to change the 32-bit assembler into 64-bit assembler, register name changes only. I added Timer.cpp and Core.cpp to the dwfcore Makefile and Makefile.am for the libdwfcore_la_SOURCES tag. In general I had to sprinkle around alot of -fPIC directives in numerous spots, and I changed all of the build_oem.sh entries that were --enable-static --disable-shared to --enable-shared --disable-static The change to dynamic linking required adding some -l___ and -L____ directives as called for. I hope to go back to the 64-bit build when I have time, but maybe the 2.2 version will be out by then. Good luck! Kevin Webb Balogh Ádám adatbázisgazda GDS 2000 Kft. 1074 Budapest, VII. ker. Dohány u. 20. III/15. Telefon: +36-1-344-5495
g++ -O2 -g -pipe -march=x86-64 -mcpu=i686 -fno-use-cxa-atexit -fexceptions -DACE_HAS_SVC_DLL=1 -O2 -g -pipe -march=x86-64 -mcpu=i686 -fno-use-cxa-atexit -fexceptions -o .libs/mgserver Serv erCoreBuild.o -L/usr/local/fdo-3.5.0/lib -L/usr/local/src/MgDev-2.2.4731/Oem/ACE/ACE_wrappers/ace -L/usr/local/src/MgDev-2.2.4731/Oem/DWFTK7.1/develop/global/src/dwfcore -L/usr/local/src/ MgDev-2.2.4731/Oem/DWFTK7.1/develop/global/src/dwf -L/usr/local/src/MgDev-2.2.4731/Oem/DWFTK7.1/develop/global/src/dwfemap -L/usr/local/src/MgDev-2.2.4731/Oem/dbxml-2.3.10/install/lib -L/u sr/local/src/MgDev-2.2.4731/Common/CoordinateSystem -L/usr/local/src/MgDev-2.2.4731/Common/MdfModel -L/usr/local/src/MgDev-2.2.4731/Common/MdfParser -L/usr/local/src/MgDev-2.2.4731/Common/ Stylization -L/usr/local/src/MgDev-2.2.4731/Common/Renderers -L/usr/local/src/MgDev-2.2.4731/Common/Foundation -L/usr/local/src/MgDev-2.2.4731/Common/Geometry -L/usr/local/src/MgDev-2.2.47 31/Common/PlatformBase -L/usr/local/src/MgDev-2.2.4731/Common/MapGuideCommon -L/usr/local/src/MgDev-2.2.4731/Server/src/Common/Base -L/usr/local/src/MgDev-2.2.4731/Server/src/Common/Cache -L/usr/local/src/MgDev-2.2.4731/Server/src/Common/Manager -L/usr/local/src/MgDev-2.2.4731/Server/src/Common/Thread -L/usr/local/src/MgDev-2.2.4731/Server/src/Services/Drawing -L/usr/local/ src/MgDev-2.2.4731/Server/src/Services/Feature -L/usr/local/src/MgDev-2.2.4731/Server/src/Services/Kml -L/usr/local/src/MgDev-2.2.4731/Server/src/Services/Mapping -L/usr/local/src/MgDev-2. 2.4731/Server/src/Services/Rendering -L/usr/local/src/MgDev-2.2.4731/Server/src/Services/Resource -L/usr/local/src/MgDev-2.2.4731/Server/src/Services/ServerAdmin -L/usr/local/src/MgDev-2.2 .4731/Server/src/Services/Site -L/usr/local/src/MgDev-2.2.4731/Server/src/Services/Tile /usr/local/src/MgDev-2.2.4731/Oem/DWFTK7.1/develop/global/src/dwfcore/.libs/libdwfcore -luuid /usr/l ocal/src/MgDev-2.2.4731/Oem/DWFTK7.1/develop/global/src/dwf/.libs/libdwftk -lz /usr/local/src/MgDev-2.2.4731/Oem/DWFTK7.1/develop/global/src/dwfemap/.libs/libdwfemap /usr/lib64/libexpat.so -lFDO-3.5.0 /usr/local/fdo-3.5.0/lib/libExpressionEngine.so /usr/local/fdo-3.5.0/lib/libFDO.so -L/usr/local/src/OpenSource_FDO-3.5/Thirdparty/apache/xml-xalan/c/lib -L/usr/local/src/OpenS ource_FDO-3.5/Thirdparty/apache/xml-xerces/c/lib -ldl -lxalanMsg -lxalan-c -L/usr/local/src/MgDev-2.2.4731/Oem/dbxml-2.3.10/xerces-c-src/lib -L/usr/local/src/MgDev-2.2.4731/Oem/CsMap -L/us r/local/src/MgDev-2.2.4731/Common/Security /usr/local/src/MgDev-2.2.4731/Server/src/Services/ServerAdmin/.libs/libMgServerAdminService.so /usr/local/src/MgDev-2.2.4731/Server/src/Services/ Drawing/.libs/libMgServerDrawingService.so /usr/local/src/MgDev-2.2.4731/Server/src/Services/Feature/.libs/libMgServerFeatureService.so -L/usr/local/src/MgDev-2.2.4731/Server/src/Gws/GwsCo mmon -L/usr/local/src/MgDev-2.2.4731/Server/src/Gws/GwsQueryEngine /usr/local/src/MgDev-2.2.4731/Server/src/Gws/GwsCommon/.libs/libMgGwsCommon.so /usr/local/src/MgDev-2.2.4731/Server/src/G ws/GwsQueryEngine/.libs/libMgGwsQueryEngine.so /usr/local/src/MgDev-2.2.4731/Server/src/Services/Kml/.libs/libMgServerKmlService.so /usr/local/src/MgDev-2.2.4731/Server/src/Services/Mappin g/.libs/libMgServerMappingService.so /usr/local/src/MgDev-2.2.4731/Server/src/Services/Rendering/.libs/libMgServerRenderingService.so /usr/local/src/MgDev-2.2.4731/Server/src/Services/Reso urce/.libs/libMgServerResourceService.so /usr/local/src/MgDev-2.2.4731/Common/MapGuideCommon/.libs/libMgMapGuideCommon.so /usr/local/src/MgDev-2.2.4731/Common/PlatformBase/.libs/libMgPlatf ormBase.so /usr/local/src/MgDev-2.2.4731/Common/Geometry/.libs/libMgGeometry.so /usr/local/src/MgDev-2.2.4731/Common/Foundation/.libs/libMgFoundation.so -lACE -lMgSecurity /usr/local/src/M gDev-2.2.4731/Server/src/Common/Base/.libs/libMgServerBase.so /usr/local/src/MgDev-2.2.4731/Server/src/Common/Cache/.libs/libMgServerCache.so /usr/local/src/MgDev-2.2.4731/Server/src/Commo n/Manager/.libs/libMgServerManager.so /usr/local/src/MgDev-2.2.4731/Oem/dbxml-2.3.10/install/lib/libxqilla.so -lnsl -lpthread -ldb_cxx -ldbxml /usr/local/src/MgDev-2.2.4731/Server/src/Serv ices/Site/.libs/libMgServerSiteService.so /usr/local/src/MgDev-2.2.4731/Server/src/Common/Thread/.libs/libMgServerThread.so /usr/local/src/MgDev-2.2.4731/Server/src/Services/Tile/.libs/lib MgServerTileService.so /usr/local/src/MgDev-2.2.4731/Common/MdfParser/.libs/libMgMdfParser.so /usr/local/src/MgDev-2.2.4731/Common/MdfModel/.libs/libMgMdfModel.so -lxerces-c /usr/local/src /MgDev-2.2.4731/Common/Stylization/.libs/libMgStylization.so /usr/local/src/MgDev-2.2.4731/Common/Renderers/.libs/libMgRenderers.so ../../../Common/Security/libMgSecurity.a -Wl,--rpath -W l,/usr/local/lib -Wl,--rpath -Wl,/usr/local/mapguideopensource/lib -Wl,--rpath -Wl,/usr/local/fdo-3.5.0/lib -Wl,--rpath -Wl,/usr/local/mapguideopensource/server/lib -Wl,--rpath -Wl,/usr/lo cal/src/MgDev-2.2.4731/Oem/dbxml-2.3.10/install/lib -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Oem/ACE/ACE_wrappers/ace -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Oem/DWFTK7.1/develo p/global/src/dwfcore -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Oem/DWFTK7.1/develop/global/src/dwf -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Oem/DWFTK7.1/develop/global/src/dwfemap -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Common/CoordinateSystem/.libs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Common/MdfModel/.libs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.47 31/Common/MdfParser/.libs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Common/Stylization/.libs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Common/Renderers/.libs -Wl,--rpath -Wl,/usr/l ocal/src/MgDev-2.2.4731/Common/Foundation/.libs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Common/Geometry/.libs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Common/PlatformBase/.libs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Common/MapGuideCommon/.libs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Server/src/Common/Base/.libs -Wl,--rpath -Wl,/usr/local/src/MgDev-2. 2.4731/Server/src/Common/Cache/.libs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Server/src/Common/Manager/.libs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Server/src/Common/Thread/.l ibs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Server/src/Services/Drawing/.libs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Server/src/Services/Feature/.libs -Wl,--rpath -Wl,/usr/loc al/src/MgDev-2.2.4731/Server/src/Services/Kml/.libs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Server/src/Services/Mapping/.libs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Server/src /Services/Rendering/.libs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Server/src/Services/Resource/.libs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Server/src/Services/ServerAdmin/.li bs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Server/src/Services/Site/.libs -Wl,--rpath -Wl,/usr/local/src/MgDev-2.2.4731/Server/src/Services/Tile/.libs -Wl,--rpath -Wl,/usr/local/src/ MgDev-2.2.4731/Server/src/UnitTesting/.libs /usr/bin/ld: warning: libxerces-c.so.27, needed by /usr/local/src/MgDev-2.2.4731/Server/src/Services/Drawing/.libs/libMgServerDrawingService.so, may conflict with libxerces-c.so.25 /usr/local/src/MgDev-2.2.4731/Oem/DWFTK7.1/develop/global/src/dwf/.libs/libdwftk: undefined reference to `DWFCore::DWFTimer::Tick64()' /usr/local/src/MgDev-2.2.4731/Oem/DWFTK7.1/develop/global/src/dwfcore/.libs/libdwfcore: undefined reference to `DWFCore::DWFTimer::Tick32()'
_______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
