JeffersonLab / hcana

Hall C++ Analyzer
7 stars 118 forks source link

hcana compile error #486

Closed Yero1990 closed 1 year ago

Yero1990 commented 1 year ago

I update to the most recent version of podd/hcana and got the following error after re-compiling hcana with scons:

podd/hana_decode/libdc.so: undefined reference to `DAQconfig::parse(unsigned long)'
podd/Podd/libPodd.so: undefined reference to `DAQInfoExtra::GetFrom(TObject*)'
podd/Podd/libPodd.so: undefined reference to `DAQInfoExtra::AddTo(TObject*&, DAQInfoExtra*)'
podd/Podd/libPodd.so: undefined reference to `DAQInfoExtra::GetExtraInfo(TObject*)'
collect2: error: ld returned 1 exit status
scons: *** [hcana] Error 1
scons: building terminated because of errors.

I did noticed when updating podd there were multiple tags, but I assume that the users do not have to change to a specific one.

hansenjo commented 1 year ago

Sorry about that. There was a regression in the SCons build system. This should be fixed in commit 286763e3 on the develop branch.

About the tags: Try doing the following:

git checkout develop
git pull origin develop
git submodule update
cd podd
git tag -d Release-173
git fetch --tags
cd ..
git tag -d hcana-0.95
git fetch --tags

Let me know if this solves it for you.

Yero1990 commented 1 year ago

OK, now hcana is working.

Thanks,

On Thu, Sep 8, 2022 at 6:49 AM Ole Hansen @.***> wrote:

Sorry about that. There was a regression in the SCons build system. This should be fixed in commit 286763e https://github.com/JeffersonLab/hcana/commit/286763e3b8e6065a6ba6a2a2fe7fe411ad5ef3bf on the develop branch.

About the tags: Try doing the following:

git checkout develop git pull origin develop git submodule update cd podd git tag -d Release-173 git fetch --tags cd .. git tag -d hcana-0.95 git fetch --tags

Let me know if this solves it for you.

— Reply to this email directly, view it on GitHub https://github.com/JeffersonLab/hcana/issues/486#issuecomment-1240549124, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEAPX2S2IUOW5LJPR2GPI73V5HAB3ANCNFSM6AAAAAAQHJGYOU . You are receiving this because you authored the thread.Message ID: @.***>