From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Peter S. Christopher" Newsgroups: gmane.lisp.guile.user Subject: primitive inclusion Date: Fri, 25 Jul 2003 15:08:34 -0500 (CDT) Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1059163735 12063 80.91.224.249 (25 Jul 2003 20:08:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 25 Jul 2003 20:08:55 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Jul 25 22:08:53 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19g8rf-00035f-00 for ; Fri, 25 Jul 2003 22:08:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19g8sT-00051m-8L for guile-user@m.gmane.org; Fri, 25 Jul 2003 16:09:21 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19g8ry-0004Yl-Nh for guile-user@gnu.org; Fri, 25 Jul 2003 16:08:50 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19g8rm-0003wK-F1 for guile-user@gnu.org; Fri, 25 Jul 2003 16:08:38 -0400 Original-Received: from midway.uchicago.edu ([128.135.12.12]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19g8rk-0003og-JB for guile-user@gnu.org; Fri, 25 Jul 2003 16:08:36 -0400 Original-Received: from harper.uchicago.edu (harper.uchicago.edu [128.135.12.7]) by midway.uchicago.edu (8.12.9/8.12.9) with ESMTP id h6PK8YcH018375 for ; Fri, 25 Jul 2003 15:08:35 -0500 (CDT) Original-Received: from localhost (peterc@localhost) by harper.uchicago.edu (8.12.9/8.12.9) with ESMTP id h6PK8YcI001649 for ; Fri, 25 Jul 2003 15:08:34 -0500 (CDT) X-Authentication-Warning: harper.uchicago.edu: peterc owned process doing -bs X-Sender: peterc@harper.uchicago.edu Original-To: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.lisp.guile.user:2104 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:2104 Hi listers, I'm having a problem finding a primitive function in one of my modules. Here is the setup. I have a C program which (after booting guile) defines a routine a-la: scm_c_define_gsubr("dvect?", 1, 0 ,0, dvect_p); Then the program loads a file using scm_c_primitive_load("root.scm"); At the top of root.scm I include a module via: (use-modules (slab)) Now within the text of the slab.scm I expect to use dcect?. However, the guile cannot reference dvect? -- it can't find it. The problem is that dvect? is being put in the (guile-user) module. And the slab module can't see it. I've tried to (use-modules (guile-user)) and this seems to have no effect. Does anyone have any ideas how I can get it so that the slab module can see dvect? ? Thanks for any help, Pete _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user