**** description **** The sys-apps/suspend2-userui-0.6.4[-r1] package fails to compile with the following error: i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -c -o userui_core.o userui_core.c In file included from userui_core.c:35: userui.h:128: error: expected declaration specifiers or '...' before 'xgetpid' **** emerge --info output **** Portage 2.1.2_rc4-r3 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r2 i686) ================================================================= System uname: 2.6.19-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.12.8 Last Sync: Sun, 31 Dec 2006 14:30:01 +0000 dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe " CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=pentium4 -O3 -pipe " DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" 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/portage/local/layman/gentopia" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 a52 aac acpi aim alsa arts asf avi berkdb bitmap-fonts bittorrent bluetooth browserplugin bzip2 cairo cdb cdparanoia cdr cli cpudetection cracklib crypt cups curl dbus dga divx4linux dlloader dnd doc dri dv dvb dvd dvdr dvdread eds emboss encode esd ethereal examples exif fam fbsplash ffmpeg firefox flac fortran ftp gcj gd gdbm gif gimp gnome gphoto2 gpm gstreamer gtk hal iconv ieee1394 imagemagick imap ipv6 isdnlog jabber java javascript jpeg kde kqemu ldap libg++ libwww mad matrox mikmod mime mjpeg mmap mmx mng mozilla mp3 mpeg mplayer msn ncurses nls nptl nptlonly nsplugin ofx ogg opengl oss pam pcmcia pcre pda pdf pdflib perl png posix ppds pppd python qt qt3 qt4 quicktime readline real reflection ruby samba scanner sdl session sharedmem smp snmp sockets spell spl sse sse2 ssl svg tcltk tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd visualization vorbis win32codecs wmf x86 xcomposite xine xml xml2 xorg xpm xv xvmc yahoo zlib zvbi" 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="radeon vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 105539 [details, diff] Fix compile problems This patch corrects the compile problem on my machine, I found it here: * http://lists.suspend2.net/lurker/message/20061006.062612.e8a6f4d1.en.html
Fixed thanks!
*** Bug 160749 has been marked as a duplicate of this bug. ***
*** Bug 161061 has been marked as a duplicate of this bug. ***