caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re: [Caml-list] ocamlgsl
  2002-12-05 15:43 [Caml-list] ocamlgsl onlyclimb
@ 2002-12-05 10:06 ` Olivier Andrieu
  2002-12-05 17:03 ` Olivier Andrieu
  1 sibling, 0 replies; 3+ messages in thread
From: Olivier Andrieu @ 2002-12-05 10:06 UTC (permalink / raw)
  To: onlyclimb; +Cc: caml-list

 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Caml-list] ocamlgsl
@ 2002-12-05 15:43 onlyclimb
  2002-12-05 10:06 ` Olivier Andrieu
  2002-12-05 17:03 ` Olivier Andrieu
  0 siblings, 2 replies; 3+ messages in thread
From: onlyclimb @ 2002-12-05 15:43 UTC (permalink / raw)
  To: caml-list

Is anything different to compile ocamlgsl in FreeBsd ?

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.)
mlgsl_vector.c: In function `ml_gsl_vector_float_add':
mlgsl_vector.c:20: syntax error before `v_b'
mlgsl_vector.c:20: `v_b' undeclared (first use in this function)
mlgsl_vector.c: In function `ml_gsl_vector_float_sub':
mlgsl_vector.c:27: syntax error before `v_b'
mlgsl_vector.c:27: `v_b' undeclared (first use in this function)
mlgsl_vector.c: In function `ml_gsl_vector_float_mul':
mlgsl_vector.c:34: syntax error before `v_b'
mlgsl_vector.c:34: `v_b' undeclared (first use in this function)
mlgsl_vector.c: In function `ml_gsl_vector_float_div':
mlgsl_vector.c:41: syntax error before `v_b'
mlgsl_vector.c:41: `v_b' undeclared (first use in this function)
mlgsl_vector.c: In function `ml_gsl_vector_float_isnull':
mlgsl_vector.c:63: syntax error before `int'
mlgsl_vector.c:64: `r' undeclared (first use in this function)
mlgsl_vector.c:65: warning: control reaches end of non-void function
gmake: *** [mlgsl_vector_float.o] Error 2

How can i solve the problem?

I have pkg_add  gsl and gcc30 already

Thanks


-------------------
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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Caml-list] ocamlgsl
  2002-12-05 15:43 [Caml-list] ocamlgsl onlyclimb
  2002-12-05 10:06 ` Olivier Andrieu
@ 2002-12-05 17:03 ` Olivier Andrieu
  1 sibling, 0 replies; 3+ messages in thread
From: Olivier Andrieu @ 2002-12-05 17:03 UTC (permalink / raw)
  To: caml-list; +Cc: onlyclimb

Hello,

This is to announce the release of ocamlgsl version 0.2.1 , available
here : http://oandrieu.nerim.net/ocaml/gsl/ . GSL 1.2 and ocaml 3.06
are required. See the README if you're using your gcc version is < 3.

Since the previously announced release, there's support for single
precision floats (in bigarrays), complex numbers linear algebra and a
couple of new modules (notably ODE).

GSL is the GNU Scientific Library http://sources.redhat.com/gsl/ , "a
collection of routines for numerical computing".

-- 
   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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-05 17:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-05 15:43 [Caml-list] ocamlgsl onlyclimb
2002-12-05 10:06 ` Olivier Andrieu
2002-12-05 17:03 ` Olivier Andrieu

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).