caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Olivier Andrieu <andrieu@ijm.jussieu.fr>
To: onlyclimb <onlyclimb@163.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] ocamlgsl
Date: Thu, 5 Dec 2002 11:06:01 +0100	[thread overview]
Message-ID: <15855.9481.904814.561073@akasha.ijm.jussieu.fr> (raw)
In-Reply-To: <3DEF7419.2010807@163.com>

 onlyclimb [Thursday 5 December 2002] :
 >
 > Is anything different to compile ocamlgsl in FreeBsd ?

It should not.

 > i do as the readme told. (using gmake )
 > 
 > its says..
 > ocamlc.opt -ccopt "-I/usr/local/include -DHAVE_INLINE -g -O3" -c 
 > mlgsl_vector_float.c
 > In file included from mlgsl_vector_float.c:4:
 > mlgsl_vector.c: In function `ml_gsl_vector_float_memcpy':
 > mlgsl_vector.c:13: syntax error before `v_b'
 > mlgsl_vector.c:13: `v_b' undeclared (first use in this function)
 > mlgsl_vector.c:13: (Each undeclared identifier is reported only once
 > mlgsl_vector.c:13: for each function it appears in.)
<snip>
 > gmake: *** [mlgsl_vector_float.o] Error 2
 > 
 > How can i solve the problem?
 > 
 > I have pkg_add  gsl and gcc30 already

Hum, yes you have gcc30 installed but was ocaml compiled with it ?
try :
  ocamlc -verbose truc.c
and see which compiler is used. 
If that's not gcc3, you should modify the Makefile so as to use the
-cc switch of ocamlc.

Anyway, I'll release (soon) a version that can be compiled with gcc
2.9x .

-- 
   Olivier
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2002-12-05 10:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-05 15:43 onlyclimb
2002-12-05 10:06 ` Olivier Andrieu [this message]
2002-12-05 17:03 ` Olivier Andrieu

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=15855.9481.904814.561073@akasha.ijm.jussieu.fr \
    --to=andrieu@ijm.jussieu.fr \
    --cc=caml-list@inria.fr \
    --cc=onlyclimb@163.com \
    /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).