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
[Caml-list] ocamlmktop problem
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-12-17 (14:46)
From: Johann Spies <jhspies@a...>
Subject: [Caml-list] ocamlmktop problem
I am trying to make an ocaml toplevel to include both the
lablgtk and postgres libraries, but get the following error:
$ocamlfind ocamlmktop -labels -o postgres_top -I
/usr/local/lib/ocaml/lablgtk -linkpkg -package postgres
/tmp/ccm3CpWy.o(.data+0x7b4): undefined reference to
collect2: ld returned 1 exit status
Error while building custom runtime system

I got the same error when I tried to combine the two libraries
in a program.  What is causing this problem?  I know my lack of
knowledge is probably the main cause, but maybe someone can give
me a clue on how to solve the problem and explain my mistake to


J.H. Spies - Tel. 021-982 2694 / 082 782 0336 / 021-808 4036(w)  
             Posbus 4668, Tygervallei 7536
     "And we know that all things work together for good to 
      them that love God, to them who are the called  
      according to his purpose."            
                                   Romans 8:28 
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr