caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Michael Leary <leary@nwlink.com>
To: caml <caml-list@inria.fr>
Subject: [Caml-list] OcamlMakefile not working for me...
Date: Sun, 26 Aug 2001 21:39:23 -0700	[thread overview]
Message-ID: <20010826213923.A3112@jean.nwlink.com> (raw)

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


             reply	other threads:[~2001-08-27  4:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-27  4:39 Michael Leary [this message]
2001-08-27  8:16 ` Michael Leary
2001-08-27  9:59   ` Michael Leary
2001-08-27 10:11     ` Michael Leary
2001-08-27 12:01     ` Alain Frisch
2001-08-27 22:10       ` Michael Leary
2001-08-28  0:39       ` Gerd Stolpmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010826213923.A3112@jean.nwlink.com \
    --to=leary@nwlink.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).