Print

Print


  Hi Gerri,

On Fri, Sep 17, 2004 at 12:45:57PM +0200, Gerardo Ganis wrote:
>   I have just checked and see exactly the same: it is due to
>   an inconsistency between declaration of TXNetConn::Connect()
>   in TXNetConn.h 
> 
>     Short_t Connect(TString newHost, Int_t newPort, Int_t netopt);
> 
>   and the implementation in TXNetConn.cxx 
> 
> //_____________________________________________________________________________
> Short_t TXNetConn::Connect(TString Host, const Int_t Port, Int_t netopt)
> {
> }
> 
>   This was introduced at some point in the migration; I have asked
>   Fons to restore the signature in TXNetConn.h .

  Great, thanks... Interesting, gcc 2.95.3 and 3.2.3 (on linux) are apparently 
happy linking the different signatures ("Int_t newPort" and "const Int_t Port")
as there was no problem for those builds.  

                                   Pete

> On Fri, 17 Sep 2004, Peter Elmer wrote:
> 
> >   Hi Gerri,
> > 
> >   Just a heads up: there seems to be some problem with the TXNetFile client
> > in the solaris8/WS6U1 build:
> > 
> > root [1] myfile = TFile::Open("root://kanolb-a:1094///store/users/echarles/pro$
> > ld.so.1: /afs/slac.stanford.edu/g/babar/package/root/cvs040908_1418/SunOS58_sparc_WS6U1/bin/root.exe: fatal: relocation error: file /afs/slac.stanford.edu/g/babar/package/root/cvs040908_1418/SunOS58_sparc_WS6U1/lib/libNetx.so: symbol __1cJTXNetConnHConnect6MnHTString_ii_h_: referenced symbol not found
> > 
> > shire01> dem __1cJTXNetConnHConnect6MnHTString_ii_h_
> > 
> > __1cJTXNetConnHConnect6MnHTString_ii_h_ == short TXNetConn::Connect(TString,int,int)
> > 
> >   Have you seen anything like this?
> > 
> >   Here I was using a CVS snapshot from 20040908. I've not yet tried with a 
> > more recent snapshot, though. Matthias, do you have a more recent solaris 
> > build of ROOT someplace?
> > 
> >   BTW, a root question: is there a way to get the lines to wrap around instead 
> > of shifting off to the left when they go beyond the 80 characters (or 
> > whatever)?
> > 
> >                                  thanks,
> >                                    Pete



-------------------------------------------------------------------------
Peter Elmer     E-mail: [log in to unmask]      Phone: +41 (22) 767-4644
Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland
-------------------------------------------------------------------------