Re: differences among the piis gcc compilers

From: Flemming Videbaek (videbaek@sgs1.hirg.bnl.goV)
Date: Sat Aug 18 2001 - 17:02:01 EDT

  • Next message: Djamel Ouerdane: "tpc3d"

    Dear Steve,
    
    pii3 is running a different version of redhat- and has different libc etc.
    In any case pii3 is not meant to be used for compiling and running prograsm
    -
    it is the disk and database server only.
    The problem below is probably that the root is not compiled against those
    libraries.
    
    Flemming
    
    
    
    
    Stephen J. Sanders" wrote:
    
    > Hi,
    > I have some code for monitoring the status of the multiplicity array
    > that compiles and links
    > fine on pii4 and pii5 (egcs-2.91.66),  but fails to link on pii3 (gcc
    > 2.96) with the
    > error:
    >
    > ../lib/libmultCalib.so: undefined reference to `TFile::TFile(char const
    > *, char const *, char const *, int)'
    > collect2: ld returned 1 exit status
    >
    > The code also works fine on my linuxPPC systeme running gcc 2.95.3.
    > Is there a known problem of linking to root functions using gcc 2.96?  I
    > remember some
    > discussion a while back about problems using the newest gcc, but I can't
    > remember if
    > any of this carried over to root or brat. (I also don't know if 2.96 is
    > the version that was
    > causing people grief...)
    >
    > Regards,  Steve
    



    This archive was generated by hypermail 2b30 : Sat Aug 18 2001 - 17:03:00 EDT