I found that this file (poll.h) belongs to the glibc-ebuild and the other ebuilds also fail because of files belonging to it (for example dirent.h when emerging cvs), I tried reemerging gcc and glibc but it changed nothing. My emerge info is the following:In file included from main.c:96:
/usr/include/sys/poll.h:30: error: syntax error before "int16_t"
/usr/include/sys/poll.h:36: error: syntax error before "events"
/usr/include/sys/poll.h:37: error: syntax error before "revents"
/usr/include/sys/poll.h:48: error: syntax error before "nfds_t"
I tried lowering or even removing the Cflags when emerging curl, cvs etc. but this didn't help either. Has anyone a hint what I could try?Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.6)
=================================================================
System uname: 2.6.6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -ffast-mat
h"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -ffast-m
ath"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/down ... oo-mirror/ http:
//ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmst
adt.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm avi berkdb crypt cups directfb encode esd foomaticdb gdbm
gif gpm gtk gtk2 imlib ipv6 java jpeg libg++ libwww mad mikmod mmx mmx2 motif mp
eg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt
quicktime readline sdl slang spell sse ssl svga tcltk tcpd truetype x86 xml2 xm
ms xv zlib"
BTW: I'm only using stable versions of all ebuilds (no ~x86)!
Edit: What I also think is strange: I cannot understand the errors because the file /usr/include/sys/poll.h for example nowhere has int16_t in it (line 30 is in fact "typedef unsigned long int nfds_t"...).
Please also note my other two threads (Apache and pureftpd) which also fail but because of another reason like it seems.
