From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 3F33DBC0A for ; Tue, 15 May 2007 19:47:19 +0200 (CEST) Received: from ipmail01.adl2.internode.on.net (ipmail01.adl2.internode.on.net [203.16.214.140]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l4FHlGW3009975 for ; Tue, 15 May 2007 19:47:18 +0200 X-IronPort-AV: E=Sophos;i="4.14,538,1170595800"; d="scan'208";a="128790241" Received: from ppp59-172.lns2.syd6.internode.on.net (HELO [192.168.1.201]) ([121.44.59.172]) by ipmail01.adl2.internode.on.net with ESMTP; 16 May 2007 03:17:15 +0930 Subject: Re: [Felix-impl] it no me build From: skaller To: Rhythmic Fistman Cc: felix-impl , Emmanuel Onzon , caml-list In-Reply-To: <131e28b50705141643l195bae7cxb80c278e5eec7c4f@mail.gmail.com> References: <131e28b50705141643l195bae7cxb80c278e5eec7c4f@mail.gmail.com> Content-Type: text/plain Date: Wed, 16 May 2007 03:47:11 +1000 Message-Id: <1179251231.7592.9.camel@rosella.wigram> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 4649F225.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; 0200,:01 camlopt:01 -warn-error:01 cmxa:01 parser:01 cmx:01 lexer:01 cmx:01 ocamlopt:01 -warn-error:01 cmxa:01 usr:01 ocaml:01 bug:01 osx:01 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. -- John Skaller Felix, successor to C++: http://felix.sf.net