English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Re: [Felix-impl] it no me build
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-05-15 (17:47)
From: skaller <skaller@u...>
Subject: Re: [Felix-impl] it no me build
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
> 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.

John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net