From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id AAA00660; Thu, 31 Jul 2003 00:30:17 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA02387 for ; Thu, 31 Jul 2003 00:30:16 +0200 (MET DST) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h6UMUFf11870 for ; Thu, 31 Jul 2003 00:30:15 +0200 (MET DST) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19hzSP-0006Ea-00 for ; Thu, 31 Jul 2003 00:30:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19hzHq-0005Pr-00 for ; Thu, 31 Jul 2003 00:19:10 +0200 From: Dan Debertin Subject: [Caml-list] native compilation on NetBSD/sparc Date: 30 Jul 2003 17:17:27 -0500 Message-ID: <87brvbzmko.fsf@moped.nodewarrior.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; netbsd:01 ocamlopt:01 usr:01 libasmrun:01 callback:01 compiles:01 386.:01 cmxa:01 ocaml:01 caml:01 lib:01 native:02 linking:02 unix:02 undefined:04 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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