From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleg Parashchenko Newsgroups: gmane.lisp.guile.devel Subject: Re: scm_init_guile when null threads Date: Sun, 2 Apr 2006 06:48:12 +0400 Organization: xmlhack.ru Message-ID: <20060402064812.1191cb0c.olpa@xmlhack.ru> References: <20060401092404.0176a77b.olpa@xmlhack.ru> <871wwhwtyh.fsf@ossau.uklinux.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1143946123 31579 80.91.229.2 (2 Apr 2006 02:48:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Apr 2006 02:48:43 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Apr 02 04:48:42 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FPsdq-0003VL-La for guile-devel@m.gmane.org; Sun, 02 Apr 2006 04:48:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPsdq-00071o-3f for guile-devel@m.gmane.org; Sat, 01 Apr 2006 21:48:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FPsdn-00071j-9o for guile-devel@gnu.org; Sat, 01 Apr 2006 21:48:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FPsdk-00071X-NF for guile-devel@gnu.org; Sat, 01 Apr 2006 21:48:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPsdk-00071U-JG for guile-devel@gnu.org; Sat, 01 Apr 2006 21:48:32 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FPsgU-0008Vn-Nf for guile-devel@gnu.org; Sat, 01 Apr 2006 21:51:22 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FPsdb-0003U8-9j for guile-devel@gnu.org; Sun, 02 Apr 2006 04:48:23 +0200 Original-Received: from pd9543332.dip.t-dialin.net ([217.84.51.50]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Apr 2006 04:48:23 +0200 Original-Received: from olpa by pd9543332.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Apr 2006 04:48:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: guile-devel@gnu.org Original-Lines: 35 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pd9543332.dip.t-dialin.net X-Newsreader: Sylpheed version 1.0.4 (GTK+ 1.2.10; i586-alt-linux-gnu) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5835 Archived-At: Hello Nail, On Sat, 01 Apr 2006 10:01:10 +0100 Neil Jerram wrote: > Oleg Parashchenko writes: > > > Hello, > > > > I'm trying to compile a program which uses libguile 1.8.0 under > > Windows under MinGW. The program is a plugin which uses scm_init_guile > > to initialize Guilde when loaded. Unfortunately, the program doesn't > > compile due to undefined reference to scm_init_guile. Looking in the > > archives, I found the same issue for FreeBSD. As I understand, the > > function scm_init_guile indeed isn't available with null threads. > > > > Are there any workarounds? Quick and dirty temporary fixes are ok. > > Could you easily rework the program to use scm_boot_guile or > scm_with_guile instead? No, scm_boot_guile doesn't return, and I can't guess what scm_with_guile does. But looking at sources, I found the function scm_i_init_guile. This might be exactly what I need, I'll try later. > > Neil > > > > _______________________________________________ > Guile-devel mailing list > Guile-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/guile-devel > _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel