guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building guile 1.8.6 on Tru64 5.1b


From: Didier Godefroy
Subject: Re: Building guile 1.8.6 on Tru64 5.1b
Date: Tue, 21 Apr 2009 15:59:20 +0200
User-agent: Microsoft-Entourage/12.17.0.090302

> The attached patch should fix it.  Can you try it and report back?

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


After the patch below was applied, the errors were fixed, but I get those
errors above.

I'd like to finish compiling this.
What else can I do to fix this???



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


> 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:address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]