Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] ocamlgsl
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: onlyclimb <onlyclimb@1...>
Subject: [Caml-list] ocamlgsl
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