Re: Compile Problem: _N/TRUE/FALSE Conflict in libmutt



m 2002.03.10 08:21 schrieb(en) Pawel Salek:
> On 2002.03.10 04:17 Julian M Catchen wrote:
>> Hey Everyone,
[snip]
> There at least two other people experiencing this king of problem. 
> Information that may help to resolve it includes:
> 
> 1. the gcc command line leading to this error (gcc [lots of flags] 
> mailbox.c): the problem may be on autoconf side.

gcc -DLIBMUTT -I. -I. -I.. -I. -I.. -I../libmutt   -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -g 
-O2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 
-I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H 
-I/usr/lib/gnome-libs/include -I/usr/include/freetype2 -I/usr/include 
-I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gnome-xml 
-I/usr/include/gnome-vfs-1.0 -I/usr/lib/gnome-vfs-1.0/include 
-I/usr/include/orbit-1.0 -I/usr/include/gconf/1 -D_REENTRANT -Wsign-promo 
-Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts 
-Wuninitialized -Wmissing-prototypes -Wreturn-type -Werror -c `test -f 
address.c || echo './'`address.c

(I chose address.c, 'cause it's the first file things go wrong)
If you leave out -Werror the warnings appear but it doesn't hang...

a800:/etc# autoconf --version
Autoconf version 2.13
a800:/etc# gcc --version
2.95.4

I'm running a debian unstable system, but it's a little bit dated (except 
all this gnome things!)

> 2. output of gcc -E [lots of flags] mailbox.c (run for example gcc -E 
> [lots of flags] mailbox.c > prepr.c): the problem may depend on the 
> system headers.

It's a little bit to big, so you can find it here:

http://private.addcom.de/moh/prepr.c.gz

> 
> Note that you should be able to compile the preprocessed file (gcc -c 
> prepr.c) without any error.

Yes, I could compile this! (but the errors occured when gcc -E [many 
things] address.c)

Hope that helps!

cu
/Steffen

-- 
/"\
\ /  ASCII Ribbon Campaign    |       Without fools
  X  - NO HTML/RTF in e-mail   | there would be no wisdom
/ \ - NO MSWord docs in e-mail|     So: Here I am!



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