After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 364464 - bsescminterp can't be built with guile 1.8 on 0.7.0
bsescminterp can't be built with guile 1.8 on 0.7.0
Status: RESOLVED FIXED
Product: beast
Classification: Other
Component: bse
v0.7.x
Other All
: High normal
: ---
Assigned To: Beast Maintainers
Beast Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-23 15:56 UTC by Jacco Kramer
Modified: 2008-02-21 17:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix to build against guile-1.8 (26.29 KB, patch)
2007-01-23 01:21 UTC, Tim Janik
none Details | Review

Description Jacco Kramer 2006-10-23 15:56:53 UTC
Please describe the problem:
When trying to build beast/bse 0.7.0 from the tarball with GTK2 2.8 and guile 1.8 there are errors: 

bsescminterp.c: In function `bse_scm_glue_rec_get':
bsescminterp.c:258: warning: implicit declaration of function `SCM_ROCHARS'
bsescminterp.c:258: warning: passing arg 1 of `g_strndup' makes pointer from integer without a cast
bsescminterp.c: In function `bse_scm_glue_rec_set':
bsescminterp.c:258: warning: redundant redeclaration of 'SCM_ROCHARS'
bsescminterp.c:258: warning: previous implicit declaration of 'SCM_ROCHARS' was here
bsescminterp.c:287: warning: passing arg 1 of `g_strndup' makes pointer from integer without a cast
bsescminterp.c: In function `bse_scm_proxy_print':
bsescminterp.c:327: error: invalid lvalue in unary `&'
bsescminterp.c: In function `bse_value_from_scm':
bsescminterp.c:258: warning: redundant redeclaration of 'SCM_ROCHARS'
bsescminterp.c:258: warning: previous implicit declaration of 'SCM_ROCHARS' was here
bsescminterp.c:389: warning: passing arg 1 of `sfi_value_lchoice' makes pointer from integer without a cast
bsescminterp.c:390: warning: implicit declaration of function `SCM_ROSTRINGP'
bsescminterp.c:391: warning: passing arg 1 of `sfi_value_lstring' makes pointer from integer without a cast
bsescminterp.c: In function `bse_scm_glue_set_prop':
bsescminterp.c:258: warning: redundant redeclaration of 'SCM_ROCHARS'
bsescminterp.c:258: warning: previous implicit declaration of 'SCM_ROCHARS' was here
bsescminterp.c:503: warning: passing arg 1 of `g_strndup' makes pointer from integer without a cast
bsescminterp.c: In function `bse_scm_glue_get_prop':
bsescminterp.c:258: warning: redundant redeclaration of 'SCM_ROCHARS'
bsescminterp.c:258: warning: previous implicit declaration of 'SCM_ROCHARS' was here
bsescminterp.c:538: warning: passing arg 1 of `g_strndup' makes pointer from integer without a cast
bsescminterp.c: In function `bse_scm_glue_call':
bsescminterp.c:258: warning: redundant redeclaration of 'SCM_ROCHARS'
bsescminterp.c:258: warning: previous implicit declaration of 'SCM_ROCHARS' was here
bsescminterp.c:570: warning: passing arg 1 of `g_strndup' makes pointer from integer without a cast
bsescminterp.c: In function `signal_closure_marshal':
bsescminterp.c:651: error: `scm_catch_body_t' undeclared (first use in this function)
bsescminterp.c:651: error: (Each undeclared identifier is reported only once
bsescminterp.c:651: error: for each function it appears in.)
bsescminterp.c:651: error: syntax error before "signal_marshal_sproc"
bsescminterp.c:647: warning: unused variable `stack_item'
bsescminterp.c: In function `bse_scm_signal_connect':
bsescminterp.c:258: warning: redundant redeclaration of 'SCM_ROCHARS'
bsescminterp.c:258: warning: previous implicit declaration of 'SCM_ROCHARS' was here
bsescminterp.c:676: warning: passing arg 1 of `g_strndup' makes pointer from integer without a cast
bsescminterp.c: In function `bse_scm_choice_match':
bsescminterp.c:258: warning: redundant redeclaration of 'SCM_ROCHARS'
bsescminterp.c:258: warning: previous implicit declaration of 'SCM_ROCHARS' was here
bsescminterp.c:713: warning: passing arg 1 of `g_strndup' makes pointer from integer without a cast
bsescminterp.c:714: warning: passing arg 1 of `g_strndup' makes pointer from integer without a cast
bsescminterp.c: In function `bse_scm_script_message':
bsescminterp.c:258: warning: redundant redeclaration of 'SCM_ROCHARS'
bsescminterp.c:258: warning: previous implicit declaration of 'SCM_ROCHARS' was here
bsescminterp.c:767: warning: passing arg 1 of `g_strndup' makes pointer from integer without a cast
bsescminterp.c:800: warning: passing arg 1 of `g_strndup' makes pointer from integer without a cast
bsescminterp.c:817: warning: passing arg 1 of `g_strndup' makes pointer from integer without a cast
bsescminterp.c: In function `bse_scm_script_register':
bsescminterp.c:258: warning: redundant redeclaration of 'SCM_ROCHARS'
bsescminterp.c:258: warning: previous implicit declaration of 'SCM_ROCHARS' was here
bsescminterp.c:893: warning: passing arg 1 of `sfi_value_lstring' makes pointer from integer without a cast
bsescminterp.c:895: warning: passing arg 1 of `sfi_value_lstring' makes pointer from integer without a cast
bsescminterp.c:897: warning: passing arg 1 of `sfi_value_lstring' makes pointer from integer without a cast
bsescminterp.c:899: warning: passing arg 1 of `sfi_value_lstring' makes pointer from integer without a cast
bsescminterp.c:902: warning: passing arg 1 of `sfi_value_lstring' makes pointer from integer without a cast
bsescminterp.c:910: warning: passing arg 1 of `sfi_value_lstring' makes pointer from integer without a cast
bsescminterp.c:912: warning: passing arg 1 of `sfi_value_lstring' makes pointer from integer without a cast
bsescminterp.c:918: warning: passing arg 1 of `sfi_value_lstring' makes pointer from integer without a cast
bsescminterp.c:927: warning: passing arg 1 of `g_strndup' makes pointer from integer without a cast
bsescminterp.c: In function `bse_scm_gettext':
bsescminterp.c:258: warning: redundant redeclaration of 'SCM_ROCHARS'
bsescminterp.c:258: warning: previous implicit declaration of 'SCM_ROCHARS' was here
bsescminterp.c:944: warning: passing arg 1 of `g_strndup' makes pointer from integer without a cast
bsescminterp.c: In function `bse_scm_gettext_q':
bsescminterp.c:258: warning: redundant redeclaration of 'SCM_ROCHARS'
bsescminterp.c:258: warning: previous implicit declaration of 'SCM_ROCHARS' was here
bsescminterp.c:957: warning: passing arg 1 of `g_strndup' makes pointer from integer without a cast
bsescminterp.c: At top level:
bsescminterp.c:622: warning: 'signal_marshal_sproc' defined but not used
make[2]: *** [bsescminterp.o] Error 1
make[2]: Leaving directory `/home/me/build/beast-0.7.0/shell'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/me/build/beast-0.7.0'
make: *** [all] Error 2


Steps to reproduce:
1. configure and build beast/bse on a computer with gtk2 2.8 and guile 1.8


Actual results:


Expected results:


Does this happen every time?
yes

Other information:
gtk+2 version 2.8.20
guile version 1.8.0
gcc   version 3.4.6
Comment 1 Nedko Arnaudov 2007-01-01 10:46:57 UTC
happens with guile 1.8.1, gtk 2.10.6, gcc 3.4.3
Comment 2 Erik 2007-01-10 15:42:36 UTC
why can't someone fix it, I can't use Beast because of this bug...
I'm using slackware 11, with Guile version 1.8.0 and gcc 3.4.6
Comment 3 Tim Janik 2007-01-23 01:21:19 UTC
Created attachment 80947 [details] [review]
fix to build against guile-1.8

applied and fixed in upstream, will be shipped with beast-0.7.2
Comment 4 Erik 2007-01-23 05:36:00 UTC
thanks...
Comment 5 mennowo 2008-02-21 17:43:04 UTC
how do I apply this patch? I'm trying to install beast 0.7.1 on fedora 8, and seem to have exactly this problem. i'm afraid I have no clue how to apply the change, sorry. Actually this kind of errors have always kept me from succesfully building any tool so far in my experience with linux...