caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] building OCaml on SCO UnixWare 7.01 system (problems)
@ 2003-05-28 23:19 Shane Y. Gibson
  2003-05-29  6:21 ` Sven Luther
  2003-06-01 16:10 ` Xavier Leroy
  0 siblings, 2 replies; 3+ messages in thread
From: Shane Y. Gibson @ 2003-05-28 23:19 UTC (permalink / raw)
  To: caml-list


Hello,

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

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       */
	#endif

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.

v/r
Shane


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-01 16:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-28 23:19 [Caml-list] building OCaml on SCO UnixWare 7.01 system (problems) Shane Y. Gibson
2003-05-29  6:21 ` Sven Luther
2003-06-01 16:10 ` Xavier Leroy

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