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: Martin Spott
Subject: Re: [certi-dev] Does CERTI compile at Solaris?
Date: Mon, 23 Jun 2008 20:24:13 +0000 (UTC)
User-agent: tin/1.9.2-20070201 ("Dalaruan") (UNIX) (Linux/2.6.25.8-amd64 (x86_64))

"Eric Noulard" wrote:
> 2008/6/23 Martin Spott <address@hidden>:

> I've changed
> #include <csignal>
> to
> #include <signal.h>

 ....  compiles perfectly !

> > One side note: All the resulting binaries are being linked with the
> > "-R/<source-path>/libCERTI" flag. I guess it might be more
> > convenient to link with "-R/<install-prefix>/lib" instead so libCERTI
> > is being found at run-time.
> 
> The rpath should be changed automagically when you do
> 
> make install.

Actuall it does not. This is where the binary is being linked together
for the first time:

cd /usr/local/src/certi/RTIG && /opt/SUNWspro/bin/CC  -xO3
  -xtarget=ultra2 -xautopar -xprefetch=auto -g -KPIC
  "CMakeFiles/rtig.dir/Federate.o" "CMakeFiles/rtig.dir/Federation.o"
  "CMakeFiles/rtig.dir/FederationsList.o" "CMakeFiles/rtig.dir/main.o"
  "CMakeFiles/rtig.dir/RTIG.o" "CMakeFiles/rtig.dir/RTIG_processing.o"
  "CMakeFiles/rtig.dir/Trace.o" "CMakeFiles/rtig.dir/cmdline.o"
  "CMakeFiles/rtig.dir/getopt1.o" "CMakeFiles/rtig.dir/getopt.o" -o rtig
  -L/usr/local/src/certi/libCERTI -lsocket -lxml2 -lCERTI -lxml2 -lsocket
  -lrt -R/usr/local/src/certi/libCERTI


....  and when re-linked during install:

cd /usr/local/src/certi/RTIG && /opt/SUNWspro/bin/CC  -xO3
  -xtarget=ultra2 -xautopar -xprefetch=auto -g -KPIC
  "CMakeFiles/rtig.dir/Federate.o" "CMakeFiles/rtig.dir/Federation.o"
  "CMakeFiles/rtig.dir/FederationsList.o" "CMakeFiles/rtig.dir/main.o"
  "CMakeFiles/rtig.dir/RTIG.o" "CMakeFiles/rtig.dir/RTIG_processing.o"
  "CMakeFiles/rtig.dir/Trace.o" "CMakeFiles/rtig.dir/cmdline.o"
  "CMakeFiles/rtig.dir/getopt1.o" "CMakeFiles/rtig.dir/getopt.o"
  -o CMakeFiles/CMakeRelink.dir/rtig -L/usr/local/src/certi/libCERTI
  -lsocket -lxml2 -lCERTI -lxml2 -lsocket -lrt


The one that is being installed finally is, no surprise, the one that
hed been re-linked:

foehn: 22:20:42 /usr/local/src/certi> md5sum 
./RTIG/CMakeFiles/CMakeRelink.dir/rtig ./RTIG/rtig /opt/CERTI/bin/rtig
67a86b4ce207eee62b1f9f938f80f4f1  ./RTIG/CMakeFiles/CMakeRelink.dir/rtig
41e3cc6209e14a40733b202d800c921e  ./RTIG/rtig
67a86b4ce207eee62b1f9f938f80f4f1  /opt/CERTI/bin/rtig


Cheers,
        Martin.
-- 
 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]