[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] build failure on ia64 and alpha
From: |
Christian Grothoff |
Subject: |
Re: [GNUnet-developers] build failure on ia64 and alpha |
Date: |
Wed, 19 May 2004 21:55:57 -0500 |
User-agent: |
KMail/1.6.2 |
On Friday 07 May 2004 19:54, Glenn McGrath wrote:
> Ive uploaded debian packages of 0.6.2a, its working fine for me, however
> there are compile problems on ia64 and alpha, but its built on powerpc,
> sparc, and s390. So it looks like architecture specific problems.
Hmm. Looks like an odd 64-bit problem to me. I assumed that the gpointer
passed to the callback was a long in the menu-struct, but (I did not check)
it might have been an int -- which in our case would lead to an unfortunate
cast of pointer to long to int, which is bad. I've fixed it by just passing
small indices into the stat-array instead of the symbolic stat-names.
Doesn't make much of a difference and should definitely resolve this problem
for you.
Christian
> Making all in gtkui
> make[6]: Entering directory
> `/build/buildd/gnunet-0.6.2a/src/applications/afs/gtkui'
> source='main.c' object='main.o' libtool=no \
> depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
> depmode=gcc3 /bin/sh ../../../../depcomp \
> ia64-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../../..
> -I../../../../src/include -I/usr/include -I/usr/include -I/usr/include
> -I/usr/include -I/usr/include -I/usr/include/gtk-1.2
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include -fno-strict-aliasing
> -Wall -g -O2 -c `test -f 'main.c' || echo './'`main.c
> main.c:250: error: initializer element is not computable at load time
> main.c:250: error: (near initialization for
> `menu_items[11].callback_action')
> main.c:251: error: initializer element is not constant
> main.c:251: error: (near initialization for `menu_items[11]')
> main.c:255: error: initializer element is not computable at load time
> main.c:255: error: (near initialization for
> `menu_items[12].callback_action')
> main.c:256: error: initializer element is not constant
> main.c:256: error: (near initialization for `menu_items[12]')
> main.c:260: error: initializer element is not computable at load time
> ....
>
>
> All build logs for GNUnet can be seen from
> http://buildd.debian.org/build.php?pkg=gnunet
>
> These specific logs can be seen linked from the bottom of the page,
> 0.6.2a-2 (ia64) (latest build at May 7 20:30: maybe-failed) and
> 0.6.2a-2 (alpha) (latest build at May 7 20:31: maybe-failed)
>
> Havent looked for the bug myself... im heading out for a few days.
>
>
>
> Glenn
>
>
> _______________________________________________
> GNUnet-developers mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnunet-developers