I was using a C (C++) interface of this library, and noticed, that libPHCpack.so doesn't have a symbol for function _ada_use_c2phc4c
(But has a lot of calls)
nm -gD libPHCpack.so | grep ada
00000000000f5060 T adafinal@@SYMS
00000000000f5290 T adainit@@SYMS
0000000001e10ff2 D adamain_E@@SYMS
00000000019bede0 T adamain___elabb@@SYMS
00000000019bed80 T adamain__Tsec_default_sized_stacksBIP@@SYMS
0000000000fc18f0 T _ada_phctop@@SYMS
00000000018eeb70 T _ada_use_c2phc@@SYMS
0000000001aa6c10 R assignments_in_ada_and_cB@@SYMS
0000000001aa6c0c R assignments_in_ada_and_cS@@SYMS
0000000001aa6b00 R c_to_ada_arraysB@@SYMS
0000000001aa6afc R c_to_ada_arraysS@@SYMS
I replaced all calls of it on call of _ada_use_c2phc, everything works (fine?). But i think it isn't an intended solution)
So i think you should change in building cfg something for appearance of this symbol in .so file.
I was using a C (C++) interface of this library, and noticed, that
libPHCpack.sodoesn't have a symbol for function_ada_use_c2phc4c(But has a lot of calls)
nm -gD libPHCpack.so | grep adaI replaced all calls of it on call of
_ada_use_c2phc, everything works (fine?). But i think it isn't an intended solution)So i think you should change in building cfg something for appearance of this symbol in
.sofile.