As you suggested, I performed a make clean between the configure and
make. Here is the end of the output. This was done against the HEAD
branch checked out this afternoon.
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../wiretap -DINET6
-D_U_="__attribute__((unused))" -Wall -W -g -O2 -I.. -I../wiretap
-D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include
-I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -c menu.c
menu.c:274: `gtk_rpcprogs_init' undeclared here (not in a function)
menu.c:274: initializer element is not constant
menu.c:274: (near initialization for `menu_items[63].callback')
menu.c:274: warning: missing initializer
menu.c:274: warning: (near initialization for `menu_items[63].callback')
menu.c:274: initializer element is not constant
menu.c:274: (near initialization for `menu_items[63]')
menu.c:275: initializer element is not constant
menu.c:275: (near initialization for `menu_items[64]')
menu.c:276: initializer element is not constant
menu.c:276: (near initialization for `menu_items[65]')
menu.c:277: initializer element is not constant
menu.c:277: (near initialization for `menu_items[66]')
menu.c:278: initializer element is not constant
menu.c:278: (near initialization for `menu_items[67]')
menu.c:279: initializer element is not constant
menu.c:279: (near initialization for `menu_items[68]')
menu.c:280: initializer element is not constant
menu.c:280: (near initialization for `menu_items[69]')
make[2]: *** [menu.o] Error 1
make[2]: Leaving directory `/home/devin/ethereal/ethereal2/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/devin/ethereal/ethereal2'
make: *** [all-recursive-am] Error 2
On Wed, 2002-11-06 at 15:44, Joerg Mayer wrote:
> On Wed, Nov 06, 2002 at 02:24:49PM -0500, Devin Heitmueller wrote:
> > $ autoconf --version
> > Autoconf version 2.13
>
> Now, that's rather interesting: Gcc 3 and autoconf 2.13 don't mix well, so
> I don't really understand why they did include 2.13 instead of 2.5x :-(
>
> > Looks like the GTK v1 version builds fine. Trying to enable GTK v2
> > results in all sorts of errors at the link stage (probably missing
> > dependencies).
>
> Warning: In case you did compile a GTK v1 tree and then just did a
> ./configure --enable-gtk2 && make, then I have a very good idea about
> what is going wrong: Please try a make clean in between.
>
> > If I get this working, it might make sense for me to add an item to the
> > Ethereal FAQ on how to build with Mandrake 9.0.
>
> Great!
>
> Ciao
> Jörg
>
> --
> Joerg Mayer <jmayer@xxxxxxxxx>
> I found out that "pro" means "instead of" (as in proconsul). Now I know
> what proactive means.
--
Devin Heitmueller
Senior Software Engineer
Netilla Networks Inc