unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Didier Godefroy <ldg@ulysium.net>
To: "Ludovic Courtès" <ludo@gnu.org>, guile-user@gnu.org
Subject: Re: Building guile 1.8.6 on Tru64 5.1b
Date: Sun, 19 Apr 2009 11:04:35 +0200	[thread overview]
Message-ID: <C610B5C3.27F40%ldg@ulysium.net> (raw)
In-Reply-To: <874owlh9bi.fsf@gnu.org>

>> gc_os_dep.c:1130: warning: type defaults to 'int' in declaration of '_end'
>> gc_os_dep.c: In function 'scm_get_stack_base':
>> gc_os_dep.c:1916: warning: comparison of distinct pointer types lacks a cast
> 
> The attached patch should fix it.  Can you try it and report back?
> (Apply it with "patch -p1 < /the/patch.diff" from the top-level source
> directory.)

Ok, it works for this error but then still croaks a bit later:

libtool: compile:  gcc -pthread -DHAVE_CONFIG_H -I.. -I.. -I..
-I/opt/TWWfsw/libgmp41/include -I/usr/local/readline/include
-I/usr/local/include -I/opt/TWWfsw/libgmp41/include
-I/usr/local/readline/include -I/usr/local/include -D_REENTRANT -O2 -g -Wall
-Wmissing-prototypes -Werror -MT libguile_la-numbers.lo -MD -MP -MF
.deps/libguile_la-numbers.Tpo -c numbers.c  -DPIC -o
.libs/libguile_la-numbers.o
cc1: warnings being treated as errors
numbers.c: In function 'scm_c_make_polar':
numbers.c:5356: warning: implicit declaration of function 'sincos'
numbers.c:5356: warning: incompatible implicit declaration of built-in
function 'sincos'
gmake[3]: *** [libguile_la-numbers.lo] Error 1



btw: I have in cppflags those flags:

-I/opt/TWWfsw/libgmp41/include -I/usr/local/readline/include
-I/usr/local/include

How come do they get duplicated?
And the -I.. also are showing up more than once...


>> In the previous 1.8.5 version which I could never build successfully, I was
>> using a cflag -DSCM_DEBUG_TYPING_STRICTNESS=0 although I forgot how I was
>> brought to use it, it's been a while since I tried building 1.8.5
> 
> This is no longer needed (see
> http://git.savannah.gnu.org/cgit/guile.git/commit/?id=95c6523b03387997d62c1bed
> 57bd1a0864e30836).
> 
> Hope this helps,

Great! Thanks,



> diff --git a/libguile/gc_os_dep.c b/libguile/gc_os_dep.c
> index d89f1cf..7bc9644 100644
> --- a/libguile/gc_os_dep.c
> +++ b/libguile/gc_os_dep.c
> @@ -1127,7 +1127,7 @@ scm_get_stack_base ()
>  #   ifdef OSF1
>  # define OS_TYPE "OSF1"
>  #    define DATASTART ((ptr_t) 0x140000000)
> - extern _end;
> + extern int _end;
>  #    define DATAEND ((ptr_t) &_end)
>  #    define HEURISTIC2
> /* Normally HEURISTIC2 is too conervative, since  */
> @@ -1912,7 +1912,7 @@ void *scm_get_stack_base()
>  #     if STACK_GROWS_DOWN
> result = GC_find_limit((ptr_t)(&dummy), TRUE);
>  #            ifdef HEURISTIC2_LIMIT
> -      if (result > HEURISTIC2_LIMIT
> +      if ((ptr_t)result > HEURISTIC2_LIMIT
>        && (ptr_t)(&dummy) < HEURISTIC2_LIMIT) {
>            result = HEURISTIC2_LIMIT;
>    }

-- 
Didier Godefroy
mailto:dg@ulysium.net






  reply	other threads:[~2009-04-19  9:04 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-18 20:23 Building guile 1.8.6 on Tru64 5.1b Didier Godefroy
2009-04-18 22:43 ` Ludovic Courtès
2009-04-19  9:04   ` Didier Godefroy [this message]
2009-04-21 13:59   ` Didier Godefroy
2009-04-21 14:10     ` Linas Vepstas
2009-04-21 15:19       ` Ludovic Courtès
2009-04-21 18:35       ` Didier Godefroy
2009-04-21 19:00         ` Ludovic Courtès
2009-04-21 19:37           ` Didier Godefroy
2009-04-21 20:40             ` Ludovic Courtès
2009-04-21 15:14     ` Ludovic Courtès
2009-04-21 18:25       ` Didier Godefroy
2009-04-21 18:47       ` Didier Godefroy
2009-04-21 19:07         ` Ludovic Courtès
2009-04-21 19:46           ` Didier Godefroy
2009-04-21 20:41             ` Ludovic Courtès
2009-04-21 20:53               ` Didier Godefroy
2009-04-21 22:55                 ` Ludovic Courtès
2009-04-22  8:11                   ` Didier Godefroy
2009-04-22  8:23                   ` Didier Godefroy
2009-04-22  9:27                     ` Ludovic Courtès
2009-04-22 14:39                       ` Didier Godefroy
2009-04-23 22:49                         ` Ludovic Courtès
2009-04-25 12:29                           ` Didier Godefroy
2009-04-25 13:24                             ` Mike Gran
2009-04-25 14:19                               ` Didier Godefroy
2009-04-21 20:25           ` Didier Godefroy
2009-04-21 20:50             ` Ludovic Courtès
2009-04-21 20:58               ` Didier Godefroy

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=C610B5C3.27F40%ldg@ulysium.net \
    --to=ldg@ulysium.net \
    --cc=guile-user@gnu.org \
    --cc=ludo@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).