For details about how to compile gtk source code package-Linux general technology-Linux technology and application, see the following. Recently, some problems have occurred in compiling gtk +-2.14.3. My various dependent libraries have been installed and. /configure does not report an error. The error such as GDK_TYPE_COLORSPACE undeclared occurs during make. It is confused, and google has searched for N times and cannot find the answer,
In file included from gdk-pixbuf.h: 41,
From gdk-pixbuf.c: 31:
../Gdk-pixbuf/gdk-pixbuf-enum-types.h: 17: 9: error: macro names must be identifiers
../Gdk-pixbuf/gdk-pixbuf-enum-types.h: 19: 9: error: macro names must be identifiers
../Gdk-pixbuf/gdk-pixbuf-enum-types.h: 21: 9: error: macro names must be identifiers
../Gdk-pixbuf/gdk-pixbuf-enum-types.h: 25: 9: error: macro names must be identifiers
../Gdk-pixbuf/gdk-pixbuf-enum-types.h: 27: 9: error: macro names must be identifiers
Gdk-pixbuf.c: In function 'gdk _ pixbuf_class_init ':
Gdk-pixbuf.c: 101: error: 'gdk _ TYPE_COLORSPACE 'undeclared (first use in this function)
Gdk-pixbuf.c: 101: error: (Each undeclared identifier is reported only once
Gdk-pixbuf.c: 101: error: for each function it appears in .)
Make [4]: *** [gdk-pixbuf.lo] Error 1
Make [4]: Leaving directory '/usr/gtk +-2.14.3/gdk-pixbuf'
Make [3]: *** [all-recursive] Error 1
Make [3]: Leaving directory '/usr/gtk +-2.14.3/gdk-pixbuf'
Make [2]: *** [all] Error 2
Make [2]: Leaving directory '/usr/gtk +-2.14.3/gdk-pixbuf'
Make [1]: *** [all-recursive] Error 1
Make [1]: Leaving directory '/usr/gtk +-2.14.3'
Make: *** [all] Error 2
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service