[mapguide-internals] Ubuntu and Centos builds question
UV
uvwild at googlemail.com
Tue Apr 6 02:59:01 EDT 2010
this says the linker cannot find the 4 function defs defined by the
interface FdoIDisposable.
those are either in a compilation unit not included in the linker command
or missing from the used compilation units because of the preprocessor .....
I did a build on centos5.4 a year ago without major problems....
but it can be quite hard.
the unit tests are often the hardest to build because they reference
everything.
So if everything else is working it should be possible to reconstruct
from another location.
Stout, Warren wrote:
> 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
>
>
More information about the mapguide-internals
mailing list