Compiling Gnucash 2.2.0 on Solaris 10 x86 using GCC - error

Derek Atkins warlord at MIT.EDU
Thu Jul 26 00:59:28 EDT 2007


Quoting Alan Pae <alanpae at ilkda.com>:

> In file included from dialog-query-list.c:36:
> gnc-query-list.h:45: error: syntax error before "GtkCList"
> gnc-query-list.h:45: warning: no semicolon at end of struct or union
> gnc-query-list.h:71: error: syntax error before '}' token
> gnc-query-list.h:75: error: syntax error before "GtkCListClass"
> gnc-query-list.h:75: warning: no semicolon at end of struct or union
> gnc-query-list.h:79: error: syntax error before '}' token
> make[5]: *** [dialog-query-list.lo] Error 1
>
>
> gnc-query-list.h
[snip]
>   GtkCList clist;

This is line 45...

[snip]
>
> I'll assume that its the:
>
> extern "C" {
>
> or does the close come later on?

The close comes later on.

What version of gtk2 do you have?
What configure arguments did you give?

This error implies that it can't find "GtkCList".  This is a deprecated
object but should still be available.

> thanks,
> alan

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list