Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Joel Reymont <joelr1@gmail.com>
To: caml-list List <caml-list@inria.fr>
Subject: OCaml and Leopard
Date: Fri, 2 Nov 2007 19:24:19 +0000	[thread overview]
Message-ID: <100AE1A2-D155-4821-84D0-DCEDE74FE9EF@gmail.com> (raw)

I'm having trouble compiling OCaml from CVS on Mac OSX Leopard.

Any suggestions on how to troubleshoot this?

	Thanks, Joel

---

+ cd asmrun
+ make all meta.o dynlink.o
...
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 - 
DSYS_macosx  -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT   -c -o  
signals_asm.o signals_asm.c
signals_asm.c: In function ‘segv_handler’:
signals_asm.c:193: error: dereferencing pointer to incomplete type
signals_asm.c:193: error: dereferencing pointer to incomplete type
signals_asm.c: In function ‘caml_init_signals’:
signals_asm.c:241: error: storage size of ‘stk’ isn’t known
signals_asm.c:241: warning: unused variable ‘stk’
make: *** [signals_asm.o] Error 1

and then

cp -p driver/optmain.byte ocamlopt
boot/ocamlrun ./ocamlopt -nostdlib -a -I stdlib stdlib/pervasives.cmi  
stdlib/arg.cmi stdlib/array.cmi stdlib/arrayLabels.cmi stdlib/ 
buffer.cmi stdlib/callback.cmi stdlib/obj.cmi stdlib/ 
camlinternalMod.cmi stdlib/camlinternalOO.cmi stdlib/char.cmi stdlib/ 
complex.cmi stdlib/digest.cmi stdlib/filename.cmi stdlib/format.cmi  
stdlib/gc.cmi stdlib/stream.cmi stdlib/genlex.cmi stdlib/hashtbl.cmi  
stdlib/int32.cmi stdlib/int64.cmi stdlib/lazy.cmi stdlib/lexing.cmi  
stdlib/list.cmi stdlib/listLabels.cmi stdlib/map.cmi stdlib/ 
marshal.cmi stdlib/set.cmi stdlib/moreLabels.cmi stdlib/nativeint.cmi  
stdlib/oo.cmi stdlib/parsing.cmi stdlib/printexc.cmi stdlib/printf.cmi  
stdlib/queue.cmi stdlib/random.cmi stdlib/scanf.cmi stdlib/sort.cmi  
stdlib/stack.cmi stdlib/stdLabels.cmi stdlib/string.cmi stdlib/ 
stringLabels.cmi stdlib/sys.cmi stdlib/weak.cmi -o stdlib/stdlib.cmxa
./ocamlopt: don't know what to do with stdlib/pervasives.cmi.
Usage: ocamlopt <options> <files>
Options are:
...
Exit code 2 while executing this command:...

--
http://wagerlabs.com




             reply	other threads:[~2007-11-02 19:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-02 19:24 Joel Reymont [this message]
2007-11-02 22:21 ` [Caml-list] " Nathaniel Gray
2007-11-03 13:34   ` Ralph Douglass
2007-11-03 13:35     ` Ralph Douglass
2007-11-04  0:25       ` Nathaniel Gray
2007-11-04  1:56 ` Gordon Henriksen
2007-11-18 11:58   ` Valentyn Kamyshenko
2007-11-18 15:27     ` Gordon Henriksen
2007-11-20  1:42       ` Bünzli Daniel
2007-11-20  2:04         ` Gordon Henriksen

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=100AE1A2-D155-4821-84D0-DCEDE74FE9EF@gmail.com \
    --to=joelr1@gmail.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