Re: Pythia6 problem on Mac OS X Tiger

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Wed, 21 Dec 2005 19:58:07 +0100


Hi Mario,

could you try to re-order your libs? Instead of

# NOT: g++ `root-config --cflags --libs --glibs` -lPythia6 -lEG -lEGPythia6 -o higgsanal higgsanal.C

try

g++ `root-config --cflags --libs --glibs` -lEGPythia6 -lEG -lPythia6 -o higgsanal higgsanal.C

Symbols are resolved from left to right... Cheers, Axel.

Rene Brun wrote:
> Mario,
>
> I do not understand your problem. The files that you quote as missing
> when linking are provided in the tar file.
> May be you are hitting the same problem that was reported recently by
> Dmitry Naumov when compiling with the latest gcc4.0.3 compiler
> (something to do with underscores).
> If indeed you use this compiler, you can start from the CVS head
> where this problem has been fixed. You can take pythia6/src/TPythia6.cxx
> only.
>
> Let me know
>
> Rene Brun
>
> On Wed, 21 Dec 2005, Mario Kadastik wrote:
>

>> Rene Brun wrote:
>>
>>> Mario,
>>>
>>> Look at http://root.cern.ch/root/Install.html
>>> and section "Pythia generator:
>>> Take the tar file pythia6.tar.gz. It contains all the necessary files
>>> to compile on all machines.
>>
>> that's exactly where I took it from :) and that's the
>> makePythia.macosx script I'm running in my previous e-mail and as you
>> can see it compiles nicely. I can also run my code in root, but I
>> can't compile it due to the linking errors I wrote about. But I would
>> like to compile as I have a lot of datasets against which I'd like to
>> run my code and running it from command line using arguments is a lot
>> more convenient.
>>
>> Mario
>>

>
Received on Wed Dec 21 2005 - 19:58:14 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:14 MET