[mapguide-internals] Ubuntu and Centos builds question

Stout, Warren WStout at nvenergy.com
Tue Apr 6 02:33:46 EDT 2010


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.
*****************************************************************************




More information about the mapguide-internals mailing list