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 LAA08272; Mon, 23 Sep 2002 11:00:43 +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 LAA08007 for ; Mon, 23 Sep 2002 11:00:42 +0200 (MET DST) Received: from mel-rto6.wanadoo.fr (smtp-out-6.wanadoo.fr [193.252.19.25]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g8N90f511840 for ; Mon, 23 Sep 2002 11:00:41 +0200 (MET DST) Received: from mel-rta8.wanadoo.fr (193.252.19.79) by mel-rto6.wanadoo.fr (6.5.007) id 3D760C2500A79FA4; Mon, 23 Sep 2002 11:00:41 +0200 Received: from iliana (80.9.105.81) by mel-rta8.wanadoo.fr (6.5.007) id 3D8011E3005EFEFC; Mon, 23 Sep 2002 11:00:41 +0200 Received: from luther by iliana with local (Exim 3.35 #1 (Debian)) id 17tOtw-0000Li-00; Mon, 23 Sep 2002 10:49:08 +0200 Date: Mon, 23 Sep 2002 10:48:58 +0200 To: Guillaume Valadon Cc: caml-list@inria.fr Subject: Re: [Caml-list] Cross-compile ocaml for ARM Message-ID: <20020923084858.GB1272@iliana> References: <20020922143144.GA8716@adelscott.lanetcie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020922143144.GA8716@adelscott.lanetcie.com> User-Agent: Mutt/1.4i From: Sven LUTHER Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sun, Sep 22, 2002 at 04:31:44PM +0200, Guillaume Valadon wrote: > hello, > > I am trying to build a native ocaml-3.06 for Linux arm using the > method explained in http://caml.inria.fr/archives/200110/msg00334.html. > > The 'make world' worked fine but the 'make opt' failed in the asmrun > directory with: > signals.c: In function 'init_signals': > signals.c: 'segv_handler' undeclared (first use in this function) > [ usual gcc stuff about undeclared identifier ] > > The segv_handler function is located line 478 or 486 but is never > declared due to preprocessors tests. Uncommenting the test line 486 > resolved the problem (ok, that's a dirty hack) but 'make opt' failed > again with : > ../../ocamlcomp.sh -c -warn-error A unix.mli > ../../ocamlcomp.sh: line 5 > /path/to/ocaml-3.06/otherlibs/unix/../../ocamlc.opt: cannot execute > binary file > > How do i resolve these problems ? I don't really know, but notice that the arm native code compiler builds fine on debian/arm's autobuilder. You can follow the links found at : http://buildd.debian.org/bymaint.php?maint=Sven%20Luther%20%3Cluther%40debian.org%3E%20 To get to the full build log of ocaml on arm, in order to compare it to your build log, and see where the problem is. Friendly, Sven Luther ------------------- 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