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
[Caml-list] BeOS and Unix library problems
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sébastien_Pierre <kaze@m...>
Subject: [Caml-list] BeOS and Unix library problems

I was quite happy to see the new distribution of OCaml 3 on the website 
yesterday, as I was unable to get a CVS accesss from my university 
(thanks to the firewall).
So I tried to compile it on my BeOS workstation and it worked...until I 
tried to compile 'findlib'.
Here is the error I get:
  ocamlc -custom -o ocamlfind findlib.cma unix.cma -cclib -
   /boot/home/config/lib/ocaml/libunix.a(chroot.o): In function 
   chroot.o(.text+0x16): undefined reference to `chroot'
   /boot/home/config/lib/ocaml/libunix.a(nice.o): In function 
   nice.o(.text+0x24): undefined reference to `nice'
   collect2: ld returned 1 exit status      

Looking at the sources, the "nice.c" and "chroot.c" source files both 
use calls to functions called "nice" and "chroot" which I can't find 
(and obviously the linker has the same problem ;)... Does anyone has 
any idea on how to solve this?

The dirty hack I found is to comment these fonctions and make them 
return -1!

To unsubscribe, mail  Archives: