unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: gnuemacser <hj_182006@hotmail.com>
Cc: 11456-done@debbugs.gnu.org
Subject: bug#11456: guile-2.0.5 fails to compile under mingw+msys
Date: Wed, 04 Jul 2012 21:27:06 +0200	[thread overview]
Message-ID: <87k3yj8gz9.fsf@pobox.com> (raw)
In-Reply-To: <COL108-W1733EFD1EEE0628D8B204F9F170@phx.gbl> (gnuemacser's message of "Sat, 12 May 2012 06:53:02 +0800")

Hi,

Sorry for the long delay in the response.

On Sat 12 May 2012 00:53, gnuemacser <hj_182006@hotmail.com> writes:

> I got the sources of guile-2.0.5 and I tried to compile them under 
> mingw+msys.
> The compilation failed because of this error:
> make[3]: Entering directory `/e/temp/files/1/guile/guile-2.0.5/libguile'
>   CC     libguile_2.0_la-threads.lo
> threads.c: In function 'to_timespec':
> threads.c:267:15: error: dereferencing pointer to incomplete type
> threads.c:268:15: error: dereferencing pointer to incomplete type
> threads.c:275:15: error: dereferencing pointer to incomplete type
> threads.c:276:15: error: dereferencing pointer to incomplete type
> threads.c: In function 'launch_thread':
> threads.c:1012:3: warning: implicit declaration of function
> 'GC_pthread_detach'

I think you are building with the default --with-threads argument, which
is to enable them.  If you want threads on mingw, you will have to use
the pthread wrapper for mingw, and build libgc with pthread support.
Otherwise, build guile --without-threads.

Regards,

Andy
-- 
http://wingolog.org/





  reply	other threads:[~2012-07-04 19:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-11 22:53 bug#11456: guile-2.0.5 fails to compile under mingw+msys gnuemacser
2012-07-04 19:27 ` Andy Wingo [this message]
2012-07-06  4:59 ` bug#11456: it still can't be compiled gnuemacser
2012-07-06  8:38   ` Andy Wingo
2012-07-06  5:31 ` bug#11456: the guile-2.1.0.310-b8bc is worse to " gnuemacser
2012-07-06  9:06   ` Andy Wingo
2012-07-06 13:26 ` bug#11456: add time.h in threads.c ,but it still don't work gnuemacser
2012-07-06 21:15 ` bug#11456: guile-2.0.5.210-e1fb0e don't know libffi gnuemacser
2012-07-07  3:59 ` bug#11456: guile crashed in mingw gnuemacser

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=87k3yj8gz9.fsf@pobox.com \
    --to=wingo@pobox.com \
    --cc=11456-done@debbugs.gnu.org \
    --cc=hj_182006@hotmail.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).