pan-users
[Top][All Lists]
Advanced

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

Re: [Pan-users] compiling 0.13.0 on alpha and ia64


From: Søren Boll Overgaard
Subject: Re: [Pan-users] compiling 0.13.0 on alpha and ia64
Date: 25 Aug 2002 18:23:13 +0200

On Fri, 2002-08-23 at 16:20, Søren Boll Overgaard wrote:
> Hello
> 
> I was just wondering if anyone else have had problems compiling pan
> 0.13.0 on the alpha and ia64 architectures. I get the following errors
> on both architectures:
> 
> ----8<----
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I..\gmime -D_REENTRANT
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include       -g -O2 -I. -c
> `test -f 'gmime-message-part.c' || echo './'`gmime-message-part.c
> gmime-message-part.c: In function `g_mime_message_part_class_init':
> gmime-message-part.c:93: warning: assignment from incompatible pointer
> type
> gmime-message-part.c: At top level:
> gmime-message-part.c:182: conflicting types for
> `message_part_write_to_stream'
> gmime-message-part.c:45: previous declaration of
> `message_part_write_to_stream'
> make[3]: *** [gmime-message-part.o] Error 1
> make[3]: Leaving directory `/build/buildd/pan-0.13.0/gmime'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/buildd/pan-0.13.0'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/buildd/pan-0.13.0'
> make: *** [build-stamp] Error 2
> ----8<----
> 
> Any suggestions on how to fix it, would be greatly appreciated.

Thanks to Ryan Murray, here are further details on this:

---8<---
A full build log can be found at:
http://buildd.debian.org/build.php?arch=alpha&pkg=pan&ver=0.13.0-1

pan doesn't build on 64-bit architectures because ssize_t is not the
same
size as int:

45:static int message_part_write_to_stream (GMimeObject *object,
GMimeStream *stream);
182:static ssize_t message_part_write_to_stream (GMimeObject *object,
GMimeStream *stream)

the prototype should be changed to match the function.  It should also
fix
the warning on line 93.

---8<---


-- 
Søren O.                                       ,''`. 
                                              : :' :
public key: finger boll <at> db.debian.org    `. `' 
                                                `-

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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