From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Germ=E1n?= Arias Newsgroups: gmane.lisp.guile.user Subject: Re: Problem to compile g-wrap Date: Mon, 03 Oct 2011 16:58:54 -0600 Message-ID: <1317682734.5618.3.camel@german-desktop> References: <1317513190.5620.4.camel@german-desktop> Reply-To: guile-user@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1317682765 8727 80.91.229.12 (3 Oct 2011 22:59:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 Oct 2011 22:59:25 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Oct 04 00:59:15 2011 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RArTe-00049t-7s for guile-user@m.gmane.org; Tue, 04 Oct 2011 00:59:14 +0200 Original-Received: from localhost ([::1]:49918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RArTd-0004Zl-R7 for guile-user@m.gmane.org; Mon, 03 Oct 2011 18:59:13 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RArTU-0004ZT-Rm for guile-user@gnu.org; Mon, 03 Oct 2011 18:59:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RArTP-0004lR-39 for guile-user@gnu.org; Mon, 03 Oct 2011 18:59:04 -0400 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:40086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RArTP-0004lJ-0k for guile-user@gnu.org; Mon, 03 Oct 2011 18:58:59 -0400 Original-Received: by gya6 with SMTP id 6so4758988gya.0 for ; Mon, 03 Oct 2011 15:58:58 -0700 (PDT) Original-Received: by 10.236.147.114 with SMTP id s78mr2968857yhj.45.1317682737948; Mon, 03 Oct 2011 15:58:57 -0700 (PDT) Original-Received: from [192.168.1.5] ([190.149.157.113]) by mx.google.com with ESMTPS id l42sm16174284yhj.12.2011.10.03.15.58.56 (version=SSLv3 cipher=OTHER); Mon, 03 Oct 2011 15:58:57 -0700 (PDT) In-Reply-To: <1317513190.5620.4.camel@german-desktop> X-Mailer: Evolution 2.22.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.160.169 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:8844 Archived-At: I found the problem. the configuration say: checking size of size_t... 4 checking size of ssize_t... 4 checking for guile... /usr/local/bin/guile checking for guile-config... /usr/local/bin/guile-config checking for guile-tools... /usr/local/bin/guile-tools checking libguile compile flags... -pthread -I/usr/local/include/guile/2.0 -I/usr/local/include checking libguile link flags... -L/usr/local/lib -lguile-2.0 -lgc checking for guile-2.0... no Why? the Guile libraries are just there. On sáb, 2011-10-01 at 17:53 -0600, Germán Arias wrote: > Compiling g-wrap-1.9.13 with gcc 4.6.0, I get (using guile 2.0.2): > > In file included from guile-runtime.c:32:0: > ../../guile/g-wrap/guile-compatibility.h:50:0: error: "scm_is_eq" > redefined [-Werror] > /usr/local/include/guile/2.0/libguile/tags.h:120:0: note: this is the > location of the previous definition > ../../guile/g-wrap/guile-compatibility.h:51:0: error: "scm_is_null" > redefined [-Werror] > /usr/local/include/guile/2.0/libguile/pairs.h:73:0: note: this is the > location of the previous definition > ../../guile/g-wrap/guile-compatibility.h:81:0: error: "scm_is_symbol" > redefined [-Werror] > > > and: > > > guile-runtime.c: In function 'gw_guile_enum_val2sym': > guile-runtime.c:75:3: error: implicit declaration of function > 'scm_is_true' [-Werror=implicit-function-declaration] > guile-runtime.c:82:3: error: implicit declaration of function > 'scm_is_symbol' [-Werror=implicit-function-declaration] > guile-runtime.c:85:5: error: implicit declaration of function > 'scm_is_false' [-Werror=implicit-function-declaration] > guile-runtime.c:89:5: error: 'scm_num2long' is deprecated (declared > at /usr/local/include/guile/2.0/libguile/deprecated.h:681) > [-Werror=deprecated-declarations] > guile-runtime.c:94:5: error: 'scm_num2long' is deprecated (declared > at /usr/local/include/guile/2.0/libguile/deprecated.h:681) > [-Werror=deprecated-declarations] > guile-runtime.c:102:9: error: 'scm_str2symbol' is deprecated (declared > at /usr/local/include/guile/2.0/libguile/deprecated.h:718) > [-Werror=deprecated-declarations] > guile-runtime.c:104:7: error: 'scm_str2symbol' is deprecated (declared > at /usr/local/include/guile/2.0/libguile/deprecated.h:718) > [-Werror=deprecated-declarations] > > > Any advice? Thanks.