[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Olivier Andrieu <andrieu@i...> |
| Subject: | Re: [Caml-list] ocamlgsl |
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