<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/07/099533d49c6917d30051c4180859d803"
  from="Dan Debertin &lt;airboss@n...&gt;"
  author="Dan Debertin"
  date="2003-07-30T22:30:17"
  subject="[Caml-list] native compilation on NetBSD/sparc"
  prev="2003/07/2ab0695537c88013248508e26fa5a6f2"
  next="2003/07/0ee85c5c688c958d4d9c57749ea69cb2"
  next-in-thread="2003/08/07f39df80769e5e3251964ac4a2ec5d7"
  prev-thread="2003/07/2ab0695537c88013248508e26fa5a6f2"
  next-thread="2003/07/5fc15dc12445f3701bbc4d469bc728e9"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] native compilation on NetBSD/sparc">
<msg 
  url="2003/07/099533d49c6917d30051c4180859d803"
  from="Dan Debertin &lt;airboss@n...&gt;"
  author="Dan Debertin"
  date="2003-07-30T22:30:17"
  subject="[Caml-list] native compilation on NetBSD/sparc">
<msg 
  url="2003/08/07f39df80769e5e3251964ac4a2ec5d7"
  from="Xavier Leroy &lt;xavier.leroy@i...&gt;"
  author="Xavier Leroy"
  date="2003-08-18T09:38:11"
  subject="Re: [Caml-list] native compilation on NetBSD/sparc">
<msg 
  url="2003/08/13a660ffde4edf780526fe61c232a0a3"
  from="Dan Debertin &lt;airboss@n...&gt;"
  author="Dan Debertin"
  date="2003-08-18T14:38:54"
  subject="[Caml-list] Re: native compilation on NetBSD/sparc">
</msg>
</msg>
</msg>
</thread>

<contents>
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

</contents>

</message>

