cannot find -lCore when compiling the /test files

From: Emilie Ferrié <emilie.ferrie_at_simap.grenoble-inp.fr>
Date: Thu, 22 May 2008 10:56:17 +0200


Hello,

I am a new user of ROOT.
*my problem : CANNOT COMPILE the examples of the /root/test directory*

What i did so far :

I installed the *root_v5.12.00.linux-gcc-4.1.tar* in the
/usr/local/ObjGraph on my computer.

I define the environnement variables in my .cshrc file as :

setenv ROOTSYS /usr/local/ObjGraf/root
setenv PATH ${PATH}:${ROOTSYS}/bin
set path=($path $ROOTSYS/bin $HOME/bin .) setenv LD_LIBRARY_PATH ${ROOTSYS}/lib

When I type "root", the interactive root works fine.

BUT : when i try compile all the .cxx files using the Makefile of the
/test directory, i have the folling error :



[raptor.gpm2.inpg.fr]:/home/eferrie/CPP/ROOT_test/test> make g++ -O MainEvent.o libEvent.so -L/usr/local/ObjGraf/root/lib -lCore -lCint -lHist -lGraf -l
Graf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -pthread -lm -ldl -rdynamic \
                  -o Event

/usr/bin/ld: skipping incompatible
/usr/local/ObjGraf/root/lib/libCore.so when searching for
-lCore
/usr/bin/ld: cannot find -lCore


WHAT CAN I DO ? Thanks in advance for your help

émilie

-- 
Emilie FERRIE
Maître de Conférences
Grenoble-INP
SIMA Groupe GPM2

101 rue de la physique
38402 Saint Martin d'Hères

tél : 00 33 (0)4 76 82 63 41 
fax : 00 33 (0)4 76 82 63 82 
Received on Thu May 22 2008 - 10:58:58 CEST

This archive was generated by hypermail 2.2.0 : Thu May 22 2008 - 11:50:02 CEST