[Gate-users] collect2: ld returned 1 exit status make: *** [bin/Linux-g++/Gate] Error 1

Stiller, Wolfram Wolfram.Stiller at med.uni-heidelberg.de
Tue Feb 2 19:20:36 CET 2010


Dear Sebnem,



Your problem looks like a "classical" 64bit-problem to me. The messages show that the problems apparently are not encountered when compiling but upon linking the compiled files (meaning these have been successfully compiled). The messages "/usr/bin/ld: skipping incompatible ..." indicate that the libraries needed for linking are found and thus present on your system, but they do not have the right format. You also encounter these messages if libraries having another "bit format" than the needed one are encountered by the linker before it actually finds the right ones - this is not the case on your system. Three things can cause this:



a)      ROOT and CLHEP have been compiled (or installed from pre-compiled tarballs) for 32-bit only - thus you try to link 64bit Gate to 32bit ROOT/CLHEP

b)      You are trying to link 64bit ROOT/CLHEP to 32bit Gate

c)       The 64 bit (or 32 bit) versions of the libraries are present, but reside in another directory. In this case you will have to change the paths in the makefiles to point to the right library versions.



Hope this casts some light on possible solutions of your problem.



Best regards,



Wolfram







Dr. Wolfram Stiller

Diplom-Physiker



Universitätsklinikum Heidelberg

Abteilung für Diagnostische und Interventionelle Radiologie

Im Neuenheimer Feld 110

D-69120 Heidelberg

Germany



E-mail: wolfram.stiller at med.uni-heidelberg.de



Tel.: +49 (0) 6221 56 37240 or

       +49 (0) 6221 56 6434





Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.



This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



-----Ursprüngliche Nachricht-----
Von: gate-users-bounces at lists.opengatecollaboration.org [mailto:gate-users-bounces at lists.opengatecollaboration.org] Im Auftrag von sebnem erturk
Gesendet: Dienstag, 2. Februar 2010 15:06
An: gate-users at lists.opengatecollaboration.org
Betreff: [Gate-users] collect2: ld returned 1 exit status make: *** [bin/Linux-g++/Gate] Error 1



Hi All,



We are trying to install Gate onto the Debian.



During the installation, we took below error message.



What we should do to solve it?



Is there any installation guide for Debian ?



Thank you very much in advance any kind of help and information.







Using global libraries ...

Linking Gate ...

/usr/bin/ld: skipping incompatible

/home/gate/root_v5.20/lib/

libCore.so when searching for -lCore

/usr/bin/ld: skipping incompatible

/home/gate/root_v5.20/lib/libCint.so when searching for -lCint

/usr/bin/ld: skipping incompatible

/home/gate/root_v5.20/lib/libHist.so when searching for -lHist

/usr/bin/ld: skipping incompatible

/home/gate/root_v5.20/lib/libGraf.so when searching for -lGraf

/usr/bin/ld: skipping incompatible

/home/gate/root_v5.20/lib/libGraf3d.so when searching for -lGraf3d

/usr/bin/ld: skipping incompatible

/home/gate/root_v5.20/lib/libGpad.so when searching for -lGpad

/usr/bin/ld: skipping incompatible

/home/gate/root_v5.20/lib/libTree.so when searching for -lTree

/usr/bin/ld: skipping incompatible

/home/gate/root_v5.20/lib/libRint.so when searching for -lRint

/usr/bin/ld: skipping incompatible

/home/gate/root_v5.20/lib/libPostscript.so when searching for

-lPostscript

/usr/bin/ld: skipping incompatible

/home/gate/root_v5.20/lib/libMatrix.so when searching for -lMatrix

/usr/bin/ld: skipping incompatible

/home/gate/root_v5.20/lib/libPhysics.so when searching for -lPhysics

/usr/bin/ld: skipping incompatible

/home/gate/2.0.3.2/CLHEP/lib/libCLHEP.so when searching for -lCLHEP

/usr/bin/ld: skipping incompatible

/home/gate/2.0.3.2/CLHEP/lib/libCLHEP.a when searching for -lCLHEP

/usr/bin/ld: cannot find -lCLHEP

collect2: ld returned 1 exit status

make: *** [bin/Linux-g++/Gate] Error 1



Best regards,

--

Sebnem Erturk

University of Pisa

Applied Physics Dpt.

Largo Pontecorvo

56127 Pisa-Italy

Office :0039 050 2214346

Mobile :0039 345 3331440

http://www.df.unipi.it/~fiig/

_______________________________________________

Gate-users mailing list

Gate-users at lists.opengatecollaboration.org

http://lists.opengatecollaboration.org/mailman/listinfo/gate-users


More information about the Gate-users mailing list