Re: Pythia6 problem on Mac OS X Tiger

From: Mario Kadastik <>
Date: Thu, 22 Dec 2005 00:55:40 +0200

maku:/Applications/root/lib toruonu$ nm libPythia6.dylib |grep tpythia 00001170 T _tpythia6_close_fortran_file_ 000010f4 T _tpythia6_open_fortran_file_
maku:/Applications/root/lib toruonu$ nm |grep tpythia 00001190 T _tpythia6_close_fortran_file_ 00001114 T _tpythia6_open_fortran_file_

so the relevant functions are there... Am I the idiot here or why does g++ just not work?


On Dec 22, 2005, at 12:47 AM, Edmond Offermann wrote:

> try "nm"
> --- Mario Kadastik <> wrote:
>> Hello Rene,
>> Well the files are in tarball, but you have to compile them to make
>> and libPythia6.dylib. That's exactly what I did and it
>> also works just fine in CINT however it doesn't work when I try to
>> compile it.
>> The versions I use are:
>> maku:~/Downloads/pythia6 toruonu$ g77 --version
>> GNU Fortran (GCC) 3.4.4
>> Copyright (C) 2004 Free Software Foundation, Inc.
>> GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
>> You may redistribute copies of GNU Fortran
>> under the terms of the GNU General Public License.
>> For more information about these matters, see the file named COPYING
>> or type the command `info -f g77 Copying'.
>> maku:~/Downloads/pythia6 toruonu$ gcc --version
>> powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer,
>> Inc. build 4061)
>> Copyright (C) 2004 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions. There
>> is NO
>> that's so as g77 latest release is for 3.4.4 after that there is only
>> fortran f95 and using that will not compile pythia as it fails with
>> missing symbols itime and idate ...
>> And as I don't use gcc-4.0.3 then what else could be the problem? I
>> tried reorganizing the library reference on the command line hoping
>> it would cure the unresolved symbol, but no... is there a way to
>> check which symbols are in which libraries in Mac OS X so that I
>> could check if they are in the libraries?
>> Mario
>> On Dec 21, 2005, at 8:20 PM, 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
>>>>> 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 - 23:55:43 MET

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