[oe-issues] [Bug 2038] New: gtk-webcore (osb-nrcore_0.5.0.bb) doesn't compile against gtk+2.6.10
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Fri Mar 23 23:38:41 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=2038
Summary: gtk-webcore (osb-nrcore_0.5.0.bb) doesn't compile
against gtk+2.6.10
Product: Openembedded
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Distributions
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: manuel.teira at telefonica.net
QAContact: tinderbox-oe at gmx.net
The error seems produced by _GtkCList struct in gtkclist.h header, included
from gtk.h. This struct is using the deprecated glib type GMemChunk. The error
arises as osb-nrcore is using the define G_DISABLE_DEPRECATED.
It seems that newer versions of _GtkCList are not using GMemChunk types,
replacing it with gpointer unused values, to keep binary compatibility, I
suppose.
As a workaround I've erased the G_DISABLE_DEPRECATED define in configure.in.
I don't know if this is the best solution.
Error was:
In file included from
/home/mteira/oeroot/build/tmp/staging/arm-linux/include/gtk-2.0/gtk/gtk.h:60,
from KWQComboBox.cpp:38:
/home/mteira/oeroot/build/tmp/staging/arm-linux/include/gtk-2.0/gtk/gtkclist.h:155:
warning: ISO C++ forbids declaration of `GMemChunk' with no type
/home/mteira/oeroot/build/tmp/staging/arm-linux/include/gtk-2.0/gtk/gtkclist.h:155:
error: expected `;' before '*' token
/home/mteira/oeroot/build/tmp/staging/arm-linux/include/gtk-2.0/gtk/gtkclist.h:156:
warning: ISO C++ forbids declaration of `GMemChunk' with no type
/home/mteira/oeroot/build/tmp/staging/arm-linux/include/gtk-2.0/gtk/gtkclist.h:156:
error: expected `;' before '*' token
make[3]: *** [KWQComboBox.lo] Error 1
make[3]: se sale del directorio
`/home/mteira/oeroot/build/tmp/work/armv5te-linux/osb-nrcore-0.5.0+cvs20050430-r1/NRCore/kwiq'
make[2]: *** [all] Error 2
make[2]: se sale del directorio
`/home/mteira/oeroot/build/tmp/work/armv5te-linux/osb-nrcore-0.5.0+cvs20050430-r1/NRCore/kwiq'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio
`/home/mteira/oeroot/build/tmp/work/armv5te-linux/osb-nrcore-0.5.0+cvs20050430-r1/NRCore'
make: *** [all] Error 2
FATAL: oe_runmake failed
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Openembedded-issues
mailing list