<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2002/12/6ea01d36289948e816ef3d19961d3ec6"
  from="Olivier Andrieu &lt;andrieu@i...&gt;"
  author="Olivier Andrieu"
  date="2002-12-05T10:06:22"
  subject="Re: [Caml-list] ocamlgsl"
  prev="2002/12/ab87b0205aa5dcf4eb05a70cbca50974"
  next="2002/12/c3a9afcfed188aacae9caa7c1cc3c708"
  prev-in-thread="2002/12/4b291d6b55cf57ba30215d1019be5195"
  next-in-thread="2002/12/a52e6b751eac759796a3409156458564"
  prev-thread="2002/12/5cc160bf0af1aae0fd1bc747f2aaee7c"
  next-thread="2002/12/e39e48c52e7ed2ec723bb0d96798451f"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] ocamlgsl">
<msg 
  url="2002/12/4b291d6b55cf57ba30215d1019be5195"
  from="onlyclimb &lt;onlyclimb@1...&gt;"
  author="onlyclimb"
  date="2002-12-05T07:43:36"
  subject="[Caml-list] ocamlgsl">
<msg 
  url="2002/12/6ea01d36289948e816ef3d19961d3ec6"
  from="Olivier Andrieu &lt;andrieu@i...&gt;"
  author="Olivier Andrieu"
  date="2002-12-05T10:06:22"
  subject="Re: [Caml-list] ocamlgsl">
</msg>
<msg 
  url="2002/12/a52e6b751eac759796a3409156458564"
  from="Olivier Andrieu &lt;andrieu@i...&gt;"
  author="Olivier Andrieu"
  date="2002-12-05T17:03:59"
  subject="[Caml-list] ocamlgsl">
</msg>
</msg>
</thread>

<contents>
 onlyclimb [Thursday 5 December 2002] :
 &gt;
 &gt; Is anything different to compile ocamlgsl in FreeBsd ?

It should not.

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

</contents>

</message>

