Does anyone know what might cause the error referenced in the subject line? I’m trying to compile an application that uses ROOT for a good portion of its work (so the compile line has the usual litany of -l arguments), and the linker gives up with that error.
/home/lockne89/local/lib/root/libEGPythia6.so: undefined reference to `pythia6_common_address__'
I just rebuilt and reinstalled libPythia6.so to rule that out; however, the same error persists afterward.
From a ROOT interpreted session, I can gSystem->Load(“libEGPythia”) cleanly. This is done from a fresh build of 5.26 from source.
Could you clarify on which machine/OS/compiler you run?
Did you follow the pythia6 installation procedure?
which of the makefiles in ftp://root.cern.ch/root/pythia6.tar.gz did you use?
[quote=“brun”]Could you clarify on which machine/OS/compiler you run?
Did you follow the pythia6 installation procedure?
which of the makefiles in ftp://root.cern.ch/root/pythia6.tar.gz did you use?
Rene[/quote]
Hello Rene,
This machine is an AMD Sempron; from uname,
Linux warlock 2.6.30 #6 PREEMPT Mon Jan 18 15:30:23 CST 2010 i686 GNU/Linux
The Linux distribution is Debian “testing”, From “gcc -v”:
For Pythia, I used makePythia6.linux. I’ve never determined that Pythia has a standard installation procedure, so I just copy the generated libPythia6.so to my ~/local/lib with a “cp” command.
[quote=“brun”]Could you describe your installation procedure? Did you follow our installation procedure for Pythia descrived at: root.cern.ch/drupal/content/inst … oot-source
You must take ftp://root.cern.ch/root/pythia6.tar.gz
this file includes essential small additional files making the interface between C++ and fortran common blocks.
Rene[/quote]
Hello Rene,
While I was combing through my config.log, I discovered that it had found a libPythia in /usr/lib on my machine that has a double underscore after the relevant functions. I’m not sure what I did to get all those there, but this is why the configure script set things as it did. I have some cleaning to do; please consider this resolved.