caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: f g <fg0fg1@yahoo.fr>
To: caml-list@yquem.inria.fr
Cc: maxence.guesdon@inria.fr
Subject: ocamlodbc : -ldopt / itere_execDB_c
Date: Thu, 23 Mar 2006 19:10:41 +0100 (CET)	[thread overview]
Message-ID: <20060323181041.81695.qmail@web26105.mail.ukl.yahoo.com> (raw)

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


                 reply	other threads:[~2006-03-23 18:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060323181041.81695.qmail@web26105.mail.ukl.yahoo.com \
    --to=fg0fg1@yahoo.fr \
    --cc=caml-list@yquem.inria.fr \
    --cc=maxence.guesdon@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).