When I try to emerge foobillard all dependencies compile ok, but foobillard crash with a lot of errors in billard3d.c Reproducible: Always Steps to Reproduce: 1. 2. 3. billard3d.c:4936: warning: type defaults to `int' in declaration of `glFrontFace' billard3d.c:4936: warning: parameter names (without types) in function declaration billard3d.c:4936: warning: data definition has no type or storage class billard3d.c:4938: warning: type defaults to `int' in declaration of `glEnable' billard3d.c:4938: warning: parameter names (without types) in function declaration billard3d.c:4938: warning: data definition has no type or storage class billard3d.c:4939: warning: type defaults to `int' in declaration of `glDepthMask' billard3d.c:4939: warning: parameter names (without types) in function declaration billard3d.c:4939: warning: data definition has no type or storage class billard3d.c:4942: warning: type defaults to `int' in declaration of `glDepthFunc' billard3d.c:4942: warning: parameter names (without types) in function declaration billard3d.c:4942: warning: data definition has no type or storage class billard3d.c:4946: error: parse error before "if" billard3d.c:4950: error: parse error before numeric constant billard3d.c:4950: warning: type defaults to `int' in declaration of `SetMode' billard3d.c:4950: error: conflicting types for 'SetMode' billard3d.c:3569: error: previous definition of 'SetMode' was here billard3d.c:4950: warning: data definition has no type or storage class billard3d.c: In function `main': billard3d.c:5043: warning: implicit declaration of function `glGetIntegerv' billard3d.c:5043: error: `GL_AUX_BUFFERS' undeclared (first use in this function) billard3d.c:5046: error: `GL_LIGHTING' undeclared (first use in this function) billard3d.c: At top level: billard3d.c:178: warning: 'spheretexw' defined but not used billard3d.c:178: warning: 'spheretexh' defined but not used billard3d.c:179: warning: 'spheretexdata' defined but not used billard3d.c:181: warning: 'lightspheretexdata' defined but not used billard3d.c:213: warning: 'half_full_names' defined but not used billard3d.c:3569: warning: 'SetMode' defined but not used make[2]: *** [billard3d.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/foobillard-3.0a/work/foobillard-3.0a/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/foobillard-3.0a/work/foobillard-3.0a/src' make: *** [all-recursive] Error 1 Portage 2.0.51.21 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r7 i686) ================================================================= System uname: 2.6.11-gentoo-r7 i686 Intel(R) Celeron(R) CPU 2.00GHz Gentoo Base System version 1.6.11 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.3 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="ru_RU.KOI8-R" LC_ALL="" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 userland_GNU kernel_linux libc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Your use flags look very bare to me. Can I see the output from "emerge -evp foobillard" please?
also post a full emerge log as an attachment: `emerge foobillard >& log`
Created attachment 58007 [details] emerge -evp foobillard
Created attachment 58009 [details] emerge foobillard >& log
your opengl is broken, re-emerge & rerun opengl-update In file included from billard3d.c:30: /usr/include/GL/glut.h:10:19: GL/gl.h: No such file or directory /usr/include/GL/glut.h:11:20: GL/glu.h: No such file or directory
Please reopen when you respond.