Calculating dependencies ... done! >>> Emerging (1 of 2) x11-apps/sessreg-1.0.0 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking sessreg-1.0.0.tar.bz2 ;-) >>> Unpacking source... >>> Unpacking sessreg-1.0.0.tar.bz2 to /var/tmp/portage/sessreg-1.0.0/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sessreg-1.0.0/work/sessreg-1.0.0 ... * econf: updating sessreg-1.0.0/config.guess with /usr/share/gnuconfig/config.guess * econf: updating sessreg-1.0.0/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i386-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share --build=i386-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for i386-pc-linux-gnu-gcc... i386-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i386-pc-linux-gnu-gcc accepts -g... yes checking for i386-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i386-pc-linux-gnu-gcc... gcc3 checking for a BSD-compatible install... /bin/install -c checking how to run the C preprocessor... i386-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking lastlog.h usability... yes checking lastlog.h presence... yes checking for lastlog.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for struct utmpx.ut_syslen... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for _LARGE_FILES value needed for large files... no checking for i386-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for SESSREG... yes checking build system type... i386-pc-linux-gnu checking host system type... i386-pc-linux-gnu configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands make all-am make[1]: Entering directory `/var/tmp/portage/sessreg-1.0.0/work/sessreg-1.0.0' if i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -mcpu=i686 -pipe -MT sessreg-sessreg.o -MD -MP -MF ".deps/sessreg-sessreg.Tpo" \ -c -o sessreg-sessreg.o `test -f 'sessreg.c' || echo './'`sessreg.c; \ then mv -f ".deps/sessreg-sessreg.Tpo" ".deps/sessreg-sessreg.Po"; \ else rm -f ".deps/sessreg-sessreg.Tpo"; exit 1; \ fi sed -e 's|__vendorversion__|"sessreg 1.0.0" "X Version 11"|' -e 's|__xorgversion__|"sessreg 1.0.0" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr|g' -e 's|__apploaddir__||' -e 's|__appmansuffix__|1x|g' -e 's|__libmansuffix__|3x|g' -e 's|__adminmansuffix__|8|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5x|g' < sessreg.man > sessreg.1x sessreg.c:86:28: X11/Xos.h: Too many levels of symbolic links sessreg.c:87:31: X11/Xfuncs.h: Too many levels of symbolic links sessreg.c: In function `main': sessreg.c:366: warning: assignment makes pointer from integer without a cast sessreg.c:417: error: `O_WRONLY' undeclared (first use in this function) sessreg.c:417: error: (Each undeclared identifier is reported only once sessreg.c:417: error: for each function it appears in.) sessreg.c:417: error: `O_APPEND' undeclared (first use in this function) sessreg.c:431: error: `O_RDWR' undeclared (first use in this function) make[1]: *** [sessreg-sessreg.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/sessreg-1.0.0/work/sessreg-1.0.0' make: *** [all] Error 2 !!! ERROR: x11-apps/sessreg-1.0.0 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ebuild.sh, line 1248: Called x-modular_src_compile x-modular.eclass, line 327: Called x-modular_src_make x-modular.eclass, line 322: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant.