problem with DpmEvtGen library [message #7649] |
Fri, 19 December 2008 12:06 |
Elisa Fioravanti
Messages: 84 Registered: January 2008
|
continuous participant |
From: *fe.infn.it
|
|
Hello,
I installed the new external packages and the installation works.
But then I'm installing pandaroot and when I do make I have this error message:
macbook-di-elisa-fioravanti:buildPanda elisafioravanti$ make
[ 4%] Built target Base
[ 8%] Built target GeoBase
[ 10%] Built target ParBase
[ 11%] Built target MCStack
[ 12%] Built target Passive
[ 16%] Built target Field
[ 17%] Built target Gen
[ 18%] Built target PGen
[ 19%] Built target DpmEvtGen
Linking CXX executable ../../bin/DPMGen
ld: library not found for -lDpmEvtGen
collect2: ld returned 1 exit status
make[2]: *** [bin/DPMGen] Error 1
make[1]: *** [pgenerators/DpmEvtGen/CMakeFiles/DpmEvtGen_exe.dir/all] Error 2
make: *** [all] Error 2
If I do make in pandaroot/trunk/pgenerators/DpmEvtGen, I have this message:
macbook-di-elisa-fioravanti:DpmEvtGen elisafioravanti$ make
Building lib/libDpmEvtGen.so library ...
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libCore.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libCint.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libRIO.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libNet.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libHist.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libGraf.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libGraf3d.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libGpad.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libTree.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libRint.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libPostscript.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libMatrix.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libPhysics.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libMathCore.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libThread.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libfreetype.a, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libGui.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libEG.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libTreePlayer.so, file is not of required architecture
ld warning: in /Users/elisafioravanti/fairsoft/tools/root/lib/libMinuit.so, file is not of required architecture
ld warning: in tmp/common.o, file is not of required architecture
ld warning: in tmp/decay.o, file is not of required architecture
ld warning: in tmp/dpm_gen.o, file is not of required architecture
ld warning: in tmp/init.o, file is not of required architecture
ld warning: in tmp/rndmget.o, file is not of required architecture
ld warning: in tmp/string.o, file is not of required architecture
Undefined symbols:
"_main", referenced from:
start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [lib/libDpmEvtGen.so] Error 1
I have mac OS X 10.5.6 and gcc version is 4.0.1
Can somebody help me?
Thank you in advance,
Elisa
|
|
|
|
|
Re: problem with DpmEvtGen library [message #11116 is a reply to message #7649] |
Fri, 22 October 2010 15:07 |
manoj.jadhav
Messages: 41 Registered: February 2010 Location: Mumbai, India
|
continuous participant |
From: *ikp.kfa-juelich.de
|
|
hi dear,
I am compiling my pandaroot trunk on SUSE 11.1 after make it is giving following error
ld: cannot find -lCore
make[2]: *** [lib/libDpmEvtGen.so.0.0.0] Error 1
make[1]: *** [pgenerators/DpmEvtGen/CMakeFiles/DpmEvtGen.dir/all] Error 2
make: *** [all] Error 2
so I just commented out the DpmEvtGen from pandaroot/CMakeLists.txt
then it is giving error
../../lib/libPhotos.so.0.0.0: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [lib/libEvtGen.so.0.0.0] Error 1
make[1]: *** [pgenerators/EvtGen/CMakeFiles/EvtGen.dir/all] Error 2
make: *** [all] Error 2
so I also commented out EvtGen & then it runs fine
But I want to use both DpmEvtGen & EvtGen so what should I do for it ?
I tried by copying above CMakeLists.txt file to DpmEvtGen folder it then it give some other error.
Manoj Jadhav
I.I.T.Bombay
Mumbai
|
|
|
Re: problem with DpmEvtGen library [message #11448 is a reply to message #7650] |
Tue, 25 January 2011 06:44 |
manoj.jadhav
Messages: 41 Registered: February 2010 Location: Mumbai, India
|
continuous participant |
From: *162.23.4.static-mumbai.vsnl.net.in
|
|
Hello all,
I am trying to install pandaroot on mac 10.6.3 but after make it is giving fallowing error,
make[2]: *** [lib/libDpmEvtGen.0.0.0.so] Error 1
make[1]: *** [pgenerators/DpmEvtGen/CMakeFiles/DpmEvtGen.dir/all] Error 2
make: *** [all] Error 2
so I did make in DpmEvtGen
it is giving following error
ManojJadhav:DpmEvtGen Manoj$ make
Compiling file common.f ...
make: g77: No such file or directory
make: *** [tmp/common.o] Error 1
I tried with coping above file to DpmEvtGen but this is not working, so please some one can suggest me any solution?
Manoj Jadhav
I.I.T.Bombay
Mumbai
|
|
|
Re: problem with DpmEvtGen library [message #11449 is a reply to message #11448] |
Tue, 25 January 2011 08:59 |
Florian Uhlig
Messages: 424 Registered: May 2007
|
first-grade participant |
From: *gsi.de
|
|
Hi
There is not a problem with the source file. The problem is that the file is a fortran file and make cannot find the fortran compiler. Probably you have no fortran compiler on your system.
Ciao
Florian
|
|
|