Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Fwd: [Caml-list] ocaml on SunOS 4.1.4.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-11-07 (00:54)
From: Dustin Sallings <dustin@s...>
Subject: Fwd: [Caml-list] ocaml on SunOS 4.1.4.

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
> 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 (which meant I had to port bzip2 as 

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

Dustin Sallings

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: