unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Andreas Rottmann <a.rottmann@gmx.at>
To: Kevin Fletcher <kevinjohn.fletcher@gmail.com>
Cc: bug-guile@gnu.org
Subject: Re: Build errors, stable-2.0, missing declarations
Date: Thu, 24 Mar 2011 00:22:38 +0100	[thread overview]
Message-ID: <87ipv9jubl.fsf@gmx.at> (raw)
In-Reply-To: <AANLkTimk9xS=+7ZoXc8_+-rHFj8SogUj83NwmrF=Qzp=@mail.gmail.com> (Kevin Fletcher's message of "Tue, 22 Mar 2011 22:43:35 +0000")

Kevin Fletcher <kevinjohn.fletcher@gmail.com> writes:

> Branch: 190d4b0..8099352  stable-2.0 -> origin/stable-2.0
>
> 'make -k' log attached.
>
> /usr/bin/make  all-recursive
[...]
> make[3]: Entering directory `/home/kjfletch/repos/guile/libguile'
>   CC     libguile_2.0_la-threads.lo
> threads.c:542: warning: 'struct GC_stack_base' declared inside parameter list
> threads.c:542: warning: its scope is only this definition or declaration, which is probably not what you want
> threads.c: In function 'do_thread_exit_trampoline':
> threads.c:547: warning: implicit declaration of function 'GC_register_my_thread'
> threads.c:551: error: 'GC_SUCCESS' undeclared (first use in this function)
> threads.c:551: error: (Each undeclared identifier is reported only once
> threads.c:551: error: for each function it appears in.)
> threads.c:552: warning: implicit declaration of function 'GC_unregister_my_thread'
> threads.c: In function 'on_thread_exit':
> threads.c:584: warning: implicit declaration of function 'GC_call_with_stack_base'
> make[3]: *** [libguile_2.0_la-threads.lo] Error 1
>
This looks like a problem with libgc; can you provide information about
your platform (operating system version, processor architecture) and the
libgc version you (or rather Guile's build process) are using?  The
output of "pkg-config --modversion bdw-gc" would provide the latter
information.

I think libgc 7.1 is minimum, but I have experienced problems also with
that version (although the problems were much more subtle, i.e. no
compilation issues); libgc 7.2alpha5 works fine on my system (Debian
sid, amd64).

Regards, Rotty
-- 
Andreas Rottmann -- <http://rotty.yi.org/>



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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-22 22:43 Build errors, stable-2.0, missing declarations Kevin Fletcher
2011-03-23 23:22 ` Andreas Rottmann [this message]
2011-03-24 19:39 ` Andy Wingo
2011-03-31 19:42   ` Kevin Fletcher
2011-03-31 20:18     ` Andy Wingo

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=87ipv9jubl.fsf@gmx.at \
    --to=a.rottmann@gmx.at \
    --cc=bug-guile@gnu.org \
    --cc=kevinjohn.fletcher@gmail.com \
    /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).