if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../server/libvncserver -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -Wall -Wmissing-prototypes -DVINO_LOCALEDIR=\""/usr/share/locale"\" -DVINO_ICONDIR=\""/usr/share/pixmaps\"" -DVINO_CLIENTDIR=\""/usr/share/vino"\" -DVINO_GLADEDIR=\""/usr/share/vino"\" -O2 -pipe -MT vino-marshal.o -MD -MP -MF ".deps/vino-marshal.Tpo" -c -o vino-marshal.o vino-marshal.c; \ then mv -f ".deps/vino-marshal.Tpo" ".deps/vino-marshal.Po"; else rm -f ".deps/vino-marshal.Tpo"; exit 1; fi vino-input.c: In function 'copy_cb': vino-input.c:1127: error: 'cb_str' undeclared (first use in this function) vino-input.c:1127: error: (Each undeclared identifier is reported only once vino-input.c:1127: error: for each function it appears in.) vino-input.c: In function 'vino_input_handle_clipboard_event': vino-input.c:1148: error: 'cb_str' undeclared (first use in this function) if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../server/libvncserver -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -Wall -Wmissing-prototypes -DVINO_LOCALEDIR=\""/usr/share/locale"\" -DVINO_ICONDIR=\""/usr/share/pixmaps\"" -DVINO_CLIENTDIR=\""/usr/share/vino"\" -DVINO_GLADEDIR=\""/usr/share/vino"\" -O2 -pipe -MT vino-mdns.o -MD -MP -MF ".deps/vino-mdns.Tpo" -c -o vino-mdns.o vino-mdns.c; \ then mv -f ".deps/vino-mdns.Tpo" ".deps/vino-mdns.Po"; else rm -f ".deps/vino-mdns.Tpo"; exit 1; fi make[4]: *** [vino-input.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/net-misc/vino-2.22.2/work/vino-2.22.2/server' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-misc/vino-2.22.2/work/vino-2.22.2/server' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-misc/vino-2.22.2/work/vino-2.22.2/server' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-misc/vino-2.22.2/work/vino-2.22.2' make: *** [all] Error 2 * * ERROR: net-misc/vino-2.22.2 failed. Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-hardened-r4 x86_64) ================================================================= System uname: 2.6.25-hardened-r4 x86_64 Intel(R) Xeon(R) CPU E5420 @ 2.50GHz Timestamp of tree: Fri, 03 Oct 2008 15:15:02 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.5.2-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.sunet.se/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl nptlonly objc openmp pampcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
erm, 'cb_str' is a static variable, how come you have this error ???
could you try with another gcc or with -j1 ?