Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45231 - Pango-1.4.0 doesn't compile (undeclared identifier)
Summary: Pango-1.4.0 doesn't compile (undeclared identifier)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-20 13:39 UTC by Quequero
Modified: 2004-08-19 06:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Quequero 2004-03-20 13:39:59 UTC
Hello all,
pango-1.4.0 doesn't compile (I thought it was a freetype problem, so I've emerged pango with freetype-2.1.5 and 2.1.7, the errors are the same):

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.4.0\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include -I.. -march=pentium4 -mcpu=pentium4 -msse2 -mmmx -O3 -pipe -fforce-addr -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -Wall -MT pangoft2.lo -MD -MP -MF .deps/pangoft2.Tpo -c pangoft2.c  -fPIC -DPIC -o .libs/pangoft2.o
pangoft2.c: In function `pango_ft2_font_get_face':
pangoft2.c:205: error: `FC_HINT_STYLE' undeclared (first use in this function)
pangoft2.c:205: error: (Each undeclared identifier is reported only once
pangoft2.c:205: error: for each function it appears in.)
pangoft2.c:206: error: `FC_HINT_FULL' undeclared (first use in this function)
pangoft2.c:208: error: `FC_HINT_NONE' undeclared (first use in this function)
pangoft2.c:212: error: `FC_HINT_SLIGHT' undeclared (first use in this function)
pangoft2.c:213: error: `FC_HINT_MEDIUM' undeclared (first use in this function)
make[4]: *** [pangoft2.lo] Error 1
make[4]: *** Waiting for unfinished jobs...

compiled using the last-hope cflags: -O2 -pipe
:))

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4)
=================================================================
System uname: 2.6.4 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache fixpackages sandbox userpriv usersandbox"

:))
Que
Comment 1 foser (RETIRED) gentoo-dev 2004-03-21 06:30:01 UTC
you have a stray freetype.h or fontconfig.h somewhere. Locate them. There's a dozen older bugs like this, find those for exact explanations.
Comment 2 Quequero 2004-03-21 07:07:04 UTC
Ops, it was either freetype.h and fontconfig.h, thanx a lot!!!

Que
Comment 3 Marko Dimiskovski 2004-08-19 06:33:37 UTC
I have this same error for pango 1.4.1  what do you mean by "stray freetype.h or fontconfig.h somewhere" i located them and there are more than one freetype.h.  i have been having a lot of trouble with the pango 1.4.1 i hope this can fix it! thanks!