[cvsnt-dev] CVSNT on SuSE Linux Enterprise Server 10 compilationerror

Arthur Barrett arthur.barrett at march-hare.com
Wed Nov 26 02:06:41 GMT 2008

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

José Luis Palacios,

>  I have an error compiling last version of CVSNT on SLES 10. Here is the
> error:
> wrapper.cpp:(.text._ZNSt6vectorI12WrapperEntrySaIS0_EE13_M_insert_auxEN9__gn
> u_cxx17__normal_iteratorIPS0_S2_EERKS0_[std::vector<WrapperEntry,
> std::allocator<WrapperEntry>
> ::_M_insert_aux(__gnu_cxx::__normal_iterator<WrapperEntry*,
> std::vector<WrapperEntry, std::allocator<WrapperEntry> > >, WrapperEntry
> const&)]+0x3d8): undefined reference to `__cxa_rethrow'
> ../cvsapi/.libs/libcvsapi.so: undefined reference to `floor'
> ../cvsapi/.libs/libcvsapi.so: undefined reference to `vtable for
> __cxxabiv1::__si_class_type_info'
> ../cvsapi/.libs/libcvsapi.so: undefined reference to `fmod'

SuSE is not a platform we currently compile 2.5.04 on - however we do builds 
on our commercial builds for a customer but that is on SLES9 and won't be 
merged into the 2.5.05 for a few weeks yet.

What compiler are you using, what version of the compiler?  What were the 
configure results?  What configure line are you using?

It looks like you are failing to link to some math library, you'll most 
likely need to add a dependent library in the LDFLAGS or something.

Here is our configure line for sles9 and CVS Suite:
GSSAPI_INCLUDES=`krb5-config --cflags gssapi | sed 's/-I/-idirafter /'`
GSSAPI_LIBS=`krb5-config --libs gssapi`
configure --enable-64bit --enable-largefile --disable-gserve --enable-oracle 
 --with-oracle="/usr/app/oracle/product/10.2.0/home_1/" --disable-postgres 
LDFLAGS="-lresolv -L/lib64 -L/usr/lib64" CFLAGS="-O0 $GSSAPI_INCLUDES" 



More information about the cvsnt-dev mailing list