caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] OcamlMakefile not working for me...
@ 2001-08-27  4:39 Michael Leary
  2001-08-27  8:16 ` Michael Leary
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Leary @ 2001-08-27  4:39 UTC (permalink / raw)
  To: caml

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-08-28  0:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-27  4:39 [Caml-list] OcamlMakefile not working for me Michael Leary
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

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).