caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* OCaml and Leopard
@ 2007-11-02 19:24 Joel Reymont
  2007-11-02 22:21 ` [Caml-list] " Nathaniel Gray
  2007-11-04  1:56 ` Gordon Henriksen
  0 siblings, 2 replies; 10+ messages in thread
From: Joel Reymont @ 2007-11-02 19:24 UTC (permalink / raw)
  To: caml-list List

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




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

end of thread, other threads:[~2007-11-20  2:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-02 19:24 OCaml and Leopard Joel Reymont
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

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