delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/12/16:01:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49B97720.4090105@cygwin.com>
Date: Thu, 12 Mar 2009 16:57:04 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20090101 Remi/2.0.0.19-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Monoburg freezes at a GLib call
References: <49B8BAFF DOT 20006 AT freemail DOT hu>
In-Reply-To: <49B8BAFF.20006@freemail.hu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

ROCKER wrote:
> Hi,
> 
> I have a problem about building mono project on cygwin. Mono needs GLib 
> 2.0 to build so I downloaded the GLib source from www.gtk.org and I 
> built and installed it. Then I started building mono but it froze at 
> testing monoburg after compiled it:
> ---------------------------------------
> Making all in monoburg
> 
> make[3]: Entering directory 
> `/home/tszemeredi/Install/mono-src/mono-2.2/mono/monoburg'
> 
> gcc -mno-cygwin -g -o monoburg ./monoburg.c parser.c -D_REENTRANT 
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -I. 
> -I../.. -g -O2  -L/usr/local/lib -lgthread-2.0 -lglib-2.0 -lintl -liconv
> 
> ./monoburg ./sample.brg > sample.c
> 
> (the make process freezes at tis line and the CPU load is 100%)
> ---------------------------------------
> 
> I tried to run monoburg explicitely without any command line parameters 
> but it froze too. I put some debug line to sources of GLib and mono and 
> I detected to monoburg froze when it called g_hash_table_new in the main 
> function in monoburg.c. As I saw it froze before entering to the 
> g_hash_table_new. I put a simple fprintf call at the beginning of this 
> GLib function for debug but I never saw my debug information in the 
> cygwin console.
> 
> Can you help me about this problem?

Since you're not building with Cygwin libs (i.e. you're using the
-mno-cygwin flag), you're really not using Cygwin so the question is
off-topic here.  You'll need to inquire the MinGW folks about this
issue.  However, if I were going to wager, I'd say they would suggest
dusting off the good ol' debugger and looking at the code that's
hanging.  Good luck.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019