[Clas12_software] [Clas_offline] compile with ROOT on 64
Gagik Gavalian
gavalian at jlab.org
Tue Feb 9 00:11:46 EST 2010
Dear F.X.,
The line that you sent as a compilation line does not have the flag -m64
in it, which is needed if you're trying to link with a 64 bit ROOT.
Could you be more specific ?
Are you trying to compile your code as 64 bit and link with 64 bit ROOT ?
Gagik.
fxgirod at jlab.org wrote:
> Dear all,
>
> I have difficulties to compile my code on ifarml64 when using ROOT from
> ROOTSYS either /site/root/5.24/Linux_CentOS5.3-x86_64-gcc4.1.2
> or
> /site/root/5.26/Linux_CentOS5.3-x86_64-gcc4.1.2
>
> The linking with shared objects gives me multiple undefined references for
> libTree.so at the execution of :
>
> gcc -o BinVol BinVol.o
> -L/site/root/5.26/Linux_CentOS5.3-x86_64-gcc4.1.2/lib -lCore -lCint -lHist
> -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lm
> -ldl -lnsl -L./
>
> I also tried to load from
> /site/root/5.26/Linux_CentOS5.3-x86_64-gcc4.1.2/root/lib
> instead, as well as various other combinations, but I am a bit confused
> now. Did somebody manage to compile with libTree.so on 64 recently ?
>
> Thank you in advance for hints.
>
> Best regards,
> Francois
>
> _______________________________________________
> Clas_offline mailing list
> Clas_offline at jlab.org
> https://mailman.jlab.org/mailman/listinfo/clas_offline
>
More information about the Clas12_software
mailing list