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.1 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 93694BC0A for ; Mon, 21 May 2007 13:04:07 +0200 (CEST) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l4LB46Et011884 for ; Mon, 21 May 2007 13:04:07 +0200 Received: by py-out-1112.google.com with SMTP id b50so1999934pyh for ; Mon, 21 May 2007 04:04:06 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=VCvYd5bSlnrqJ3lesGaTMppwNLca2Sg/OV2yHu2lQwYiSpz2I9DrNPoevHgvnb9AVY2DlGBbU6BOtMaVd4fV/ipGMVFSaORHLNUyyAgaXTFM3NFCByLSrnnWev+o6AGQw/37wyvGRIcBRwStWV32y+rzAKbjopOzanCYy2GXvPc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=pZMI+ZY5sDXXSXLSq9axeAziDzS6SLTWxCRlYmUaCyo/AVPEsrcsQd50KjedfGquTCq8CSc8bfWhaIH7h298IkkUhEGYjK6WMdbg/pYDC497awSY9NJnt1vle7iKoJWHGc7Kj+JNC7dKr6VTR3zC3XazDhBJznQXjehjW+RaRls= Received: by 10.64.131.17 with SMTP id e17mr10508054qbd.1179745445511; Mon, 21 May 2007 04:04:05 -0700 (PDT) Received: from ?192.168.1.33? ( [83.52.62.16]) by mx.google.com with ESMTP id e14sm6504379qbe.2007.05.21.04.04.03; Mon, 21 May 2007 04:04:04 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <42E0263B-7676-40C4-ADB0-F6345FDC23BE@gmail.com> Cc: Richard Jones Content-Transfer-Encoding: 7bit From: Joel Reymont Subject: camlp4, calendar and undefined global Str Date: Mon, 21 May 2007 12:04:04 +0100 To: OCaml List X-Mailer: Apple Mail (2.752.3) X-j-chkmail-Score: MSGID : 46517CA6.002 on concorde : j-chkmail score : XXX : 5/20 1 0.000 -> 3 X-Miltered: at concorde with ID 46517CA6.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 ocamlfind:01 ocamlc:01 -package:01 pcre:01 ocaml-:01 -linkpkg:01 -pp:01 camlp:01 usr:01 lib:01 ocaml:01 pcre:01 usr:01 lib:01 Folks, Does this tell you something? How do you fix this? Thanks, Joel --- ocamlfind ocamlc -g -package unix,extlib,pcre,calendar -I ../ocaml- csv-1.1.6 -linkpkg csv.cma \ -pp "camlp4o /usr/local/lib/ocaml/unix.cma -I +pcre /usr/local/lib/ ocaml/site-lib/pcre/pcre.cma -I +extlib /usr/local/lib/ocaml/site-lib/ extlib/extLib.cma -I +calendar /usr/local/lib/ocaml/site-lib/calendar/ calendar.cma -I ../ocaml-csv-1.1.6 csv.cma ./pgocaml.cma ./ pa_pgsql.cmo" -c test_pgocaml.ml Camlp4: Uncaught exception: DynLoader.Error ("/usr/local/lib/ocaml/ site-lib/calendar/calendar.cma", "error while linking /usr/local/lib/ ocaml/site-lib/calendar/calendar.cma.\nReference to undefined global `Str'") Preprocessor error make: *** [test_pgocaml.cmo] Error 2 -- http://wagerlabs.com/