[Top][All Lists]

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

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

From: Martin Spott
Subject: Re: [certi-dev] Does CERTI compile at Solaris?
Date: Wed, 18 Jun 2008 13:55:41 +0000 (UTC)
User-agent: tin/1.9.2-20070201 ("Dalaruan") (UNIX) (Linux/ (x86_64))

Hi Eric,

"Eric Noulard" wrote:

> With current CMake build system for CERTI you usually only need to
> 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/'.

> 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 ?

> 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 
libCERTI/CMakeFiles/CERTI.dir/Subscribable.o -c 
"/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 
"/usr/local/src/certi/libCERTI/Subscribable.cc", line 110: Error: Cannot cast 
from certi::HandleComparator<certi::Subscriber> to bool(*)(const 
1 Error(s) and 3 Warning(s) detected.
make[2]: *** [libCERTI/CMakeFiles/CERTI.dir/Subscribable.o] Error 1

 Unix _IS_ user friendly - it's just selective about who its friends are !

reply via email to

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