From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 19678BBAF for ; Sat, 23 Jan 2010 07:18:12 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqEBAGcjWktIDtyYkGdsb2JhbACDYo4qiWc/AQEBAQkJDAcTA6tmKYFAhRaIEgEBAwWDXlkEgwc X-IronPort-AV: E=Sophos;i="4.49,329,1262559600"; d="scan'208";a="48406441" Received: from fg-out-1718.google.com ([72.14.220.152]) by mail1-smtp-roc.national.inria.fr with ESMTP; 23 Jan 2010 07:18:11 +0100 Received: by fg-out-1718.google.com with SMTP id 22so173555fge.9 for ; Fri, 22 Jan 2010 22:18:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=BdsQIEUuC7ryyPKBGJU/3vQ3535vuz3lh6gimCNRZa0=; b=o2FrudiXatjjNx/eSvbFsCYQ0PZcDgoJUuHVKOknWO+ll/9QpCvT8DUoS72R5eYfF/ 9Xe+RjJh9rHSt0LQkck/3/S5SSmebysTRFReFrxJaSc2aExVc6l1W5H2bJGpeTAIhky3 0YgyrTdkrTJK+knTh7iSevPVdPLPuE/ItZlDE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=vVJwK+tkiZAickB7TKyJmGzln+1amJiZSUorvcOAdKMIrvORWAEzS8uDAkp7S6T+4Y hhMNA6W6dHa6L9DswHaoYvx76ChdoF1Bju4y0qqz+Mioc7PhiT5PVRMY9HP23zaPAyZ6 cVh3xmMZvTKjAlBcFGD6lq9qsd4ubmripeAQc= MIME-Version: 1.0 Received: by 10.239.187.197 with SMTP id m5mr403646hbh.172.1264227490148; Fri, 22 Jan 2010 22:18:10 -0800 (PST) Date: Sat, 23 Jan 2010 11:48:10 +0530 Message-ID: <1ae8fe881001222218o529e11b0x60f5a246a982cf2a@mail.gmail.com> Subject: difficulties using camlp4 From: =?UTF-8?Q?Gr=C3=A9goire_Seux?= To: caml-list Content-Type: multipart/alternative; boundary=001485f80e4e7731fe047dcee6df X-Spam: no; 0.00; camlp:01 camlp:01 ocamlc:01 -pp:01 cmo:01 cmo:01 str':01 ocamlc:01 -pp:01 str':01 gregoire:01 064:98 064:98 undefined:01 undefined:01 X-Attachments: cset="UTF-8" cset="UTF-8" --001485f80e4e7731fe047dcee6df Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable hello, i would like to use the Str module in a program so i should use camlp4 but when i try the following command ocamlc -pp "camlp4o pa_extend.cmo" -I +camlp4 main.ml the following error occurs: > File "main.ml", line 1, characters 0-1: Error: Error while linking main.cmo: Reference to undefined global `Str' could you help with this error ? thank by advance --=20 Gr=C3=A9goire cell # : 94 82 33 064 --001485f80e4e7731fe047dcee6df Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
hello,

i would like to use the Str module in = a program so i should use camlp4

but when i try th= e following command

ocamlc -pp "camlp4o pa_extend.cmo" -I +camlp4 =C2=A0main.ml

the following err= or occurs:
File "main.ml", line 1, characters= 0-1:
Error: Error while linking main.cmo:
Reference to undefined global `Str'

cou= ld you help with this error ?=C2=A0
thank by advance

-- =
Gr=C3=A9goire
cell # : =C2=A094 82 33 064
--001485f80e4e7731fe047dcee6df--