From: "Waitman Gobble" <uzimac@da3m0n8t3r.com>
To: "Waitman Gobble" <uzimac@da3m0n8t3r.com>
Cc: guile-user@gnu.org
Subject: Re: trouble compiling guile
Date: Tue, 28 Feb 2012 11:43:09 -0800 (PST) [thread overview]
Message-ID: <1330458189.65743@da3m0n8t3r.com> (raw)
In-Reply-To: <1330441391.34524@da3m0n8t3r.com>
[-- Attachment #1: Type: text/plain, Size: 1723 bytes --]
Waitman Gobble <uzimac@da3m0n8t3r.com> wrote ..
>
> Hi,
>
> Hitting a snag compiling guile.
>
> # ./configure --prefix=/usr
> # make
> ..
> gc.c:213: error: static declaration of 'GC_get_free_space_divisor' follows non-static
> declaration
> /usr/include/gc/gc.h:260: error: previous declaration of 'GC_get_free_space_divisor'
> was here
> make[3]: *** [libguile_2.2_la-gc.lo] Error 1
> make[3]: Leaving directory `/usr/src/gnu/usr.bin/guile/libguile'
> make[2]: *** [install] Error 2
> make[2]: Leaving directory `/usr/src/gnu/usr.bin/guile/libguile'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/usr/src/gnu/usr.bin/guile'
> make: *** [install] Error 2
>
> the machine:
>
> # uname -a
> FreeBSD hunny.waitman.net 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sat Feb 25 23:36:23
> PST 2012 root@:/usr/obj/usr/src/sys/KEYSHIA amd64
>
>
> I'm using gc-7.2alpha6 which I think I recall worked better on my CentOS 5.7 Machine...
> when I bootstrapped gcc4.6 from 4.2. but maybe I need to recompile gc.
>
> Hints/Suggestions appreciated!
>
> Thank you,
>
It looks like maybe there is code in libguile/gc.c that is only compiled if functions don't previously exist (in bdw-gc i guess).. for some reason it's not catching it. The stock gcc compiler with FreeBSD 10.0-Current (4.2.1 i think) is complaining. Commenting out the function def GC_get_free_space_divisor in gc.c seems to fix it, but it hits some more similar issues.. Anyway I'm trying to build it now with gcc46 from ports, (which I was trying to avoid)... seems to be working, or spitting out warnings but no errors, made it past the libguile stuff. :) We'll see what happens.
Thanks
--
Waitman Gobble
San Jose California USA
next prev parent reply other threads:[~2012-02-28 19:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-28 15:03 trouble compiling guile Waitman Gobble
2012-02-28 19:43 ` Waitman Gobble [this message]
2012-02-29 13:13 ` Ludovic Courtès
2012-02-29 13:58 ` Waitman Gobble
2012-02-29 18:09 ` Ludovic Courtès
2012-02-29 19:26 ` Waitman Gobble
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=1330458189.65743@da3m0n8t3r.com \
--to=uzimac@da3m0n8t3r.com \
--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).