[mapguide-internals] RE: Ubuntu and Centos builds question

Trevor Wekel trevor_wekel at otxsystems.com
Tue Apr 6 16:24:00 EDT 2010


Hi Warren,

I am using the Thirdparty/apache versions of xerces and xalan.  So far, I have been using build_thirdparty.sh and build_linux.sh to build FDO.

Regards,
Trevor


-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Stout, Warren
Sent: April 6, 2010 2:00 PM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] RE: Ubuntu and Centos builds question

It's from the 3.5 branch. I'll try the atomic.h fix.

What versions of xerces-c and xalan are you using on both Ubuntu and Centos?  

Are you using cmake on this or the scripts that build thirdparty?
________________________________________
From: mapguide-internals-bounces at lists.osgeo.org [mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Trevor Wekel [trevor_wekel at otxsystems.com]
Sent: Tuesday, April 06, 2010 3:20 AM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] RE: Ubuntu and Centos builds question

Hi Warren,

I have not seen that one yet.  My first guess would be atomic.h.  It was removed in later versions of the GCC compiler but can be "faked" with gcc intrinsics
http://trac.osgeo.org/mapguide/wiki/CompilingMapGuide22.

If you are still running into difficulties with atomic.h in place, please let me know.  Also, which version of FDO are you trying to compile?

http://svn.osgeo.org/fdo/branches/3.4/
http://svn.osgeo.org/fdo/branches/3.5/
http://svn.osgeo.org/fdo/trunk/


Regards,
Trevor

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Stout, Warren
Sent: April 6, 2010 12:34 AM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] Ubuntu and Centos builds question

Sorry if I've posted this to the wrong group. I've been doing Linux Centos, Ubuntu, and SuSE builds off and on over the last year with limited success. I've ran into a problem with FDO builds with the same error on both Centos 5.4 and Ubuntu 9.10 both 64 bit and 32 bit.

[ 21%] Building CXX object Fdo/UnitTest/CMakeFiles/UnitTest.dir/GmlWriteTest.cpp.o
Linking CXX executable UnitTest
CMakeFiles/UnitTest.dir/CommonTest.cpp.o: In function `FdoIDisposable::FdoIDisposable()':
CommonTest.cpp:(.text._ZN14FdoIDisposableC2Ev[FdoIDisposable::FdoIDisposable()]+0x10): undefined reference to `vtable for FdoIDisposable'
CMakeFiles/UnitTest.dir/CommonTest.cpp.o: In function `FdoIDisposable::~FdoIDisposable()':
CommonTest.cpp:(.text._ZN14FdoIDisposableD2Ev[FdoIDisposable::~FdoIDisposable()]+0x14): undefined reference to `vtable for FdoIDisposable'
CMakeFiles/UnitTest.dir/CommonTest.cpp.o:(.data.rel.ro._ZTV13FdoDictionary[vtable for FdoDictionary]+0x14): undefined reference to `FdoIDisposable::AddRef()'
CMakeFiles/UnitTest.dir/CommonTest.cpp.o:(.data.rel.ro._ZTV13FdoDictionary[vtable for FdoDictionary]+0x18): undefined reference to `FdoIDisposable::Release()'

I believe the error is from Pch.h


class DbgRefCount
{
public:
        // this member forces this class to have a vtable.
        virtual     void ForceVTable() {;}

        FdoInt32    m_refCount;
};

inline FdoInt32 GET_REFCOUNT(FdoIDisposable* p)
{
        return ((DbgRefCount*)p)->m_refCount;
}

Anyone getting this to build without modification?

I know Trevor has at least created deb packages on Ubuntu and I've tried them.

If I need to ask this somewhere else I'll do that..

Thanks

Warren



*****************************************************************************
NOTICE:   The information contained in this electronic transmission is
intended only for the use of the individual or entity named above.  ANY
DISTRIBUTION OR COPYING OF THIS MESSAGE IS PROHIBITED, except by the intended
recipient(s). Attempts to intercept this message are in violation of 18
U.S.C. 2511(1) of the Electronic Communications Privacy Act, which subjects
the interceptor to fines, imprisonment and/or civil damages. If you are not
the intended recipient(s), please delete it and notify me.
*****************************************************************************


_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals





*****************************************************************************
NOTICE:   The information contained in this electronic transmission is
intended only for the use of the individual or entity named above.  ANY
DISTRIBUTION OR COPYING OF THIS MESSAGE IS PROHIBITED, except by the intended
recipient(s). Attempts to intercept this message are in violation of 18
U.S.C. 2511(1) of the Electronic Communications Privacy Act, which subjects
the interceptor to fines, imprisonment and/or civil damages. If you are not
the intended recipient(s), please delete it and notify me.
*****************************************************************************


_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals



More information about the mapguide-internals mailing list