List Info

Thread: "ocaml_beginners"::[] link with librrd




"ocaml_beginners"::[] link with librrd
user name
2006-11-20 08:17:28

Hello,
I'm trying to compile my Ocaml code with librrd (RRDtool library), but the linked native code doesn't work correctly.
When run the code, it doesn't jumps to Ocaml entry but librrd's entry and exit.
I suspect it's caused by librrd because it include "main" symbol.
e.g., "gcc -static" fails by duplicate "main" symbols.

In case of Ocaml bytecode, it works well with shared librrd.

Anyone know how to make native code with librrd?

Thanks

Send instant messages to your online friends http://uk.messenger.yahoo.com

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )