Hi Kris, Hiro, et al, On Thu, 03 Jan 2002 13:00:17 -0600 Kris Hagel <hagel@comp.tamu.edu> wrote concerning "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. That, I believe, is indeed the problem here. I checked out a fresh BRAT and tried to build on pii10, linking against the ROOT in /afs/rhic/opt/brahms/new. I got the same error as you did Hiro. Then I build and installed a ROOT on the local account build on pii10, and then tried to build BRAT against that, which went fine. Hence, I'm led to conclude, as Kris rightly did too, that the mixing of linksers/compilers is what cause the problem. > 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 ... Compiled, linked, and installed from the rcas (0009 I believe), since they have the same environment as the CRS nodes have. > ... as was what ever root you are using (which I don't even see in > your link command). ROOT was also compiled, linked and installed from an rcas (probably also 0009), again because the rcas' has the same environment as the rcsrs'. And Kris, the link stuff for ROOT is right there: -L/afs/rhic/opt/brahms/new/lib \ -lCore -lCint -lHist -lGraf -lMatrix -lMySQL which points out that ROOT is installed with prefix=/afs/rhic/opt/brahms/new, and so to figure out the version number, run root-config --version from /afs/rhic/opt/brahms/new/bin. If that directory is not in your PATH environment variable (which it needn't be unless you've set the BRAHMS_NEW environment variable, or if you don't use /brahms/u/brahmlib/etc/brahms.login to setup your environment), you can just do /afs/rhic/opt/brahms/new/bin/root-config --version No need to set ROOTSYS, 'cause ROOT is compiled with static paths option. > What is confusing right now is that things should be backward > compatible. Up to the point of the compiler yes. However, if the compiler maintainer (in this case Red Hat) decided to do things differently, like looking up names in another way than what was previously done, well, then you're ... So that's my guess. It's for sure nothing that happened in BRAT or ROOT. Yours, Christian Holm Christensen ------------------------------------------- Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91 DK-2200 Copenhagen N Cell: (+45) 28 82 16 23 Denmark Office: (+45) 353 25 305 Email: cholm@nbi.dk Web: www.nbi.dk/~cholm
This archive was generated by hypermail 2b30 : Thu Jan 03 2002 - 16:27:27 EST