From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=NO_REAL_NAME autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 5E9CBBBAF for ; Wed, 9 Jul 2008 11:13:41 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlADAMAddEjBNFwC/2dsb2JhbACRUZ5T X-IronPort-AV: E=Sophos;i="4.30,330,1212357600"; d="scan'208";a="12954327" Received: from euclide.bretagne.ens-cachan.fr ([193.52.92.2]) by mail2-smtp-roc.national.inria.fr with ESMTP; 09 Jul 2008 11:13:41 +0200 Received: from localhost (localhost.localdomain [127.0.0.1]) by euclide.bretagne.ens-cachan.fr (Postfix) with ESMTP id BF4E53D403F for ; Wed, 9 Jul 2008 11:13:40 +0200 (CEST) X-Virus-Scanned: amavisd-new at bretagne.ens-cachan.fr Received: from euclide.bretagne.ens-cachan.fr ([127.0.0.1]) by localhost (euclide.bretagne.ens-cachan.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eQIreQ7kO+eu for ; Wed, 9 Jul 2008 11:13:40 +0200 (CEST) Received: from amarante.eleves.bretagne.ens-cachan.fr (amarante.eleves.bretagne.ens-cachan.fr [193.52.93.74]) by euclide.bretagne.ens-cachan.fr (Postfix) with ESMTP id 9CFB83D402E for ; Wed, 9 Jul 2008 11:13:40 +0200 (CEST) Received: from webmail.eleves.bretagne.ens-cachan.fr (arago.eleves.bretagne.ens-cachan.fr [193.52.93.22]) by amarante.eleves.bretagne.ens-cachan.fr (Postfix) with ESMTP id 248003280AC for ; Wed, 9 Jul 2008 11:13:31 +0200 (CEST) Received: from 131.254.10.233 (SquirrelMail authenticated user obald287) by webmail.eleves.bretagne.ens-cachan.fr with HTTP; Wed, 9 Jul 2008 11:13:40 +0200 (CEST) Message-ID: <33412.131.254.10.233.1215594820.squirrel@webmail.eleves.bretagne.ens-cachan.fr> Date: Wed, 9 Jul 2008 11:13:40 +0200 (CEST) Subject: [Caml-list] Problem of compilation with ocamlopt From: Olivier.Baldellon@eleves.bretagne.ens-cachan.fr To: caml-list@yquem.inria.fr User-Agent: SquirrelMail/1.4.8-4.0.1.el4 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam: no; 0.00; compilation:01 ocamlopt:01 compil:01 ocamlc:01 compil:01 ocamlopt:01 whith:01 cmxa:01 cmxa:01 cmx:01 usr:01 lib:01 ocaml:01 libasmrun:01 ctype:01 I made some code wich compil without any problem with ocamlc. When I try to compil with ocamlopt on a first computer where the version of ocamlopt 3.09.1 I have the following message: ------------------------------------------------------------------------ [obaldellon@genocluster-data src]$ ocamlopt -c acide_amine.ml /tmp/camlasmbebd73.s: Assembler messages: /tmp/camlasmbebd73.s:1274: Error: suffix or operands invalid for `push' /tmp/camlasmbebd73.s:1280: Error: suffix or operands invalid for `push' ... /tmp/camlasmbebd73.s:1547: Error: suffix or operands invalid for `push' /tmp/camlasmbebd73.s:1553: Error: suffix or operands invalid for `push' Assembler error, input left in file /tmp/camlasmbebd73.s ------------------------------------------------------------------------- But when I try to compil whith the second computer where the version of ocamlopt is version 3.07+2, I don't have any problem with [obaldellon@genocluster-data src]$ ocamlopt -c acide_amine.ml but with : ---------------------------------------------------------------------- bash-3.00$ ocamlopt object.cmxa io.cmxa generate_lp_position.cmx -o ../bin/generate_lp_position_OPT /usr/local/lib/ocaml/libasmrun.a(str.o)(.text+0x2e8): In function `is_printable': : undefined reference to `__ctype_b' collect2: ld a retourné 1 code d'état d'exécution Error during linking ------------------------------------------------------------------------ I don't know what I have to do to solve this two problems. Thanks for your help.