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=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 98080BC0A for ; Tue, 15 May 2007 21:00:45 +0200 (CEST) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.235]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l4FJ0iLM013038 for ; Tue, 15 May 2007 21:00:45 +0200 Received: by nz-out-0506.google.com with SMTP id l8so272740nzf for ; Tue, 15 May 2007 12:00:44 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LIr6NGoXfGUeMoGfikXrPVxq3xEOB7aYW95or0ASzlerBnDeMYfG9NS46Ury3b4VbLw7NvW5fXH/85QNWQcGdICj6qh5iaKRzbuEj6w721HUFeYceH01wfFwF8MNx3Rc6F4Cb0/dkc0n/M3oOTAeRejQlJgDk0XRS7iIp5pA4Cc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uYIEPUfKaCBvq0GckFpgNECIzhZ51Qvmw5BdEdCsDiDAGm8bEGS+OTHRgCO7wAZqKue6bm0UHQEWwr7vyllfDRtqxSDUjQltbk8TP9nXKL3V8I/72/Qjz3FVUZdugkJkznSBD8x3hlQEU3/+JN+YzjlC4GMfWwZpKLnucYAbaJM= Received: by 10.114.107.19 with SMTP id f19mr1711989wac.1179255643481; Tue, 15 May 2007 12:00:43 -0700 (PDT) Received: by 10.114.170.5 with HTTP; Tue, 15 May 2007 12:00:43 -0700 (PDT) Message-ID: <131e28b50705151200k7989f3d2m64ef3cea4668ca33@mail.gmail.com> Date: Tue, 15 May 2007 21:00:43 +0200 From: "Rhythmic Fistman" To: skaller Subject: Re: [Felix-impl] it no me build Cc: felix-impl , "Emmanuel Onzon" , caml-list In-Reply-To: <1179251231.7592.9.camel@rosella.wigram> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <131e28b50705141643l195bae7cxb80c278e5eec7c4f@mail.gmail.com> <1179251231.7592.9.camel@rosella.wigram> X-j-chkmail-Score: MSGID : 464A035C.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 464A035C.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 5/15/07, skaller 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?