caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* ocamlodbc : -ldopt / itere_execDB_c
@ 2006-03-23 18:10 f g
  0 siblings, 0 replies; only message in thread
From: f g @ 2006-03-23 18:10 UTC (permalink / raw)
  To: caml-list; +Cc: maxence.guesdon

hi, when i try ocamlodbc it seems the -ldopt option
stay empty (there is double space in "-ldopt  -lodbc")
and/or gcc believe its a lib (but it sounds more like
a linker option that gcc have to pass to ld ?)

if i try it directly with the interpreter it show the
name of the unlinked function: itere_execDB_c




******************************************************
ocamlc -verbose -I
/usr/local/lib/ocaml/site-lib/ocamlodbc_unixodbc/
ocamlodbc.cma model01.ml -o model01.cgi
******************************************************
+ gcc -Wl,-E -o 'model01.cgi' -I'/usr/local/lib/ocaml'
 -lodbc -ldopt  -lodbc /tmp/camlprim8b14eb.c 
'-L/usr/local/lib/ocaml/site-lib/ocamlodbc_unixodbc/'
'-L/usr/local/lib/ocaml' '-locamlodbc' -lcamlrun -lm 
-ldl -lncurses -lpthread
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld:
cannot find -ldopt
collect2: ld returned 1 exit status
Error while building custom runtime system
                                                      
                                                
shell returned 2
                                                      
                                               
******************************************************




******************************************************
ocaml -I
/usr/local/lib/ocaml/site-lib/ocamlodbc_unixodbc/
ocamlodbc.cma
******************************************************
The external function `itere_execDB_c' is not
available
                                                      
                                                
shell returned 2
******************************************************






	

	
		
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-23 18:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-23 18:10 ocamlodbc : -ldopt / itere_execDB_c f g

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).