guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem to compile g-wrap


From: Germán Arias
Subject: Problem to compile g-wrap
Date: Sat, 01 Oct 2011 17:53:10 -0600

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 via email to

[Prev in Thread] Current Thread [Next in Thread]