sherpa is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (/hepforge/svn/sherpa does not appear to be a Subversion repository.). Look in the Trac log for more information.
Modify

Opened 16 years ago

Closed 15 years ago

Last modified 10 years ago

#32 closed defect (fixed)

Undefined references to libpthread symbols when building rpm in CMS

Reported by: Frank Siegert Owned by: Frank Siegert
Priority: minor Milestone:
Component: Unknown Version: 1.1.2
Keywords: Cc: Markus.Merschmeyer@physik.rwth-aachen.de

Description

(On behalf of Markus)

I am trying to build the rpm for 1.1.2 but presently have a problem :

/build/ap/217/build/BUILD/slc4_ia32_gcc345/external/sherpa/1.1.2/SHERPA-MC-1.1.2/SHERPA/Main/.libs/libSherpaMain.so: 
undefined reference to `__pthread_fork'
/build/ap/217/build/BUILD/slc4_ia32_gcc345/external/sherpa/1.1.2/SHERPA-MC-1.1.2/SHERPA/Main/.libs/libSherpaMain.so: 
undefined reference to `__pthread_do_exit'
/build/ap/217/build/BUILD/slc4_ia32_gcc345/external/sherpa/1.1.2/SHERPA-MC-1.1.2/SHERPA/Main/.libs/libSherpaMain.so: 
undefined reference to `__pthread_sigaction'
collect2: ld returned 1 exit status
...

Attachments (0)

Change History (5)

comment:1 Changed 16 years ago by Frank Siegert

Correct, these symbols should not be used if Sherpa has been compiled without --enable-multithread. Unlikely, but is it possible that one of the external libraries (LHAPDF, HepMC, ...) uses them without depending on libpthread?

We know that Sherpa compiles fine on SLC4 (see GENSER), so there must be something special about our compilation process. If you haven't figured out the solution yourself, I need a more detailed description of what you did to compile Sherpa.

comment:2 in reply to:  1 Changed 16 years ago by Frank Siegert

Replying to fsiegert:

about our compilation process.

"about your compilation process" of course.

comment:3 Changed 15 years ago by Frank Siegert

Resolution: fixed
Status: newclosed

Strangely enough, this seems to have been related to Fortran library linking. After patching that to use the FC_* autotools macros instead of the F77_* it seems to work. This change will be part of a 1.1.3 bug-fix release.

comment:4 Changed 12 years ago by Frank Siegert

Milestone: rel-old

comment:5 Changed 10 years ago by Stefan Hoeche

Milestone: old

Milestone old deleted

Modify Ticket

Change Properties
Action
as closed The owner will remain Frank Siegert.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.