From: Andrew B. <b3...@uk...> - 2005-11-05 12:48:57
|
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 |