error compiling pango



hi all,

i do  ./configure --build=arm-linux --host=i686-linux --prefix=/root/usr/cpusr/moz/ for pango-1.22.0 and the library compiles without error but when i try make i get the following errors

/bin/sh ../libtool --tag=CC   --mode=compile arm-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/root/usr/cpusr/moz/etc\" -DLIBDIR=\"/root/usr/cpusr/moz/lib\" -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -pthread -I/root/usr/cpusr/moz/include/glib-2.0 -I/root/usr/cpusr/moz/lib/glib-2.0/include     -I/root/usr/cpusr/moz//include/freetype2 -I/root/usr/cpusr/moz//include   -I/root/usr/cpusr/moz//include       -g -O2 -Wall -MT fonts.lo -MD -MP -MF .deps/fonts.Tpo -c -o fonts.lo fonts.c
 arm-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/root/usr/cpusr/moz/etc\" -DLIBDIR=\"/root/usr/cpusr/moz/lib\" -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -pthread -I/root/usr/cpusr/moz/include/glib-2.0 -I/root/usr/cpusr/moz/lib/glib-2.0/include -I/root/usr/cpusr/moz//include/freetype2 -I/root/usr/cpusr/moz//include -I/root/usr/cpusr/moz//include -g -O2 -Wall -MT fonts.lo -MD -MP -MF .deps/fonts.Tpo -c fonts.c  -fPIC -DPIC -o .libs/fonts.o
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: macro names must be identifiers
../pango/pango-enum-types.h:14:9: macro names must be identifiers
../pango/pango-enum-types.h:17:9: macro names must be identifiers
../pango/pango-enum-types.h:19:9: macro names must be identifiers
../pango/pango-enum-types.h:22:9: macro names must be identifiers
../pango/pango-enum-types.h:25:9: macro names must be identifiers
../pango/pango-enum-types.h:27:9: macro names must be identifiers
../pango/pango-enum-types.h:29:9: macro names must be identifiers
../pango/pango-enum-types.h:31:9: macro names must be identifiers
../pango/pango-enum-types.h:33:9: macro names must be identifiers
../pango/pango-enum-types.h:36:9: macro names must be identifiers
../pango/pango-enum-types.h:38:9: macro names must be identifiers
../pango/pango-enum-types.h:41:9: macro names must be identifiers
../pango/pango-enum-types.h:43:9: macro names must be identifiers
../pango/pango-enum-types.h:45:9: macro names must be identifiers
../pango/pango-enum-types.h:48:9: macro names must be identifiers
../pango/pango-enum-types.h:51:9: macro names must be identifiers
../pango/pango-enum-types.h:54:9: macro names must be identifiers
make[4]: *** [fonts.lo] Error 1
make[4]: Leaving directory `/root/Desktop/pango-1.22.0/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/Desktop/pango-1.22.0/pango'
make[2]: *** [all] Error 2


i noticed that the  pango/pango-enum-types.h is not updated properly
ie the file contains
 /* Generated data (by glib-mkenums) */

#ifndef __PANGO_ENUM_TYPES_H__
#define __PANGO_ENUM_TYPES_H__

#include <glib-object.h>

G_BEGIN_DECLS
/* enumerations from "pango-attributes.h" */
GType pango_attr_type_get_type (void);
#define @ENUMPREFIX _TYPE_ATTR_TYPE (pango_attr_type_get_type())
GType pango_underline_get_type (void);
#define @ENUMPREFIX _TYPE_UNDERLINE (pango_underline_get_type())
/* enumerations from "pango-bidi-type.h" */
GType pango_bidi_type_get_type (void);
#define @ENUMPREFIX _TYPE_BIDI_TYPE (pango_bidi_type_get_type())
GType pango_direction_get_type (void);
#define @ENUMPREFIX _TYPE_DIRECTION (pango_direction_get_type())
/* enumerations from "pango-coverage.h" */
GType pango_coverage_level_get_type (void);
#define @ENUMPREFIX _TYPE_COVERAGE_LEVEL (pango_coverage_level_get_type())
/* enumerations from "pango-font.h" */
GType pango_style_get_type (void);
#define @ENUMPREFIX _TYPE_STYLE (pango_style_get_type())
GType pango_variant_get_type (void);
#define @ENUMPREFIX _TYPE_VARIANT (pango_variant_get_type())
GType pango_weight_get_type (void);
#define @ENUMPREFIX _TYPE_WEIGHT (pango_weight_get_type())


i have all the required libraries installed in my prefix path including glib-2.17.3
could someone help me with this problem


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