unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* [1.9.12] expected ')' ...
@ 2010-09-08 21:48 primus
  2010-09-11 13:09 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: primus @ 2010-09-08 21:48 UTC (permalink / raw)
  To: bug-guile

Wed Sep  8 22:39:54 BST 2010

Error:

gmake[3]: Entering directory `/usr/obj/micro/guile-1.9.12/libguile'
  CC     libguile_2.0_la-alist.lo
In file included from ../libguile.h:94,
                 from ../libguile/programs.h:22,
                 from ../libguile/_scm.h:84,
                 from alist.c:25:
../libguile/smob.h:180: error: expected ')' before 'obj'
gmake[3]: *** [libguile_2.0_la-alist.lo] Error 1
gmake[3]: Leaving directory `/usr/obj/micro/guile-1.9.12/libguile'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/obj/micro/guile-1.9.12/libguile'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/obj/micro/guile-1.9.12'
gmake: *** [all] Error 2

Solution:
"./libguile/bdw-gc.h" line 44 of 65
before:
	#if (! ((defined GC_VERSION_MAJOR) && (GC_VERSION_MAJOR >= 7)))
	/* This type was provided by `libgc' 6.x.  */
after:
	#if ( ((defined GC_VERSION_MAJOR) && (GC_VERSION_MAJOR >= 7)))

Removal of '!'.  GC_PTR *should* be defined if ver >= 7

-- 
-primus
"It isn't what you make, it's what you don't lose!"



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [1.9.12] expected ')' ...
  2010-09-08 21:48 [1.9.12] expected ')' primus
@ 2010-09-11 13:09 ` Ludovic Courtès
  2010-09-12 14:33   ` primus
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2010-09-11 13:09 UTC (permalink / raw)
  To: primus; +Cc: bug-guile

Hi,

primus <rprimus@gmail.com> writes:

> "./libguile/bdw-gc.h" line 44 of 65
> before:
> 	#if (! ((defined GC_VERSION_MAJOR) && (GC_VERSION_MAJOR >= 7)))
> 	/* This type was provided by `libgc' 6.x.  */
> after:
> 	#if ( ((defined GC_VERSION_MAJOR) && (GC_VERSION_MAJOR >= 7)))
>
> Removal of '!'.  GC_PTR *should* be defined if ver >= 7

Hmm in this file I see:

  #if (defined GC_VERSION_MAJOR) && (GC_VERSION_MAJOR >= 7)
  /* This type was provided by `libgc' 6.x.  */
  typedef void *GC_PTR;
  #endif

Perhaps you were looking at a modified version of the file?

Thanks,
Ludo’.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [1.9.12] expected ')' ...
  2010-09-11 13:09 ` Ludovic Courtès
@ 2010-09-12 14:33   ` primus
  0 siblings, 0 replies; 3+ messages in thread
From: primus @ 2010-09-12 14:33 UTC (permalink / raw)
  To: Ludovic Court?s; +Cc: bug-guile

On Sat, Sep 11, 2010 at 03:09:11PM +0200, Ludovic Court?s wrote:
> 
> Hmm in this file I see:
> 
>   #if (defined GC_VERSION_MAJOR) && (GC_VERSION_MAJOR >= 7)
>   /* This type was provided by `libgc' 6.x.  */
>   typedef void *GC_PTR;
>   #endif
> 
> Perhaps you were looking at a modified version of the file?

Sun Sep 12 15:30:36 BST 2010

Hi Ludo,

You are correct.  When compiling against
libgc-7.0, there was an error generated at that
line.  I did modify it to allow the build to
continue.

My bad!

-- 
-primus
"If I had more time, I would have written you a shorter letter" - Pascal
"It isn't what you make, it's what you don't lose!"



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-12 14:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-08 21:48 [1.9.12] expected ')' primus
2010-09-11 13:09 ` Ludovic Courtès
2010-09-12 14:33   ` primus

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).