The compilation error follows: nobo-activation-client.o make[3]: *** [bonobo-activation-get-language-list.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from ../bonobo-activation/bonobo-activation.h:32, from bonobo-activation-client.c:26: ../bonobo-activation/bonobo-activation-activate.h:31: error: parse error before"CORBA_Object" ../bonobo-activation/bonobo-activation-activate.h:31: error: parse error before'*' token ../bonobo-activation/bonobo-activation-activate.h:31: warning: data definition has no type or storage class ../bonobo-activation/bonobo-activation-activate.h:34: error: parse error before'*' token ../bonobo-activation/bonobo-activation-activate.h:36: error: parse error before"CORBA_Environment" ../bonobo-activation/bonobo-activation-activate.h:36: warning: data definition has no type or storage class ../bonobo-activation/bonobo-activation-activate.h:37: error: parse error before"bonobo_activation_activate" ../bonobo-activation/bonobo-activation-activate.h:39: error: parse error before"Bonobo_ActivationFlags" ../bonobo-activation/bonobo-activation-activate.h:41: warning: data definition has no type or storage class ../bonobo-activation/bonobo-activation-activate.h:42: error: parse error before"bonobo_activation_activate_from_id" ../bonobo-activation/bonobo-activation-activate.h:42: error: parse error before"aid" ../bonobo-activation/bonobo-activation-activate.h:45: warning: data definition has no type or storage class ../bonobo-activation/bonobo-activation-activate.h:51: error: parse error before"bonobo_activation_dynamic_add_path" ../bonobo-activation/bonobo-activation-activate.h:52: error: parse error before"CORBA_Environment" ../bonobo-activation/bonobo-activation-activate.h:52: warning: data definition has no type or storage class ../bonobo-activation/bonobo-activation-activate.h:55: error: parse error before"bonobo_activation_dynamic_remove_path" ../bonobo-activation/bonobo-activation-activate.h:56: error: parse error before"CORBA_Environment" ../bonobo-activation/bonobo-activation-activate.h:56: warning: data definition has no type or storage class ../bonobo-activation/bonobo-activation-activate.h:59: error: parse error before"val" ../bonobo-activation/bonobo-activation-activate.h:60: error: parse error before"bonobo_activation_get_test_components_enabled" ../bonobo-activation/bonobo-activation-activate.h:60: warning: data definition has no type or storage class In file included from ../bonobo-activation/bonobo-activation.h:33, from bonobo-activation-client.c:26: ../bonobo-activation/bonobo-activation-server-info.h:31: error: parse error before "G_BEGIN_DECLS" ../bonobo-activation/bonobo-activation-server-info.h:33: error: parse error before '*' token ../bonobo-activation/bonobo-activation-server-info.h:34: warning: data definition has no type or storage class ../bonobo-activation/bonobo-activation-server-info.h:35: error: parse error before '*' token ../bonobo-activation/bonobo-activation-server-info.h:38: error: parse error before '*' token ../bonobo-activation/bonobo-activation-server-info.h:40: error: parse error before '*' token ../bonobo-activation/bonobo-activation-server-info.h:42: error: parse error before '*' token ../bonobo-activation/bonobo-activation-server-info.h:44: error: parse error before '*' token ../bonobo-activation/bonobo-activation-server-info.h:46: error: parse error before '*' token ../bonobo-activation/bonobo-activation-server-info.h:46: error: parse error before '*' token ../bonobo-activation/bonobo-activation-server-info.h:46: warning: data definition has no type or storage class ../bonobo-activation/bonobo-activation-server-info.h:47: error: parse error before '*' token ../bonobo-activation/bonobo-activation-server-info.h:47: error: parse error before '*' token ../bonobo-activation/bonobo-activation-server-info.h:47: warning: data definition has no type or storage class In file included from /usr/include/glib-2.0/glib/gmacros.h:36, from /usr/lib/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:30, from /usr/include/glib-2.0/glib/galloca.h:30, from /usr/include/glib-2.0/glib.h:30, from /usr/include/orbit-2.0/orbit/util/orbit-util.h:4, from /usr/include/orbit-2.0/orbit/orbit-types.h:4, from /usr/include/orbit-2.0/orbit/orbit.h:13, from ../bonobo-activation/bonobo-activation-init.h:27, from ../bonobo-activation/bonobo-activation.h:34, from bonobo-activation-client.c:26: /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/include/stddef.h:151: error: syntax error before "typedef" In file included from ../bonobo-activation/bonobo-activation.h:35, from bonobo-activation-client.c:26: ../bonobo-activation/bonobo-activation-shlib.h:63: error: parse error before '*' token In file included from ../bonobo-activation/bonobo-activation.h:36, from bonobo-activation-client.c:26: ../bonobo-activation/bonobo-activation-register.h:33: error: parse error before"bonobo_activation_register_active_server" ../bonobo-activation/bonobo-activation-register.h:35: warning: data definition has no type or storage class ../bonobo-activation/bonobo-activation-register.h:37: error: parse error before"bonobo_activation_register_active_server_ext" ../bonobo-activation/bonobo-activation-register.h:40: error: parse error before"Bonobo_RegistrationFlags" ../bonobo-activation/bonobo-activation-register.h:42: warning: data definition has no type or storage class ../bonobo-activation/bonobo-activation-register.h:58: error: parse error before"bonobo_activation_active_server_register" ../bonobo-activation/bonobo-activation-register.h:59: warning: data definition has no type or storage class In file included from ../bonobo-activation/bonobo-activation.h:38, from bonobo-activation-client.c:26: ../bonobo-activation/bonobo-activation-async.h:46: error: parse error before "Bonobo_ActivationFlags" ../bonobo-activation/bonobo-activation-async.h:51: error: parse error before "aid" In file included from bonobo-activation-client.c:27: ../bonobo-activation/bonobo-activation-private.h:41: error: parse error before '*' token ../bonobo-activation/bonobo-activation-private.h:48: error: parse error before '*' token ../bonobo-activation/bonobo-activation-private.h:74: error: parse error before '*' token ../bonobo-activation/bonobo-activation-private.h:77: error: parse error before '*' token ../bonobo-activation/bonobo-activation-private.h:80: error: parse error before '*' token ../bonobo-activation/bonobo-activation-private.h:85: error: parse error before "bonobo_activation_client_get" ../bonobo-activation/bonobo-activation-private.h:85: warning: data definition has no type or storage class In file included from bonobo-activation-client.c:28: ../bonobo-activation/bonobo-activation-client.h:9: error: parse error before "context" bonobo-activation-client.c:62: error: parse error before "POA_Bonobo_ActivationClient" bonobo-activation-client.c:62: warning: no semicolon at end of struct or union bonobo-activation-client.c:63: warning: data definition has no type or storage class bonobo-activation-client.c:97: error: parse error before "impl_Bonobo_ActivationClient_epv" bonobo-activation-client.c:98: warning: initialization makes integer from pointer without a cast bonobo-activation-client.c:99: warning: excess elements in scalar initializer bonobo-activation-client.c:99: warning: (near initialization for `impl_Bonobo_ActivationClient_epv') bonobo-activation-client.c:101: warning: excess elements in scalar initializer bonobo-activation-client.c:101: warning: (near initialization for `impl_Bonobo_ActivationClient_epv') bonobo-activation-client.c:101: warning: data definition has no type or storageclass bonobo-activation-client.c:103: error: parse error before "impl_Bonobo_Unknown_epv" bonobo-activation-client.c:104: warning: initialization makes integer from pointer without a cast bonobo-activation-client.c:105: warning: excess elements in scalar initializer bonobo-activation-client.c:105: warning: (near initialization for `impl_Bonobo_Unknown_epv') bonobo-activation-client.c:106: warning: excess elements in scalar initializer bonobo-activation-client.c:106: warning: (near initialization for `impl_Bonobo_Unknown_epv') bonobo-activation-client.c:108: warning: excess elements in scalar initializer bonobo-activation-client.c:108: warning: (near initialization for `impl_Bonobo_Unknown_epv') bonobo-activation-client.c:108: warning: data definition has no type or storageclass bonobo-activation-client.c:110: error: parse error before "impl_Bonobo_ActivationClient_vepv" bonobo-activation-client.c:111: warning: initialization makes integer from pointer without a cast bonobo-activation-client.c:112: warning: excess elements in scalar initializer bonobo-activation-client.c:112: warning: (near initialization for `impl_Bonobo_ActivationClient_vepv') bonobo-activation-client.c:113: warning: excess elements in scalar initializer bonobo-activation-client.c:113: warning: (near initialization for `impl_Bonobo_ActivationClient_vepv') bonobo-activation-client.c:114: warning: data definition has no type or storageclass bonobo-activation-client.c: In function `bonobo_activation_corba_client_new': bonobo-activation-client.c:124: error: `newservant' undeclared (first use in this function) bonobo-activation-client.c:124: error: (Each undeclared identifier is reported only once bonobo-activation-client.c:124: error: for each function it appears in.) bonobo-activation-client.c:135: error: parse error before ')' token bonobo-activation-client.c: At top level: bonobo-activation-client.c:208: error: parse error before "context" bonobo-activation-client.c: In function `bonobo_activation_register_client': bonobo-activation-client.c:211: error: `Bonobo_StringList' undeclared (first use in this function) bonobo-activation-client.c:211: error: parse error before "client_env" bonobo-activation-client.c:213: error: `Bonobo_ObjectDirectory' undeclared (first use in this function) bonobo-activation-client.c:213: error: parse error before "od" bonobo-activation-client.c:218: error: `context' undeclared (first use in this function) bonobo-activation-client.c:218: error: `ev' undeclared (first use in this function) bonobo-activation-client.c:222: error: `od' undeclared (first use in this function) bonobo-activation-client.c:227: error: `client_env' undeclared (first use in this function) bonobo-activation-client.c: At top level: bonobo-activation-client.c:240: error: parse error before "bonobo_activation_client_get" bonobo-activation-client.c: In function `bonobo_activation_client_get': bonobo-activation-client.c:247: error: `Bonobo_ActivationContext' undeclared (first use in this function) bonobo-activation-client.c:248: error: parse error before "bonobo_activation_activation_context_get" bonobo-activation-client.c:253: warning: return makes integer from pointer without a cast make[3]: *** [bonobo-activation-client.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/libbonobo-2.6.2/work/libbonobo-2.6.2/bonobo-activation' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/libbonobo-2.6.2/work/libbonobo-2.6.2/bonobo-activation' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libbonobo-2.6.2/work/libbonobo-2.6.2' make: *** [all] Error 2 !!! ERROR: gnome-base/libbonobo-2.6.2 failed. !!! Function gnome2_src_compile, Line 38, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge a program that depends on libbonobo (in my case, grip) 2. Watch it crash and burn on libbonobo Actual Results: gcc crapped out Expected Results: Program should've compiled. oldos ~ # emerge info Portage 2.0.51_pre20 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.9-rc1-love1 i686 AMD Athlon(tm) XP 2500+) ================================================================= System uname: 2.6.9-rc1-love1 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -ftracer -march=athlon-xp -fomit-frame-pointer -mtune=athlon-xp" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -ftracer -march=athlon-xp -fomit-frame-pointer -mtune=athlon-xp" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/trunk /usr/local/portage/jays" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="3dnow S3TC X aim alsa apm avi cdr crypt cups divx4linux encode esd foomaticdb gdbm genpatches gif gimp gimpprint gpm gtk gtk+ gtk2 icq imlib java jikes jpeg libwww live mad mikmod mmx mng mozilla moznocompose moznomail mozsvg mpeg mpeg4 msn ncurses net nocd nptl nvidia offensive oggvorbis opengl pam pdflib perl png pthreads python qt quicktime readline sdl slang spell sse ssl svg svga tcpd truetype usb x86 xine xml xml2 xmms xrandr xv xvid yahoo zlib"
* gnome-base/libbonobo Latest version available: 2.6.2 Latest version installed: 2.6.2 libbonobo has compiled in past and just in case remerged now and it still does closing as "works for me" adding my emerge info for your convenience Portage 2.0.51_pre20 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.1, glibc-2.3.4.20040619-r1, 2.6.9-rc1 i686 AMD Athlon(tm) XP 3200+) ================================================================= System uname: 2.6.9-rc1 i686 AMD Athlon(tm) XP 3200+ Gentoo Base System version 1.5.3 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.7-r4 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache cvs sandbox sfperms" GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ http://gentoo.ccccom.com http://gentoo.osuosl.org/ http://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="cvs://morfic@cvs.gentoo.org:/var/cvsroot" USE="3dnow X aalib alsa apm arts avi berkdb bonobo cdr crypt cups devfs devfs26 dga directfb divx4linux dv dvd dvdr encode escreen esd etwin fbcon fbdev ffmpeg foomaticdb freetype gdbm ggi gif gnome gphoto2 gpm gtk gtk2 gtkhtml ieee1394 imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg mpeg4 mplayer mysql nas ncurses nls nptl oggvorbis opengl pam pdflib perl png python qt quicktime radeon readline sdl silverxp slang spell sqlite sse ssl svga tcltk tcpd tiff truetype unicode x86 xine xinerama xml xml2 xmms xv xvid zlib"
I'm fairly certain this was caused by a problem I had with a cascading profile (separate bug open). It compiled no hitches once I changed to standard gcc34-x86-2004.2 profile.
if you look at my emerge info, you will notice i am using a cascaded profile
Check to see if you have indent installed. I saw similar errors and noticed it was trying to use indent. After I emerged indent, libbonobo compiled just fine.