caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Olivier.Baldellon@eleves.bretagne.ens-cachan.fr
To: caml-list@yquem.inria.fr
Subject: [Caml-list] Problem of compilation with ocamlopt
Date: Wed, 9 Jul 2008 11:13:40 +0200 (CEST)	[thread overview]
Message-ID: <33412.131.254.10.233.1215594820.squirrel@webmail.eleves.bretagne.ens-cachan.fr> (raw)

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.



             reply	other threads:[~2008-07-09  9:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-09  9:13 Olivier.Baldellon [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-07-09  9:11 Olivier.Baldellon
2008-07-11 14:08 ` [Caml-list] " Xavier Leroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=33412.131.254.10.233.1215594820.squirrel@webmail.eleves.bretagne.ens-cachan.fr \
    --to=olivier.baldellon@eleves.bretagne.ens-cachan.fr \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).