delaere / VeheMencE

User friendly vme control library.
Other
1 stars 2 forks source link

Linker errors with CAENVMELib 3.3.0 #21

Closed swertz closed 2 years ago

swertz commented 2 years ago

I have linker errors using the latest version of CAENVMELib: undefined reference to CAENVME_DecodeError. The linking works fine if I comment this function in CommonDef.h. Running nm -gDC lib/x64/libCAENVME.so.3.3.0 does not show CAENVME_DecodeError, so it really looks like that function definition is missing from that build... although the declaration is present in include/CAENVMElib.h.

I've opened a ticket with CAEN support, but I was wondering which version has been used in the past that compiled correctly...?

delaere commented 2 years ago

On my machine I have libCAENVME.so.2.50, but I don't know what version was used on the PC used for testing with the VME crate in the electronics lab. It is probably the same since the timestamp matches (mid 2019)

swertz commented 2 years ago

Thanks, I confirm that it works fine with 2.5.0, using the package from EPEL.

swertz commented 2 years ago

A new version with the bug fixed is now available from the CAEN website: 3.99.3