Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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
lablgtk.cma
/tmp/ccm3CpWy.o(.data+0x7b4): undefined reference to
`ml_gtk_adjustment_set_bc'
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
me.

Regards.

Johann.
-- 
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