Version française
Home     About     Download     Resources     Contact us    
Browse thread
OCaml and Leopard
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Joel Reymont <joelr1@g...>
Subject: OCaml and Leopard
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