[Omake] Re: build on mac 10.3.9 fails
Aleksey Nogin
nogin at metaprl.org
Thu Nov 6 14:28:19 PST 2008
Ulf,
I am not very familiar with OS X; hopefully somebody else on the OMake
list would be able to help.
As for the build first removing the archive - note that the line right
after rm is "ar", which is creating the archive. The archive is first
deleted, so that ar can create a fresh one.
One thing to try would be to run "ranlib boot/clib.a" and then re-run
"gmake all".
Aleksey
On 06.11.2008 09:27, Ulf Martin wrote:
> Dear OMake makers
>
> I tried to build omake on my old iBook which still has OSX 10.3.9 on it.
> It fails. Last lines of the output of 'gmake all' with omake-9.8.5-3:
>
> cc -I"`ocamlc -where`" -c lm_heap.c
> cc -I"`ocamlc -where`" -c lm_channel.c
> cc -I"`ocamlc -where`" -c lm_printf.c
> cc -I"`ocamlc -where`" -c lm_ctype.c
> cc -I"`ocamlc -where`" -c lm_uname_ext.c
> cc -I"`ocamlc -where`" -c lm_unix_cutil.c
> cc -I"`ocamlc -where`" -c lm_compat_win32.c
> cc -I"`ocamlc -where`" -c readline.c
> cc -I"`ocamlc -where`" -c omake_shell_sys.c
> cc -I"`ocamlc -where`" -c fam_win32.c
> cc -I"`ocamlc -where`" -c fam_kqueue.c
> cc -I"`ocamlc -where`" -c fam_inotify.c
> cc -I"`ocamlc -where`" -c lm_notify.c
> cc -I"`ocamlc -where`" -c lm_termsize.c
> cc -I"`ocamlc -where`" -c lm_terminfo.c
> cc -I"`ocamlc -where`" -c lm_fs_case_sensitive.c
> 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 -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: archive: clib.a has no table of contents, add one with ranlib(1)
> (can't load from it)
> Error while building custom runtime system
> gmake[1]: *** [omake] Error 2
> gmake: *** [bootstrap] Error 2
>
> (Hmm. Why does the build first 'rm -f clib.a' and then complain about
> 'clib.a has no table of contents'?)
>
> N.B. This error appears with all versions 0.9.8.x that I tested.
>
> ocamlc -version
>
> 3.10.1
>
>
> Thank you for any help and Cheers
More information about the Omake
mailing list