From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id BAA20911; Thu, 29 May 2003 01:16:43 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id BAA20902 for ; Thu, 29 May 2003 01:16:41 +0200 (MET DST) Received: from citron.fluidtek.com (citron.fluidtek.com [216.218.215.162]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h4SNGeH28180 for ; Thu, 29 May 2003 01:16:40 +0200 (MET DST) Received: from tuna.org (sanjpca1-ar3-4-35-176-104.snjpca1.dsl-verizon.net [4.35.176.104]) by citron.fluidtek.com (8.11.3/8.11.3) with ESMTP id h4SNGcH08263 for ; Wed, 28 May 2003 16:16:39 -0700 (PDT) Message-ID: <3ED54407.3080604@tuna.org> Date: Wed, 28 May 2003 16:19:35 -0700 From: "Shane Y. Gibson" Organization: The Unix Network Archives (TUNA) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314 X-Accept-Language: en-us, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: [Caml-list] building OCaml on SCO UnixWare 7.01 system (problems) Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; gibson:99 tuna:99 unison:01 utilizes:99 gcc:01 byterun:01 -wall:01 -wno-unused:01 usr:01 ifndef:01 fatigue:99 compiler:01 typedef:01 ocaml:01 thread:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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