caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Dustin Sallings <dustin@spy.net>
To: Caml Mailing List <caml-list@inria.fr>
Subject: Fwd: [Caml-list] ocaml on SunOS 4.1.4.
Date: Thu, 6 Nov 2003 16:54:17 -0800	[thread overview]
Message-ID: <E9D7411A-10BC-11D8-9B41-000393CFE6B8@spy.net> (raw)


Begin forwarded message:

> 	So I've managed to get 3.07+2 working on SunOS 4.1.4, but I've run 
> into one small problem.  ocamlopt seems to be trying to link in 
> something that doesn't work.
>
> bob:/tmp 115> ocamlopt test.ml
> collect2: ld returned 2 exit status
> ld: Undefined symbol
>    _raise
> Error during linking

	If anyone's interested, this made it all work:

#define raise(a) kill(getpid(), a)

	My application is working beautifully natively compiled on SunOS 4.1.4 
(sun4c).  This includes a few libs I made as well as the zlib interface 
from ocamlplot.sourceforge.net (which meant I had to port bzip2 as 
well).

	I'm very happy with it.  If anyone wants bins, let me know.

-- 
Dustin Sallings

-------------------
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


                 reply	other threads:[~2003-11-07  0:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E9D7411A-10BC-11D8-9B41-000393CFE6B8@spy.net \
    --to=dustin@spy.net \
    --cc=caml-list@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).