GLuint depth_buffer; ^ In file included from /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/gst-libs/gst/gl/gl.h:48:0, from /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/ext/gtk/gstgtkglsink.h:28, from /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/ext/gtk/gstplugin.c:27: /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/gst-libs/gst/gl/gstglfilter.h:67:3: error: unknown type name ‘GLuint’ GLuint fbo; ^ /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/gst-libs/gst/gl/gstglfilter.h:68:3: error: unknown type name ‘GLuint’ GLuint depthbuffer; ^ /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/gst-libs/gst/gl/gstglfilter.h:70:3: error: unknown type name ‘GLuint’ GLuint in_tex_id; ^ /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/gst-libs/gst/gl/gstglfilter.h:71:3: error: unknown type name ‘GLuint’ GLuint out_tex_id; ^ /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/gst-libs/gst/gl/gstglfilter.h:75:3: error: unknown type name ‘GLuint’ GLuint vao; ^ /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/gst-libs/gst/gl/gstglfilter.h:76:3: error: unknown type name ‘GLuint’ GLuint vbo_indices; ^ /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/gst-libs/gst/gl/gstglfilter.h:77:3: error: unknown type name ‘GLuint’ GLuint vertex_buffer; ^ /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/gst-libs/gst/gl/gstglfilter.h:78:3: error: unknown type name ‘GLint’ GLint draw_attr_position_loc; ^ /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/gst-libs/gst/gl/gstglfilter.h:79:3: error: unknown type name ‘GLint’ GLint draw_attr_texture_loc; ^ /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/gst-libs/gst/gl/gstglfilter.h:118:76: error: unknown type name ‘GLuint’ void gst_gl_filter_render_to_target (GstGLFilter *filter, gboolean resize, GLuint input, ^ /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/gst-libs/gst/gl/gstglfilter.h:119:38: error: unknown type name ‘GLuint’ GLuint target, GLCB func, gpointer data); ^ /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/gst-libs/gst/gl/gstglfilter.h:122:50: error: unknown type name ‘GLuint’ GLuint input, GLuint target, GstGLShader *shader); ^ /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/gst-libs/gst/gl/gstglfilter.h:122:64: error: unknown type name ‘GLuint’ GLuint input, GLuint target, GstGLShader *shader); ^ /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/gst-libs/gst/gl/gstglfilter.h:124:55: error: unknown type name ‘GLuint’ void gst_gl_filter_draw_texture (GstGLFilter *filter, GLuint texture, guint width, guint height); ^ In file included from /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/gst-libs/gst/gl/gl.h:51:0, from /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/ext/gtk/gstgtkglsink.h:28, from /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/ext/gtk/gstplugin.c:27: /var/tmp/portage/media-libs/gst-plugins-bad-1.6.1-r1/work/gst-plugins-bad-1.6.1/gst-libs/gst/gl/gstgloverlaycompositor.h:53:3: error: unknown type name ‘GLint’ GLint position_attrib; Reproducible: Always Portage 2.2.24 (python 3.5.0-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.22-r1, 4.3.0-gentoo x86_64) ================================================================= System uname: Linux-4.3.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2 KiB Mem: 24627044 total, 21945060 free KiB Swap: 26488828 total, 26488828 free Timestamp of repository gentoo: Tue, 10 Nov 2015 06:30:01 +0000 Timestamp of repository poly-c: Mon, 09 Nov 2015 15:58:16 +0000 sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.22.0::gentoo dev-lang/python: 2.7.10-r2::gentoo, 3.4.3-r2::gentoo, 3.5.0-r1::gentoo dev-util/cmake: 3.4.0_rc3::poly-c dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.18.3::gentoo sys-apps/sandbox: 2.9::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r1::gentoo Repositories: gentoo location: /mnt/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 bumblebee location: /mnt/portage/local/layman/bumblebee masters: gentoo priority: 0 dotnet location: /mnt/portage/local/layman/dotnet masters: gentoo priority: 1 steam-overlay location: /mnt/portage/local/layman/steam-overlay masters: gentoo priority: 2 media-overlay location: /mnt/portage/local/layman/media-overlay masters: gentoo priority: 3 dr location: /mnt/portage/local/layman/dr masters: gentoo priority: 4 brother-overlay location: /mnt/portage/local/layman/brother-overlay masters: gentoo priority: 5 bitcoin location: /mnt/portage/local/layman/bitcoin masters: gentoo priority: 6 poly-c location: /mnt/portage/local/layman/poly-c masters: gentoo priority: 7 lokal location: /mnt/portage/local/local-overlay masters: gentoo priority: 8 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=corei7 -O2 -pipe" DISTDIR="/mnt/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks fail-clean fixlafiles merge-sync news nodoc noinfo parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/mnt/portage/packages" PORTAGE_CONFIGROOT="/"
please attach your full build.log.
i have solved this problem by adding the USE="opengl"