Skip to content

Nonexistance of int _ada_use_c2phc4c ( int task, int *a, int *b, double *c, int v ); symbol in .so file #75

@nook0110

Description

@nook0110

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions