From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id GAA01893; Mon, 27 Aug 2001 06:39:34 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id GAA01716 for ; Mon, 27 Aug 2001 06:39:33 +0200 (MET DST) Received: from smtp.nwlink.com (smtp.nwlink.com [209.20.130.57]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f7R4dWn21917 for ; Mon, 27 Aug 2001 06:39:32 +0200 (MET DST) Received: from ip178.usw22.rb1.bel.nwlink.com (ip178.usw22.rb1.bel.nwlink.com [207.202.195.178]) by smtp.nwlink.com (8.9.3/8.9.1) with SMTP id VAA25311 for ; Sun, 26 Aug 2001 21:37:46 -0700 (PDT) Received: (qmail 3122 invoked by uid 500); 27 Aug 2001 04:39:23 -0000 Date: Sun, 26 Aug 2001 21:39:23 -0700 From: Michael Leary To: caml Subject: [Caml-list] OcamlMakefile not working for me... Message-ID: <20010826213923.A3112@jean.nwlink.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk There must be something simple I'm not doing... "cgi.cmxa" and the LIBDIRS should appear on the "ocamlopt..." line (see below) and if I try from the commandline, I get lots of other errors: [0 leary@jean pleac]$ ocamlopt -c cgi.cmxa -I /usr/local/lib/ocaml/site-lib/netstring 19.1.ml /tmp/camlasm1.s: Assembler messages: /tmp/camlasm1.s:2: Error: Rest of line ignored. First ignored character is `1'. /tmp/camlasm1.s:3: Error: Rest of line ignored. First ignored character is `1'. /tmp/camlasm1.s:5: Error: Rest of line ignored. First ignored character is `1'. /tmp/camlasm1.s:6: Error: Rest of line ignored. First ignored character is `1'. /tmp/camlasm1.s:9: Error: Rest of line ignored. First ignored character is `1'. /tmp/camlasm1.s:10: Error: Rest of line ignored. First ignored character is `1'. /tmp/camlasm1.s:14: Error: Rest of line ignored. First ignored character is `1'. /tmp/camlasm1.s:15: Error: Rest of line ignored. First ignored character is `1'. /tmp/camlasm1.s:20: Error: Rest of line ignored. First ignored character is `1'. /tmp/camlasm1.s:21: Error: Rest of line ignored. First ignored character is `1'. /tmp/camlasm1.s:27: Error: Rest of line ignored. First ignored character is `1'. /tmp/camlasm1.s:28: Error: Rest of line ignored. First ignored character is `1'. /tmp/camlasm1.s:31: Error: ignoring junk `$2e1_2' after expression /tmp/camlasm1.s:35: Error: ignoring junk `$2e1' after expression /tmp/camlasm1.s:37: Error: ignoring junk `$2e1_1' after expression /tmp/camlasm1.s:44: Error: Rest of line ignored. First ignored character is `1'. /tmp/camlasm1.s:45: Error: Rest of line ignored. First ignored character is `1'. /tmp/camlasm1.s:47: Error: Rest of line ignored. First ignored character is `1'. /tmp/camlasm1.s:48: Error: Rest of line ignored. First ignored character is `1'. /tmp/camlasm1.s:50: Error: Rest of line ignored. First ignored character is `1'. /tmp/camlasm1.s:51: Error: Rest of line ignored. First ignored character is `1'. Assembler error, input left in file /tmp/camlasm1.s Bad build of ocaml? # begin Makefile # Set these variables to the names of the sources to be processed and # the result variable. Order matters during linkage! OCAMLMAKEFILE = ./OcamlMakefile SOURCES = 19.1.ml RESULT = 19.1 LIBS = cgi LIBDIRS = /usr/local/lib/ocaml/site-lib/netstring all: native-code -include $(OCAMLMAKEFILE) # end Makefile [0 leary@jean pleac]$ make make[1]: Entering directory `/home/leary/dev/pleac' making ._d/19.1.d from 19.1.ml make[1]: Leaving directory `/home/leary/dev/pleac' make[1]: Entering directory `/home/leary/dev/pleac' ocamlopt -c 19.1.ml File "19.1.ml", line 25, characters 0-8: Unbound module Cgi make[1]: *** [19.1.cmi] Error 2 make[1]: Leaving directory `/home/leary/dev/pleac' make: *** [native-code] Error 2 -- ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr