Linking EvtGen [message #4317] |
Thu, 24 May 2007 09:16 |
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 #4319 is a reply to message #4317] |
Thu, 24 May 2007 11:23 |
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
|
|
|