[gate-users] Re: Compilation problem

Long Zhang mr.long.zhang at gmail.com
Fri Apr 8 19:42:09 CEST 2005


Dear Manuel, Fernando, Aurelien,

It is OK that ranlib says "has no symbol". There is no symbol in those
object files. Use "nm -s" to list the symbol in a object file. Mac OS
may support this command since it is a UNIX like operation system.

Hope this helps :-)

Long

> Message: 1
> Date: Thu, 7 Apr 2005 16:11:50 +0200
> From: Manuel Bardi?s<manu at nantes.inserm.fr>
> Subject: Re: [gate-users] Compilation problem
> To: GATE feedback and helpline for Users
>        <gate-users at lphe1pet1.epfl.ch>
> Message-ID: <8b3c336bc1b571cd6481267c389b496b at nantes.inserm.fr>
> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
> 
> Le 5 avr. 05, à 11:30, Fernando Rannou a écrit :
> 
> > Dear Aurelien
> > My guess is that  the problem you are having is Mac OS specific.
> It's also Nantes specific ;-)
> > Unfortunately, I do not have experience with Macs.
> > The error message "has no symbol" might be related to the building of
> > the symbol table by the compiler. I could be that the shared object
> > does not have a single symbol in it, like if the source file was empty.
> > This, in turn, may be caused by a macro like #ifdef or something like
> > it
> > in the code that is not satisfied and the whole thing does not get
> > compiled.
> Also my guess. This is not very important since we are only simulating
> monoenergetic sources... But I'll try to sort that out.
> Thankx a lot,
> 
> Manu
> >
> > This is a wild guess, so
> > are there any Mac OS experts that can help here?
> > Thanks
> > Fernando
> >
> >
> > On Tue, 2005-04-05 at 10:56 +0000, Aurélien Vasseur wrote:
> >> Hello,
> >>
> >> Sorry, I wasn't precise in my previous mail.
> >> I'm working with:
> >>
> >> *CLHEP 1.8.2.0
> >> *GEANT4.6.2.p02
> >> *GATE_v1.1.0
> >> *gcc3.3
> >> on Mac OS 10.3.8.
> >>
> >> I did install CLHEP before GEANT. When I compile GATE, I obtain:
> >>
> >> ranlib: file: libGate.a(GateRadioactiveDecay.o) has no symbols
> >> ranlib: file: libGate.a(GateRadioactiveDecayMessenger.o) has no
> >> symbols
> >> ranlib: file: libGate.a(GateSinoToEcat7.o) has no symbols
> >> ranlib: file: libGate.a(GateSinoToEcat7Messenger.o) has no symbols
> >> ranlib: file: libGate.a(GateToLMF.o) has no symbols
> >> ranlib: file: libGate.a(GateToLMFMessenger.o) has no symbols
> >>
> >> I'm OK with GateSinoToEcat7.o & GateToLMF.o (I didn't install them)
> >> but I'm in trouble with GateRadioactiveDecay.o. Can you help me?
> >> Thanks
> >>
> >>
> >> Aurélien Vasseur
> >>
> >>> De: Fernando Rannou <rannou at diinf.usach.cl>
> >>> A: GATE feedback and helpline for Users
> >>> <gate-users at lphe1pet1.epfl.ch>
> >>> Objet: Re: [gate-users] Compilation problem
> >>> Date: Mon, 04 Apr 2005 09:21:35 +0000
> >>> <pre>Hello Aurelien
> >>> We need to know a little bit more about the error messages
> >>> you get.
> >>> Tell us about your operating system, your gcc compiler
> >>> and send us the error messages you get when you compile
> >>> Geant4.
> >>>
> >>> Did you install clhep before Geant4?
> >>>
> >>> Fernando
> >>>
> >>> On Mon, 2005-04-04 at 11:35 +0000, Aurélien Vasseur wrote:
> >>>> Hi,
> >>>>
> >>>> I try to compile Geant and Gate again (because I typed a bad
> >>>> command) and I get error messages at the end, when they make
> >>>> 'ranlib'. The compilation didn't abort, but on my display, I had
> >>>> many "toto.a has no symbol". What consequences have this messages,
> >>>> and does someone know what it is due to?
> >>>>
> >>>> PS: Thanks Charbel for your response. Is my definition wrong? Why
> >>>> is there a Warning message?
> >>>>
> >>>> C est le moment de dynamiser votre boîte mail en découvrant les
> >>>> offres CaraMail Max et Pro - <a  target="_blank" href=<a
> >>>> href=http://www.caramail.com>http://www.caramail.com</a>>>http://
> >>>> www.caramail.com>http://www.caramail.com</a>></a>
> >>>> _______________________________________________
> >>>> gate-users mailing list
> >>>> gate-users at lphe1pet1.epfl.ch
> >>>> <a  target="_blank" href=<a
> >>>> href=http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users>http://
> >>>> lphe1pet1.epfl.ch/mailman/listinfo/gate-users</a>>http://
> >>>> lphe1pet1.epfl.ch/mailman/listinfo/gate-users>http://
> >>>> lphe1pet1.epfl.ch/mailman/listinfo/gate-users</a></a>>
> >>> _______________________________________________
> >>> gate-users mailing list
> >>> gate-users at lphe1pet1.epfl.ch
> >>> <a  target="_blank" href=<a
> >>> href=http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users>http://
> >>> lphe1pet1.epfl.ch/mailman/listinfo/gate-users</a>>http://
> >>> lphe1pet1.epfl.ch/mailman/listinfo/gate-users>http://
> >>> lphe1pet1.epfl.ch/mailman/listinfo/gate-users</a></a>> </pre>
> >> </pre>
> >>
> >> C est le moment de dynamiser votre boîte mail en découvrant les
> >> offres CaraMail Max et Pro - http://www.caramail.com
> >>
> >> _______________________________________________
> >> gate-users mailing list
> >> gate-users at lphe1pet1.epfl.ch
> >> http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
> >
> >
> > _______________________________________________
> > gate-users mailing list
> > gate-users at lphe1pet1.epfl.ch
> > http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
> >
> >
> Manuel Bardiès
> INSERM UMR 601
> 9 Quai Moncousu
> 44093 Nantes cedex
> -----------------------------
> Tel:   02 40 41 28 21
> Fax:  02 40 35 66 97
> Sec:  02 40 08 47 47
>



More information about the Gate-users mailing list