pythia6 compilation problem

From: Dmitry Naumov <>
Date: Tue, 20 Dec 2005 18:03:26 +0300

Dear root developers,

I installed root v5-08 recently and now have a problem with pythia6. The problem is that does not an interface to tpythia6_close_fortran_file
routines which are present as fortran routines in original pythia6 generator. As far I understood
looking the C++ code (TPythia6) now it is interfaced following -single,
-double or -no underscose

which the compiler assignes to fortran routines names. This in its turn the root understands from the
configure script where I found:
check_symbol pythia6_common_block_address__ --> adds option DPYTHIA6_DOUBLE_UNDERSCORE
heck_symbol pythia6_common_block_address_ --> adds option DPYTHIA6_SINGLE_UNDERSCORE
check_symbol pythia6_common_address --> adds option
The problem is that my gcc compiler gives: pythia6_common_address to common block
tpythia6_close_fortran_file_ for routines. Thus the interface is not working because it can do only both common_block and routines with -single, -double, or -no underscore and not the mixture.

gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-java-awt=gtk-default
--enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5 ++++++++++++

Thank you, Dmitry Received on Tue Dec 20 2005 - 15:03:36 MET

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