USE="server" emerge vnc ### -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((8) * 100000) + ((1) * 1000) + 0)" -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -mmmx -Winline --param inline-unit-growth=10000 --param large-function-growth=10000 -DUSE_GCC34_MMX fbmmx.c fbmmx.c:37: warning: specifying vector types with __attribute__ ((mode)) is deprecated fbmmx.c:37: warning: use __attribute__ ((vector_size)) instead fbmmx.c:38: warning: specifying vector types with __attribute__ ((mode)) is deprecated fbmmx.c:38: warning: use __attribute__ ((vector_size)) instead fbmmx.c:39: warning: specifying vector types with __attribute__ ((mode)) is deprecated fbmmx.c:39: warning: use __attribute__ ((vector_size)) instead fbmmx.c:41: warning: ISO C90 does not support 'long long' fbmmx.c:73: warning: ISO C90 forbids specifying subobject to initialize fbmmx.c:73:20: warning: use of C99 long long integer constant fbmmx.c:74: warning: ISO C90 forbids specifying subobject to initialize fbmmx.c:74:21: warning: use of C99 long long integer constant fbmmx.c:75: warning: ISO C90 forbids specifying subobject to initialize fbmmx.c:75:21: warning: use of C99 long long integer constant fbmmx.c:76: warning: ISO C90 forbids specifying subobject to initialize fbmmx.c:76:22: warning: use of C99 long long integer constant fbmmx.c:77: warning: ISO C90 forbids specifying subobject to initialize fbmmx.c:77:20: warning: use of C99 long long integer constant fbmmx.c:78: warning: ISO C90 forbids specifying subobject to initialize fbmmx.c:78:20: warning: use of C99 long long integer constant fbmmx.c:79: warning: ISO C90 forbids specifying subobject to initialize fbmmx.c:79:20: warning: use of C99 long long integer constant fbmmx.c:80: warning: ISO C90 forbids specifying subobject to initialize fbmmx.c:80:21: warning: use of C99 long long integer constant fbmmx.c:81: warning: ISO C90 forbids specifying subobject to initialize fbmmx.c:81:21: warning: use of C99 long long integer constant fbmmx.c:82: warning: ISO C90 forbids specifying subobject to initialize fbmmx.c:82:21: warning: use of C99 long long integer constant fbmmx.c:83: warning: ISO C90 forbids specifying subobject to initialize fbmmx.c:83:21: warning: use of C99 long long integer constant fbmmx.c:84: warning: ISO C90 forbids specifying subobject to initialize fbmmx.c:84:25: warning: use of C99 long long integer constant fbmmx.c:85: warning: ISO C90 forbids specifying subobject to initialize fbmmx.c:85:34: warning: use of C99 long long integer constant fbmmx.c:86: warning: ISO C90 forbids specifying subobject to initialize fbmmx.c:86:30: warning: use of C99 long long integer constant fbmmx.c:87: warning: ISO C90 forbids specifying subobject to initialize fbmmx.c:87:30: warning: use of C99 long long integer constant fbmmx.c:88: warning: ISO C90 forbids specifying subobject to initialize fbmmx.c:88:30: warning: use of C99 long long integer constant fbmmx.c: In function 'negate': fbmmx.c:107: error: incompatible type for argument 1 of '__builtin_ia32_pxor' fbmmx.c:107: error: incompatible type for argument 2 of '__builtin_ia32_pxor' fbmmx.c: In function 'expand_alpha': fbmmx.c:166: error: incompatible type for argument 1 of '__builtin_ia32_por' fbmmx.c:166: error: incompatible type for argument 2 of '__builtin_ia32_por' fbmmx.c:166: error: incompatible types in assignment fbmmx.c:168: error: incompatible type for argument 1 of '__builtin_ia32_por' fbmmx.c:168: error: incompatible type for argument 2 of '__builtin_ia32_por' fbmmx.c:168: error: incompatible types in assignment fbmmx.c: In function 'expand_alpha_rev': fbmmx.c:181: error: incompatible type for argument 1 of '__builtin_ia32_por' fbmmx.c:181: error: incompatible type for argument 2 of '__builtin_ia32_por' fbmmx.c:181: error: incompatible types in assignment fbmmx.c:183: error: incompatible type for argument 1 of '__builtin_ia32_por' fbmmx.c:183: error: incompatible type for argument 2 of '__builtin_ia32_por' fbmmx.c:183: error: incompatible types in assignment fbmmx.c: In function 'invert_colors': fbmmx.c:195: error: incompatible type for argument 1 of '__builtin_ia32_pand' fbmmx.c:195: error: incompatible type for argument 2 of '__builtin_ia32_pand' fbmmx.c:195: error: incompatible types in assignment fbmmx.c:196: error: incompatible type for argument 1 of '__builtin_ia32_pand' fbmmx.c:196: error: incompatible type for argument 2 of '__builtin_ia32_pand' fbmmx.c:196: error: incompatible types in assignment fbmmx.c:197: error: incompatible type for argument 1 of '__builtin_ia32_pand' fbmmx.c:197: error: incompatible type for argument 2 of '__builtin_ia32_pand' fbmmx.c:197: error: incompatible types in assignment fbmmx.c:202: error: incompatible type for argument 1 of '__builtin_ia32_por' fbmmx.c:202: error: incompatible type for argument 2 of '__builtin_ia32_por' fbmmx.c:202: error: incompatible types in assignment fbmmx.c:203: error: incompatible type for argument 1 of '__builtin_ia32_por' fbmmx.c:203: error: incompatible type for argument 2 of '__builtin_ia32_por' fbmmx.c:203: error: incompatible types in assignment fbmmx.c: In function 'over_rev_non_pre': fbmmx.c:237: error: incompatible type for argument 1 of '__builtin_ia32_por' fbmmx.c:237: error: incompatible type for argument 2 of '__builtin_ia32_por' fbmmx.c: In function 'expand565': fbmmx.c:300: warning: ISO C90 forbids mixed declarations and code fbmmx.c:303: error: incompatible type for argument 1 of '__builtin_ia32_por' fbmmx.c:303: error: incompatible type for argument 2 of '__builtin_ia32_por' fbmmx.c:303: error: incompatible types in assignment fbmmx.c:304: error: incompatible type for argument 1 of '__builtin_ia32_por' fbmmx.c:304: error: incompatible type for argument 2 of '__builtin_ia32_por' fbmmx.c:304: error: incompatible types in assignment fbmmx.c:305: error: incompatible type for argument 1 of '__builtin_ia32_pand' fbmmx.c:305: error: incompatible type for argument 2 of '__builtin_ia32_pand' fbmmx.c:305: error: incompatible types in assignment fbmmx.c: In function 'pack565': fbmmx.c:327: error: incompatible type for argument 1 of '__builtin_ia32_pand' fbmmx.c:327: error: incompatible type for argument 2 of '__builtin_ia32_pand' fbmmx.c:327: error: incompatible types in assignment fbmmx.c:328: error: incompatible type for argument 1 of '__builtin_ia32_pand' fbmmx.c:328: error: incompatible type for argument 2 of '__builtin_ia32_pand' fbmmx.c:328: error: incompatible types in assignment fbmmx.c:329: error: incompatible type for argument 1 of '__builtin_ia32_pand' fbmmx.c:329: error: incompatible type for argument 2 of '__builtin_ia32_pand' fbmmx.c:329: error: incompatible types in assignment fbmmx.c:336: error: incompatible type for argument 1 of '__builtin_ia32_pand' fbmmx.c:336: error: incompatible type for argument 2 of '__builtin_ia32_pand' fbmmx.c:336: error: incompatible types in assignment fbmmx.c:338: error: incompatible type for argument 1 of '__builtin_ia32_pand' fbmmx.c:338: error: incompatible type for argument 2 of '__builtin_ia32_pand' fbmmx.c:338: error: incompatible types in assignment fbmmx.c:340: error: incompatible type for argument 1 of '__builtin_ia32_pand' fbmmx.c:340: error: incompatible type for argument 2 of '__builtin_ia32_pand' fbmmx.c:340: error: incompatible types in assignment fbmmx.c:342: error: incompatible type for argument 1 of '__builtin_ia32_pand' fbmmx.c:342: error: incompatible type for argument 2 of '__builtin_ia32_pand' fbmmx.c:342: error: incompatible types in assignment fbmmx.c:344: error: incompatible type for argument 1 of '__builtin_ia32_por' fbmmx.c:344: error: incompatible type for argument 2 of '__builtin_ia32_por' fbmmx.c:344: error: incompatible types in assignment fbmmx.c:345: error: incompatible type for argument 1 of '__builtin_ia32_por' fbmmx.c:345: error: incompatible type for argument 2 of '__builtin_ia32_por' fbmmx.c:345: error: incompatible types in assignment fbmmx.c:347: error: incompatible type for argument 1 of '__builtin_ia32_por' fbmmx.c:347: error: incompatible type for argument 2 of '__builtin_ia32_por' fbmmx.c: In function 'fbCompositeSolidMask_nx8x8888mmx': fbmmx.c:652: warning: ISO C90 does not support 'long long' fbmmx.c:695: warning: ISO C90 does not support 'long long' fbmmx.c: In function 'fbCompositeSolidMask_nx8x0565mmx': fbmmx.c:758: warning: ISO C90 does not support 'long long' fbmmx.c:818: warning: ISO C90 does not support 'long long' make[5]: *** [fbmmx.o] Error 1 make[5]: Leaving directory `/var/tmp/portage/vnc-4.0-r1/work/vnc-4.0-unixsrc/xc/programs/Xserver/fb' make[4]: *** [fb] Error 2 make[4]: Leaving directory `/var/tmp/portage/vnc-4.0-r1/work/vnc-4.0-unixsrc/xc/programs/Xserver' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/vnc-4.0-r1/work/vnc-4.0-unixsrc/xc/programs' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/vnc-4.0-r1/work/vnc-4.0-unixsrc/xc'make[1]: *** [World] Error 2 make[1]: Leaving directory `/var/tmp/portage/vnc-4.0-r1/work/vnc-4.0-unixsrc/xc'make: *** [World] Error 2 !!! ERROR: net-misc/vnc-4.0-r1 failed. Call stack: ebuild.sh, line 1527: Called dyn_compile ebuild.sh, line 931: Called src_compile vnc-4.0-r1.ebuild, line 88: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info Portage 2.1_rc1 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r3, 2.6.16-gentoo-r7 i686) ================================================================= System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.12.0_pre19 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18 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-r2 sys-devel/binutils: 2.16.1, 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/modules.autoload.d /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CTARGET="i686-pc-linux-gnu" CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden -fprefetch-loop-arrays " DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.gentoo.gr.jp ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://mirror.pacific.net.au/linux/Gentoo" LINGUAS="zh_CN" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="/etc/portage/rsync_excludes" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-de /usr/local/xgl-coffee /usr/local/xgl-testing" SYNC="rsync://mirror.gentoo.gr.jp/gentoo-portage/" USE="x86 X alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts cairo cli crypt cups doc dri eds emboss encode esd foomaticdb fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_zh_CN userland_GNU video_cards_nv video_cards_nvidia video_cards_fbdev video_cards_vesa" Unset: ASFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
Please test version 4.1.2 and report back here, this might be a problem with GCC 4.1...maybe we can help you by stabilizing the testing version of vnc
4.1.2 works fine