Version française
Home     About     Download     Resources     Contact us    
Browse thread
ocamlodbc : -ldopt / itere_execDB_c
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: f g <fg0fg1@y...>
Subject: ocamlodbc : -ldopt / itere_execDB_c
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