Re: Unable to build Balsa v. 2.4.9 with default "--with-gnome" configure flag



On 06/14/2011 01:53:54 PM, Casco Bucci wrote:
main-window.c: In function ‘bw_mailbox_tab_n_cb’:
main-window.c:2740: error: ‘GDK_KEY_1’ undeclared (first use in this
function) main-window.c:2740: error: (Each undeclared identifier is
reported only once main-window.c:2740: error: for each function it
appears in.) make[3]: *** [main-window.o] Error 1
make[3]: Leaving directory `/opt/Balsa/zource/balsa-2.4.10/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/Balsa/zource/balsa-2.4.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/Balsa/zource/balsa-2.4.10'
make: *** [all] Error 2
-----------------------------------------------------------------------

It no longer compiles if I add the "--with-gnome=no" flag to configure
(same error messages as above).

Any other ideas?

GDK_KEY_1 is supposed to be defined in gdk/gdkkeysyms.h - I suppose your gdk header file does not contain this define, does it?

As a stop gap, you could try:
1. to replace GDK_KEY_1 with just 0x31 (hex) or 49 (decimal)
2. to remove/comment out/define out entire body of bw_mailbox_tab_n_cb() and check whether this gives you a working program.

Pawel


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