From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=AWL,HTML_FONT_BIG, HTML_FONT_FACE_BAD,HTML_MESSAGE autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id EBD87BC69 for ; Sun, 29 Jul 2007 21:16:10 +0200 (CEST) Received: from xsmtp1.ethz.ch (xsmtp1.ethz.ch [82.130.70.13]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l6TJGA0f009602 for ; Sun, 29 Jul 2007 21:16:10 +0200 Received: from xfe1.d.ethz.ch ([82.130.124.41]) by xsmtp1.ethz.ch with Microsoft SMTPSVC(6.0.3790.3959); Sun, 29 Jul 2007 21:16:10 +0200 Received: from [10.0.1.3] ([80.219.210.76]) by xfe1.d.ethz.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Sun, 29 Jul 2007 21:16:10 +0200 Mime-Version: 1.0 (Apple Message framework v752.3) To: caml-list@yquem.inria.fr Message-Id: <950BC328-B571-4736-A779-8E3EE9CF6F3E@student.ethz.ch> Content-Type: multipart/alternative; boundary=Apple-Mail-1--876545414 From: Kaspar Rohrer Subject: Native multithreaded LablGTK2? Date: Sun, 29 Jul 2007 21:16:08 +0200 X-Mailer: Apple Mail (2.752.3) X-OriginalArrivalTime: 29 Jul 2007 19:16:10.0095 (UTC) FILETIME=[EBD237F0:01C7D214] X-Miltered: at discorde with ID 46ACE77A.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; lablgtk:01 ocaml:01 lablgtk:01 lablgl:01 ocaml:01 lib:01 gtkthread:01 cmx:01 lib:01 gtkthread:01 cmx:01 byte:01 lablgl:01 byte:01 compile:01 --Apple-Mail-1--876545414 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed I'm trying to build a multithreaded application (my own, written from scratch) using Ocaml, Lablgtk2, and Lablgl. I use Omake as the build system, and the project consists of several different Ocaml libraries (my own as well as 3rd party). Here's the error I get when I try to compile the application: Files /Users/krohrer/godi/lib/ocaml/pkg-lib/lablgtk2/gtkThread.cmx and /Users/krohrer/godi/lib/ocaml/pkg-lib/lablgtk2/gtkThread.cmx both define a module named GtkThread This only happens when I try to compile a native code application, as opposed to byte code. Now, my knowledge of the ocaml library system is somewhat limited. So I thought I'd ask here, in the hope that if this is really a lablgtk2/ godi/omake error, somebody will tell me. Any ideas on this one? Thanks in advance - Kaspar Rohrer PS: Currently the application is single threaded, but due to output redirection using pipes, I get the occassional freeze. (Pipe gets flooded!) --Apple-Mail-1--876545414 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=US-ASCII
I'm trying to build a multithreaded application = (my own, written from scratch) using Ocaml, Lablgtk2, and Lablgl. I use = Omake as the build system, and the project consists of several different = Ocaml libraries (my own as well as 3rd party).

Here's the error I get = when I try to compile the application:

Files = /Users/krohrer/godi/lib/ocaml/pkg-lib/lablgtk2/gtkThread.cmx
and= = /Users/krohrer/godi/lib/ocaml/pkg-lib/lablgtk2/gtkThread.cmx
bot= h define a module named GtkThread

This only happens when I = try to compile a native code application, as opposed to byte = code.

Now, my knowledge of the ocaml = library system is somewhat limited. So I thought I'd ask here, in the = hope that if this is really a lablgtk2/godi/omake error, somebody will = tell me.
Any ideas on this one?

Thanks in advance
- Kaspar = Rohrer

PS: Currently = the application is single threaded, but due to output redirection using = pipes, I get the occassional freeze. (Pipe gets flooded!)
=
=20 = --Apple-Mail-1--876545414--