certi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [certi-dev] Does CERTI compile at Solaris?


From: Eric Noulard
Subject: Re: [certi-dev] Does CERTI compile at Solaris?
Date: Wed, 18 Jun 2008 16:10:57 +0200

2008/6/18 Martin Spott <address@hidden>:
> Hi Eric,
>
> "Eric Noulard" wrote:
>
>> With current CMake build system for CERTI you usually only need to
>> specify CMAKE_INSTALL_PREFIX,
>> could you tell me why you need to  -D LIB_POSTFIX="" ?
>
> To my experience this is required to force CMake creating a 'lib/'
> directory during 'make install' on 64 bit machines instead of 'lib64/'.

OK, I did not know that.

>
>> Using CMake I advise you to separate source tree from build tree.
>
> Is there any specific reason why building CERTI inside a copy of CVS
> checkout should fail ?

It shouldn't fail. Does it?
However source/build tree separation is a "good practice",
moreover CMake cannot guarantee a bullet-proof "make clean" rule,
so when you have a separate build tree

rm -rf build_tree

is a bullet proof make clean :=)

>> This should be debug message code
>> you may surround those using something like
>>
>> #ifndef __SUNPRO_CC
>> something SUN CC don't like
>> #endif
>
> Yup, this works in OpjectClass.cc
> The next one is here:
>
> [  7%] Building CXX object libCERTI/CMakeFiles/CERTI.dir/Subscribable.o
> /opt/SUNWspro/bin/CC  -xO3 -xtarget=ultra2 -xautopar -xprefetch=auto  
> -DCERTI_EXPORTS   -g -KPIC -I/usr/include/libxml2 
> -I/usr/local/src/certi/include -I/usr/local/src/certi 
> -I/usr/local/src/certi/libCERTI   -DHOST_IS_BIG_ENDIAN -DHAVE_CONFIG_H=1 
> -DHAVE_XML -DRTI_USES_STD_FSTREAM -o 
> libCERTI/CMakeFiles/CERTI.dir/Subscribable.o -c 
> /usr/local/src/certi/libCERTI/Subscribable.cc
> "/usr/local/src/certi/libCERTI/NetworkMessage.hh", line 226: Warning: date 
> hides certi::NetworkMessage::date.
> "/usr/local/src/certi/libCERTI/NetworkMessage.hh", line 235: Warning: label 
> hides certi::NetworkMessage::label.
> "/usr/local/src/certi/libCERTI/NetworkMessage.hh", line 243: Warning: tag 
> hides certi::NetworkMessage::tag.
> "/usr/local/src/certi/libCERTI/Subscribable.cc", line 110: Error: Cannot cast 
> from certi::HandleComparator<certi::Subscriber> to bool(*)(const 
> certi::Subscriber&).
> 1 Error(s) and 3 Warning(s) detected.
> make[2]: *** [libCERTI/CMakeFiles/CERTI.dir/Subscribable.o] Error 1

I let Petr trying with the next ones
and I'll wait to have my hands on a Solaris keyboard :=)


-- 
Erk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]