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] building OCaml on SCO UnixWare 7.01 system (problems)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-05-28 (23:16)
From: Shane Y. Gibson <shane@t...>
Subject: [Caml-list] building OCaml on SCO UnixWare 7.01 system (problems)


I'm not much of a programmer, but I need to port OCaml to SCO UnixWare 
7.01  system, so I can build and run the Unison package, which utilizes 

During the compilation process (with both GCC 2.95 and the SCO 
Development System CC compiler), I get the following errors:

         gcc -I../../byterun -O -fno-defer-pop -Wall -Wno-unused
  	    -D_FILE_OFFSET_BITS=64  -g -c scheduler.c
	scheduler.c:97: conflicting types for `thread_t'
	/usr/include/sys/types.h:305: previous declaration of `thread_t'
	*** Error code 1 (bu21)
	UX:make: ERROR: fatal error.

The 'thread_t' declaration in types.h reads:

	#ifndef _THREAD_T
	#define _THREAD_T
	typedef id_t    thread_t;      /* thread id type       */

I'm not sure what the issue is, but I suspect it's a fairly simple fix 
in terms of how the 'thread_t' type is being called, vs. how the include 
file is defining how it should be called?

If anyone has any thoughts or ideas, I would greatly appreciate any 
input.  This is version 3.04 of OCaml that I'm trying to build. Please 
respond with me in the TO or CC field, as I'm not a regular subscriber 
to the email list.  Thank you.


"Beyond the very extremity of fatigue and distress we may
find amounts of ease and power we never dreamed ourselves
to own, sources of strength never taxed at all because we
never push through the obstruction." -- William James

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