[
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: | Rhythmic Fistman <rfistman@g...> |
| Subject: | Re: [Felix-impl] it no me build |
On 5/15/07, skaller <skaller@users.sourceforge.net> wrote: > On Tue, 2007-05-15 at 01:43 +0200, Rhythmic Fistman wrote: > > camlopt.opt -w yzex -warn-error FDPSU -a -o > > dypgen/generators/pgen/pgen.cmxa > > dypgen/generators/pgen/pgen_parser_param.cmx > > dypgen/generators/pgen/pgen_lexer.cmx > > CAML LINKING EXECUTABLES > > ocamlopt.opt -w yzex -warn-error FDPSU -I src -I dypgen/dyplib -I > > dypgen/generators/pgen -o bin/pgen flx_version.cmxa dyplib.cmxa > > pgen.cmxa src/flx_version_hook.ml dypgen/generators/pgen/pgen.cmx > > /usr/bin/ld: Undefined symbols: > > _camlParser > > collect2: ld returned 1 exit status > > I have NO idea what _camlParser is. A grep on lpsrc does not > reveal any symbol 'camlParser'. > > This looks like an Ocaml bug .. weird that this thing builds > on Linux, and builds on your OSX box using the dypgen makefile, > but not the Felix build scripts. > > The Felix build scripts ARE different .. but the effect should > be the same. Any which way it should either fail on all platforms > or build on all platforms .. there's no C code here, and Ocaml > is supposed to be portable. Somewhere... someone lied. Haha, just kidding. The difference is that the tarball uses ocamlc and flx here is using ocamlc.opt. Could that be relevant?