Re: brat not compiling with RH7.1

From: Kris Hagel (hagel@comp.tamu.edu)
Date: Thu Jan 03 2002 - 14:00:17 EST

  • Next message: Christian Holm Christensen: "Re: brat not compiling with RH7.1"

    Hello,
    My experience has been that these kinds of errors are usually the result of
    having mixed versions of compilers/linkers.  Based on what you have written,
    I can't put my finger on exactly what is wrong, but brat in
    /afs/rhic/opt/brahms/new was probably linked on RH6.2 as was what ever root
    you are using (which I don't even see in your link command).  What is
    confusing right now is that things should be backward compatible.  Anyway,
    that is what it looks like to me.
    
    Kris
    
    Hironori Ito wrote:
    
    >         Hello.  Brat is not compiling with RH7.1 anymore.  Here is the
    > error message.
    >
    > c++ -g -O1 -o .libs/brdbcalib CreateCalib.o DbUtils.o DbUtilsDict.o
    > ../../data/abc/.libs/libBratDataAbc.so -L/afs/rhic/opt/brahms/new/lib
    > -lCore -lCint -lm -ldl -lpthread ../../managers/.libs/libBratManager.so
    > -lCore -lCint -lm -ldl -lpthread ../../util/.libs/libBratUtil.so -lCore
    > -lCint -lHist -lGraf -lMatrix -lm -ldl -lpthread
    > ../../db/.libs/libBratDb.so -lMySQL -lm -ldl -lpthread -Wl,--rpath
    > -Wl,/home/hito/temp/brat/lib -Wl,--rpath -Wl,/afs/rhic/opt/brahms/new/lib
    > ../../db/.libs/libBratDb.so: undefined reference to `TFile::Open(char
    > const *, char const *, char const *, int, int)'
    > collect2: ld returned 1 exit status
    > make[2]: *** [brdbcalib] Error 1
    >
    >         Anyone????
    >
    > (It did work with RH6.2)
    >
    > I did not try with GCC3, but maybe it is the time to change.
    >
    >         Hiro
    



    This archive was generated by hypermail 2b30 : Thu Jan 03 2002 - 13:55:38 EST