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 QAA24204; Sun, 22 Sep 2002 16:31:48 +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 QAA25219 for ; Sun, 22 Sep 2002 16:31:47 +0200 (MET DST) Received: from adelscott.lanetcie.com (adelscott.lanetcie.com [212.43.217.74]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g8MEVk515035 for ; Sun, 22 Sep 2002 16:31:46 +0200 (MET DST) Received: by adelscott.lanetcie.com (Postfix, from userid 505) id 4A75D70D70; Sun, 22 Sep 2002 16:31:44 +0200 (CEST) Date: Sun, 22 Sep 2002 16:31:44 +0200 From: Guillaume Valadon To: caml-list@inria.fr Subject: [Caml-list] Cross-compile ocaml for ARM Message-ID: <20020922143144.GA8716@adelscott.lanetcie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 ? Guillaume -- mailto:guillaume@valadon.net ICQ uin : 1752110 Page ouebe : http://guillaume.valadon.net "Everybody be cool. You ... be cool" - Seth Gecko ------------------- 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