From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.user Subject: Re: A [serious] problem with module integration Date: Fri, 16 Nov 2012 08:10:46 -0800 (PST) Message-ID: <1353082246.26147.YahooMailNeo@web120401.mail.ne1.yahoo.com> References: <1353081839.32769.YahooMailNeo@web120405.mail.ne1.yahoo.com> Reply-To: Mike Gran NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1353082257 4542 80.91.229.3 (16 Nov 2012 16:10:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Nov 2012 16:10:57 +0000 (UTC) To: Mike Gran , Panicz Maciej Godek , "guile-user@gnu.org" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Nov 16 17:11:08 2012 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TZOVX-0005eY-V7 for guile-user@m.gmane.org; Fri, 16 Nov 2012 17:11:08 +0100 Original-Received: from localhost ([::1]:45771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZOVN-0002iJ-WF for guile-user@m.gmane.org; Fri, 16 Nov 2012 11:10:58 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZOVH-0002hP-5q for guile-user@gnu.org; Fri, 16 Nov 2012 11:10:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZOVD-00060w-UN for guile-user@gnu.org; Fri, 16 Nov 2012 11:10:50 -0500 Original-Received: from nm15.bullet.mail.ne1.yahoo.com ([98.138.90.78]:33028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZOVD-00060q-Mj for guile-user@gnu.org; Fri, 16 Nov 2012 11:10:47 -0500 Original-Received: from [98.138.90.57] by nm15.bullet.mail.ne1.yahoo.com with NNFMP; 16 Nov 2012 16:10:47 -0000 Original-Received: from [98.138.87.5] by tm10.bullet.mail.ne1.yahoo.com with NNFMP; 16 Nov 2012 16:10:46 -0000 Original-Received: from [127.0.0.1] by omp1005.mail.ne1.yahoo.com with NNFMP; 16 Nov 2012 16:10:46 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 832971.83692.bm@omp1005.mail.ne1.yahoo.com Original-Received: (qmail 40789 invoked by uid 60001); 16 Nov 2012 16:10:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1353082246; bh=H+Uy/Nz54PkqbOmQDr+KC0EmMCUDlv6L3NnClN9ukT8=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=TyGvB9wooXO84qpXJHTlkh3KsYBTl5Q4W7S/ax2ugFt7T/E85pkK1af0tg0pgQsqW+05qVh1l1ZvuyAvZqHZVAVMM4aLUmGprrAMv8bUvfAwUJbg6Bn4/sgxFVX8qNwysEvQEqlJSnRCh/f7+fW1UPeyHeJ3i1hdOLG3LnMhi18= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=EZuDPh1ClQic1gp+8xgUknfBdNc5gwBRPNL4FiB/lRHCA4e1z1HHl286NhCivc12HxEzZpn7ARm0RsyUMrRxYGBs9Zk4PKF0AimtgaCfL0Db5Y3u+S22B4sXW3wSXPHeofUWLWNbbPGSUsIZ9UZjxEfPQUJKl4o+vfVXrDQH0I4=; X-YMail-OSG: JfQ5ujkVM1nBhjvtDS.xtrv5IaFUmNrPmqRlKPJxGCaOpZG SxuKX5w1cyrfVIYXU4muJAES3MnlJEvbP75i74QSq3SuxUUGHpSjmOxnULKZ HWBiUW8mnF8RUPzzqw3am92ORIimc_kpxI1uzsqqkLmaypx5Q1iWdVyHYJyq 9oP5IPTiR8dAAtvt0Jaj4ETgq4yKA01uxBEJyaiFA_We6COQqx0rm7cAJgfs nra0W1m.eRa98lfjHlNX0.KeMW9oQUTMHHahH0_Qovml73G7UtyOddQPaAhO 5AvXJ4.pXqa3vIEfLFMhICIoJhk0dbTP2zjlMMAeTExiyimLcIEay6bUEWN5 OKW.sPVRYfm7Q2otIkmqfG7EmDbojpd2aFdN7g0hpZx5x.9Lga3.S7o46wBw vfqfKIAkSWfgRGeetONt_BJR2S2ePOxLeV5qzD7hFshJjU.AU3sceX4vW6HO CnD3WbmzWCM9GmeJtMT0DWJoYhE.guWoFT34W32uFJMCWR0TTvMWcHOecQQA cj_ZeWY8- Original-Received: from [71.130.210.109] by web120401.mail.ne1.yahoo.com via HTTP; Fri, 16 Nov 2012 08:10:46 PST X-Rocket-MIMEInfo: 001.001, PiBGcm9tOiBNaWtlIEdyYW4gPHNwazEyMUB5YWhvby5jb20.Cj4gVG86IFBhbmljeiBNYWNpZWogR29kZWsgPGdvZGVrLm1hY2lla0BnbWFpbC5jb20.OyAiZ3VpbGUtdXNlckBnbnUub3JnIiA8Z3VpbGUtdXNlckBnbnUub3JnPgo.IENjOiAKPiBTZW50OiBGcmlkYXksIE5vdmVtYmVyIDE2LCAyMDEyIDg6MDMgQU0KPiBTdWJqZWN0OiBSZTogQSBbc2VyaW91c10gcHJvYmxlbSB3aXRoIG1vZHVsZSBpbnRlZ3JhdGlvbgo.IAo.IEhlbGxvIFBhbmljei0KPiAKPj4gRnJvbTogUGFuaWN6IE1hY2llaiBHb2RlayABMAEBAQE- X-Mailer: YahooMailWebService/0.8.123.460 In-Reply-To: <1353081839.32769.YahooMailNeo@web120405.mail.ne1.yahoo.com> X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-Received-From: 98.138.90.78 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9687 Archived-At: > From: Mike Gran > To: Panicz Maciej Godek ; "guile-user@gnu.org" > Cc: > Sent: Friday, November 16, 2012 8:03 AM > Subject: Re: A [serious] problem with module integration > > Hello Panicz- > >> From: Panicz Maciej Godek >> And now I have a problem: the modules that I wrote make use >> of the symbols defined by my application (using scm_c_define...), >> but they are unavailable outside my application, i.e. for external >> modules. > > [snip] > > I read this, and I am having a bit of trouble visualizing > what you've done, but, perhaps your problem can be fixed > by simply replacing scm_c_define with scm_c_export. I'm replying to my own e-mail, because this is unclear. You don't *replace* scm_c_define with scm_c_export. You add a call to scm_c_export after your calls to scm_c_define.