caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Kaspar Rohrer <krohrer@student.ethz.ch>
To: caml-list@yquem.inria.fr
Subject: Native multithreaded LablGTK2?
Date: Sun, 29 Jul 2007 21:16:08 +0200	[thread overview]
Message-ID: <950BC328-B571-4736-A779-8E3EE9CF6F3E@student.ethz.ch> (raw)

[-- Attachment #1: Type: text/plain, Size: 967 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2328 bytes --]

             reply	other threads:[~2007-07-29 19:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-29 19:16 Kaspar Rohrer [this message]
2007-07-30  5:40 ` [Caml-list] " Julien Moutinho
2007-07-30  8:01   ` Kaspar Rohrer
2007-07-30 11:57     ` Julien Moutinho
2007-07-30 13:22       ` Kaspar Rohrer
2007-07-30  8:22   ` Kaspar Rohrer
2007-07-30 10:01     ` Julien Moutinho
2007-07-30 11:31       ` Kaspar Rohrer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=950BC328-B571-4736-A779-8E3EE9CF6F3E@student.ethz.ch \
    --to=krohrer@student.ethz.ch \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).