unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "Germán Arias" <german@xelalug.org>
To: guile-user@gnu.org
Subject: Re: Problem to compile g-wrap
Date: Mon, 03 Oct 2011 16:58:54 -0600	[thread overview]
Message-ID: <1317682734.5618.3.camel@german-desktop> (raw)
In-Reply-To: <1317513190.5620.4.camel@german-desktop>

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.




  reply	other threads:[~2011-10-03 22:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-01 23:53 Problem to compile g-wrap Germán Arias
2011-10-03 22:58 ` Germán Arias [this message]
2011-10-04 19:50   ` Ludovic Courtès
2011-10-05  0:00     ` Germán Arias
2011-10-05 10:11       ` Ludovic Courtès
2011-10-06  6:12         ` Germán Arias
2011-10-06 19:07           ` Ludovic Courtès
2011-10-07 18:31             ` Germán Arias
2011-10-12 13:26   ` Paul Emsley
2011-10-15 21:55     ` Germán Arias

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1317682734.5618.3.camel@german-desktop \
    --to=german@xelalug.org \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).