GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Event Generators » Linking EvtGen
Linking EvtGen [message #4317] Thu, 24 May 2007 09:16 Go to next message
Sebastian Neubert is currently offline  Sebastian Neubert
Messages: 282
Registered: March 2006
Location: Munich
first-grade participant

From: *e18.physik.tu-muenchen.de
Hi!

linking evt gen following the instructions in the wiki and in the readme I get the following error:

afs/e18/sw/cern/pro/lib//libpacklib-shift.a(cfclos.o)(.text+0xe): In function `cfclos_':
: undefined reference to `rfio_close'
/afs/e18/sw/cern/pro/lib//libpacklib-shift.a(cfget.o)(.text+0x32): In function `cfget_':
: undefined reference to `rfio_read'
/afs/e18/sw/cern/pro/lib//libpacklib-shift.a(cfget.o)(.text+0x61): In function `cfget_':
: undefined reference to `serrno'
/afs/e18/sw/cern/pro/lib//libpacklib-shift.a(cfget.o)(.text+0x6a): In function `cfget_':
: undefined reference to `rfio_errno'
/afs/e18/sw/cern/pro/lib//libpacklib-shift.a(cfget.o)(.text+0x84): In function `cfget_':
: undefined reference to `rfio_perror'
/afs/e18/sw/cern/pro/lib//libpacklib-shift.a(cfput.o)(.text+0x2d): In function `cfput_':
: undefined reference to `rfio_write'
/afs/e18/sw/cern/pro/lib//libpacklib-shift.a(cfput.o)(.text+0x39): In function `cfput_':
: un

and so on. Iget the same error if I do use the non-shift version of libpacklib

Any Idea?
Sebastian.


Sebastian Neubert
Technische Universität München
Department Physik E18
sneubert@e18.physik.tu-muenchen.de
tel: +49-8928912592
Re: Linking EvtGen [message #4318 is a reply to message #4317] Thu, 24 May 2007 09:52 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *physik.uni-giessen.de
Which version of cernlib do you have?
Re: Linking EvtGen [message #4319 is a reply to message #4317] Thu, 24 May 2007 11:23 Go to previous message
Sebastian Neubert is currently offline  Sebastian Neubert
Messages: 282
Registered: March 2006
Location: Munich
first-grade participant

From: *e18.physik.tu-muenchen.de
Hi!

Indeed I did only have the shift version of the libs.
adding -lshift in the Makefile cured the problem.

And you have to include $CERN_ROOT/lib into the LD_LIBRARY_PATH to link dynamically to the libshiftlib

Cheers! Sebastian.


Sebastian Neubert
Technische Universität München
Department Physik E18
sneubert@e18.physik.tu-muenchen.de
tel: +49-8928912592

[Updated on: Thu, 24 May 2007 11:29]

Report message to a moderator

Next Topic: UrQMD
Goto Forum:
  


Current Time: Thu Jul 25 04:49:41 CEST 2024

Total time taken to generate the page: 0.00644 seconds