English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
link with librrd
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-11-17 (01:14)
From: takanotume@g...
Subject: link with librrd
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 part but librrd's part and
I feel librrd is doubtful 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?

Nobuhiko Tsuruoka