[Omake] build error on osx with 3.11

Ralph Douglass ralph at grayskies.net
Sun Feb 22 16:47:36 PST 2009


I ran into an issue building on Mac 10.5 with ocaml 3.11 (after removing the
reference to caml_sync, of course):

rm -f clib.a
ar cq clib.a lm_heap.o lm_channel.o lm_printf.o lm_ctype.o lm_uname_ext.o
lm_unix_cutil.o lm_compat_win32.o readline.o omake_shell_sys.o fam_win32.o
fam_kqueue.o fam_inotify.o lm_notify.o lm_termsize.o lm_terminfo.o
lm_fs_case_sensitive.o
ocamlc -g -custom -o omake -cclib clib.a unix.cma  lm.cma util.cma magic.cma
ast.cma ir.cma env.cma exec.cma eval.cma shell.cma build.cma builtin.cma
omake_shell.cmo omake_main.cmo
ld: in clib.a, archive has no table of contents
collect2: ld returned 1 exit status
File "_none_", line 1, characters 0-1:
Error: Error while building custom runtime system
make[1]: *** [omake] Error 2
make: *** [bootstrap] Error 2

Simply changing line 23 of boot/Makefile from "AR = ar cq" to "AR = ar cqs",
removing boot/clib.a, and then continuing fixed the problem, but I thought
I'd mention it.

-- 
Ralph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.metaprl.org/pipermail/omake/attachments/20090222/db3155cb/attachment.htm 


More information about the Omake mailing list