Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] native compilation on NetBSD/sparc
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Dan Debertin <airboss@n...>
Subject: [Caml-list] native compilation on NetBSD/sparc
Appears to be broken:

clarity% ocamlopt unix.cmxa str.cmxa index-mail.ml -o index-mail
/tmp/camlstartupd76812.o: In function `L149':
/tmp/camlstartupd76812.o(.text+0x10): undefined reference to `_caml_globals_inited'
/tmp/camlstartupd76812.o(.text+0x14): undefined reference to `_caml_globals_inited'
/tmp/camlstartupd76812.o(.text+0x1c): undefined reference to `_caml_globals_inited'
/tmp/camlstartupd76812.o(.text+0x20): undefined reference to `_caml_globals_inited'
/tmp/camlstartupd76812.o: In function `L150':
/tmp/camlstartupd76812.o(.text+0x2c): undefined reference to `_caml_globals_inited'
/tmp/camlstartupd76812.o(.text+0x30): more undefined references to `_caml_globals_inited' follow
...And so on for several pages, until the bottom:

/usr/local/lib/ocaml/libasmrun.a(callback.o): In function `callback':
callback.o(.text+0x148): undefined reference to `callback_exn'
/usr/local/lib/ocaml/libasmrun.a(callback.o): In function `callback2':
callback.o(.text+0x180): undefined reference to `callback2_exn'
/usr/local/lib/ocaml/libasmrun.a(callback.o): In function `callback3':
callback.o(.text+0x1bc): undefined reference to `callback3_exn'
Error during linking

The same program compiles fine on NetBSD/i386. ocamlopt is also unable
to build ocamlopt.opt.


Dan
--
/^Dan Debertin$/         | 
airboss@nodewarrior.org  | 
www.nodewarrior.org      | 



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners