error: macro names must be identifiers



http://www.linuxquestions.org/questions/linux-software-2/pango-1.21.6-compile-has-me-stumped.-670857/

I'm trying very hard to get pango to compile, but it just doesn't want to. I've posted the details to linuxquestions.org, but nobody seems to have any answer there, so I thought I would try the mailing list.

During my travels, I've come up with the following:

export PKG_CONFIG_PATH=/programs/libXft-2.1.13/lib/pkgconfig:/programs/fontconfig-2.6.0/lib/pkgconfig:/programs/freetype-2.3.7/lib/pkgconfig:/programs/glib-2.18.1/lib/pkgconfig:/programs/pixman-0.12.0/lib/pkgconfig:/programs/cairo-1.6.4/lib/pkgconfig:$PKG_CONFIG_PATH

As you can see, I'm installing the software to the /programs directory and I have completed several (all, I hope) of pango's dependencies.




In file included from ../pango/pango.h:31,
                 from pango-impl-utils.h:27,
                 from fonts.c:30:
../pango/pango-enum-types.h:12:9: error: macro names must be identifiers
.../pango/pango-enum-types.h:14:9: error: macro names must be identifiers
.../pango/pango-enum-types.h:17:9: error: macro names must be identifiers
../pango/pango-enum-types.h:19:9: error: macro names must be identifiers
../pango/pango-enum-types.h:22:9: error: macro names must be identifiers
../pango/pango-enum-types.h:25:9: error: macro names must be identifiers
../pango/pango-enum-types.h:27:9: error: macro names must be identifiers
../pango/pango-enum-types.h:29:9: error: macro names must be identifiers
../pango/pango-enum-types.h:31:9: error: macro names must be identifiers
../pango/pango-enum-types.h:33:9: error: macro names must be identifiers
../pango/pango-enum-types.h:36:9: error: macro names must be identifiers
../pango/pango-enum-types.h:38:9: error: macro names must be identifiers
../pango/pango-enum-types.h:41:9: error: macro names must be identifiers
../pango/pango-enum-types.h:43:9: error: macro names must be identifiers
../pango/pango-enum-types.h:45:9: error: macro names must be identifiers
../pango/pango-enum-types.h:48:9: error: macro names must be identifiers
../pango/pango-enum-types.h:51:9: error: macro names must be identifiers
../pango/pango-enum-types.h:54:9: error: macro names must be identifiers
fonts.c: In function ʽfind_field_anyʼ:
fonts.c:952: warning: dereferencing type-punned pointer will break strict-aliasing rules
fonts.c:953: warning: dereferencing type-punned pointer will break strict-aliasing rules
fonts.c:954: warning: dereferencing type-punned pointer will break strict-aliasing rules
fonts.c:955: warning: dereferencing type-punned pointer will break strict-aliasing rules
fonts.c:956: warning: dereferencing type-punned pointer will break strict-aliasing rules
fonts.c: In function ʽpango_font_metrics_refʼ:
fonts.c:1492: warning: pointer targets in passing argument 1 of ʽg_atomic_int_addʼ differ in signedness
fonts.c: In function ʽpango_font_metrics_unrefʼ:
fonts.c:1513: warning: pointer targets in passing argument 1 of ʽg_atomic_int_exchange_and_addʼ differ in signedness
make[4]: *** [fonts.lo] Error 1
make[4]: Leaving directory `/home/user/programs/pango-1.21.6/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/user/programs/pango-1.21.6/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/user/programs/pango-1.21.6/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/programs/pango-1.21.6'
make: *** [all] Error 2




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