Hello,
I tried to send a message about this a couple of hours ago but it doesn't seem 
to have made it to the list (I'm having character encoding issues). I'm 
resending it because I seem to have worked out a trivial fix to the problem. To 
downloaded a fresh copy of gtk-gnutella-current with cvs this morning and when 
I went to compile it I got


cc -c -I../../.. -I../.. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libxml2   
-DGUI_SOURCES -DCURDIR=src/ui/gtk -O -W -Wall -Wformat=2 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  main.c
main.c: In function ‘gui_init_menu’:
main.c:215: error: ‘on_main_gui_treeview_menu_enter_notify’ undeclared (first 
use in this function)
main.c:215: error: (Each undeclared identifier is reported only once
main.c:215: error: for each function it appears in.)
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/home/andy/Desktop/gtk-gnutella-current/src/ui/gtk'
make[2]: *** [ui/gtk/libgtk-common.a] Error 2
make[2]: Leaving directory `/home/andy/Desktop/gtk-gnutella-current/src'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/andy/Desktop/gtk-gnutella-current'
make: *** [all] Error 2


The solution was to add this line near the top of the file

#include "main_cb.c"

Brilliant eh?
Andy



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Gtk-gnutella-devel mailing list
Gtk-gnutella-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to