Without more information, it's tricky to determine the cause. In addition to above, you may need to match your architecture if the default is 64bit by using "format ELF64". There's also the issue of linking: C style is basically just name matching but C++ style requires a matching prototype "hash", which you will have to adapt according to your particular compilation. i.e.
is fine for C regardless of the prototype but for C++ you might need:
This hash can be obtained by doing a readelf on intermediate object of your C/C++ code.
Agner Fog's volume 5 here: http://www.agner.org/optimize/ details both the hashing and general ABI (if you were seeing run time failures it could suggest a calling mismatch)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum