Re: problems w/ 1.3.2, solaris8 and libmutt/mutt.h
- From: James McPherson <James McPherson Sun COM>
- To: balsa email list <balsa-list gnome org>
- Subject: Re: problems w/ 1.3.2, solaris8 and libmutt/mutt.h
- Date: Tue, 5 Mar 2002 01:03:37 +1100
Can't believe I'm following up to my own post so soon!
On 05 Mar 2002, 0:27:48 James McPherson wrote:
> gcc -DLIBMUTT -I. -I.. -I../libmutt -I/opt/gnome-1.4//include/gtk-1.2 -I/opt/gnome-1.4/include/glib-1.2 -I/opt/gnome-1.4/lib/glib/include -I/opt/gnome-1.4/include -I/opt/gnome-1.4/include/glib-1.2 -I/opt/gnome-1.4/lib/glib/include -D_REENTRANT -I/usr/local/include -I/opt/gnome-1.4/include/glib-1.2 -I/opt/gnome-1.4/lib/glib/include -I/opt/gnome-1.4/include/gtk-1.2 -I/opt/gnome-1.4/include -DNEED_GNOMESUPPORT_H -I/opt/gnome-1.4/lib/gnome-libs/include -I/opt/gnome-1.4/include/gnome-xml -I/opt/gnome-1.4/lib/vfs/include -D_REENTRANT -DUNICODE_USE_SYSTEM_ICONV -I/opt/gnome-1.4/include/gconf/1 -DGTKHTML_HAVE_GCONF -c pop3.c
> In file included from ../libmutt/mutt.h:872,
> from pop3.c:42:
> ../libmutt/lib.h:58: warning: `N_' redefined
> /opt/gnome-1.4/include/libgnome/gnome-i18n.h:36: warning: this is the location of the previous definition
> ../libmutt/lib.h:61: warning: `TRUE' redefined
> /opt/gnome-1.4/include/glib-1.2/glib.h:130: warning: this is the location of the previous definition
> ../libmutt/lib.h:62: warning: `FALSE' redefined
> /opt/gnome-1.4/include/glib-1.2/glib.h:126: warning: this is the location of the previous definition
> In file included from pop3.c:42:
> ../libmutt/mutt.h:185: parse error before `0x85'
> gmake[2]: *** [pop3.o] Error 1
> gmake[2]: Leaving directory `/ofa/d03/src/build/balsa-1.3.2/libbalsa'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/ofa/d03/src/build/balsa-1.3.2'
> gmake: *** [all-recursive-am] Error 2
the error comes from this tidbit in solaris' /usr/include/sys/stream.h:
#define M_READ 0x85 /* generate read notification */
Given that v1.3.1's libmutt/mutt.h has this comment
#ifdef M_READ
/* FIXME: On Solaris (and probably others), M_READ is defined by the
streams headers (<sys/streams.h>). We need to use a better
prefix. */
#undef M_READ
#endif
maybe we could use M_ISREAD instead? M_ISREAD is not used in the balsa
source, not in solaris' /usr/include/ tree.
Whaddaya think Pawel?
(for the moment I'll use the ifdef above to workaround it)
James
--
TSG Engineer (Kernel/Storage) 828 Pacific Highway
APAC Customer Care Centre Gordon NSW
Sun Microsystems Australia 2072
Failfast panic: those controlling voices in my head have
stopped telling me what to do.....
Read about the VOS Initiative at http://www.vosinitiative.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]