Re: I do not unerstand

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Sun, 3 Feb 2008 08:33:03 +0100


It looks like you forgot to link with -lMinuit

Rene Brun

Dr P Dupre wrote:
> Hello,
>
> I am trying to link my code (after compilation) on a Fedora 6 machine
> where I compiled root version 5_18 and I get an error message.
> NLFitting.o: In function `Fitting::Fit(TString, unsigned int, float,
> int)':
> NLFitting.C:(.text+0x120b): undefined reference to
> `TFitter::TFitter(int)'
> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libf2c.so: undefined
> reference to `MAIN__'
> collect2: ld returned 1 exit status
> make: *** [multiline] Error 1
>
> The compilation is OK on another machine (FC7) with the version 5.16 !
>
> What am I missing ?
>
> Regards
>
Received on Sun Feb 03 2008 - 08:33:11 CET

This archive was generated by hypermail 2.2.0 : Mon Feb 04 2008 - 17:50:01 CET