In file included from awk.h:85, from bultin.c:27: ./xml_puller.h:30:19: iconv.h: No such file or directory In file included from awk.h:85, from builtin.c:27: ./xml_puller.h:127: error: syntax error before "iconv_t" ./xml_puller.h:127: warning: no semicolon at end of struct or union ./xml_puller.h:139: error: syntax error before '}' token In file included from awk.h:85, from array.c:43: ./xml_puller.h:30:19: iconv.h: No such file or directory In file included from awk.h:85, from array.c:43: ./xml_puller.h:127: error: syntax error before "iconv_t" ./xml_puller.h:127: warning: no semicolon at end of struct or union ./xml_puller.h:139: error: syntax error before '}' token In file included from builtin.h:27: awk.h:1107: error: 'error' redeclared as a different kind of symbol ./xml_puller.h:138: error: previous declaration of error was here In file included from array.h:43: awk.h:1107: error: 'error' redeclared as a different kind of symbol ./xml_puller.h:138: error: previous declaration of error was here emerge --info Portage 2.0.54 (uclibc/ppc/hardened, gcc3.4.5, uclibc-0.9.28-r0, 2.6.14-hardened-r5 ppc) ================================================================ System uname: 2.6.14-hardened-r5 ppc 7400, altivec supported Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CBUILD="powerpc-pc-linux-uclibc" CFLAGS="-mtune=powerpc -O2 -pipe -fomit-frame-pointer -fforce-addr -fprefetch-loop-arrays -ffast-math" CHOST="powerpc-pc-linux-uclibc" CONFIG_PROTECT="" CONFIG_PROTECT_MASK="" CXXFLAGS="-mtune=powerpc -O2 -pipe -fomit-frame-pointer -fforce-addr -fprefetch-loop-arrays -ffast-math -fvisibilit-inlines-hidden" DISTDIR="/usr/portage/distdir" FEATURES="autoconfig buildpkg distlocks nodoc noinfo noman sandbox sfperms strict suidctl userpriv usersandbox" MAKEOPTS="-j3" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" USE="-* berkdb crypt hardened mmx ncurses pam perl pic python readline ssl tcpd xml"
so disable xml USE flag for gawk