if i try to emerge mythtv-0.16, compilation failes with: USING_OSS -DUSING_OPENGL_VSYNC -DUSING_XV -DUSING_DIRECTFB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/local/include -I../libmyth -I.. -Idvbdev -I../libavcodec -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/X11R6/include -o proglist.o proglist.cpp g++ -c -pipe `artsc-config --cflags` `directfb-config --cflags` -Wall -W -O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -pipe -ftracer -funroll-loops -fvisibility-inlines-hidden -fvisibility=hidden `freetype-config --cflags` -D_REENTRANT -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DUSING_OPENGL_VSYNC -DUSING_XV -DUSING_DIRECTFB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include -I/usr/local/include -I../libmyth -I.. -Idvbdev -I../libavcodec -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/X11R6/include -o videooutbase.o videooutbase.cpp In file included from /usr/X11R6/include/GL/glx.h:117, from vsync.cpp:38: /usr/X11R6/include/GL/glxext.h:355:2: invalid preprocessing directive #warn make: *** [vsync.o] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory `/var/tmp/portage/mythtv-0.16/work/mythtv-0.16/libs/libmythtv' !!! ERROR: media-tv/mythtv-0.16 failed. !!! Function src_compile, Line 168, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. emerge mythtv (even with only the 02 cxxflag) 2. 3. kernel 2.6.10-r3 gcc 3.4.3 (posix threads) emerge info: Portage 2.0.51-r15 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-rc3-mm1 i686) ================================================================= System uname: 2.6.10-rc3-mm1 i686 AMD Athlon(tm) XP 2100+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 7 2005, 7:10:20)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 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.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -pipe -ftracer -funroll-loops" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer -pipe -ftracer -funroll-loops -fvisibility-inlines-hidden -fvisibility=hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/lamip-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dfx 3dnow X Xaw3d aac acpi alsa apm arts avi berkdb bitmap-fonts bluetooth bootsplash cast cdaudio cdparanoia cdr crypt cups dga directfb divx4linux dvd dvdr dvdread editor encode esd evo f77 fam fb2k fbcon flac font-server foomaticdb fortran gdbm gif gimp gimpprint gnome gpm gstreamer gtk gtk2 imagemagick imlib insecure-drivers ipv6 ithreads java jpeg junit kerberos libg++ libwww lirc mad mikmod mmx mmx2 motif mozilla mp3 mpeg mysql mythtv ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl php playlist png python quicktime readline ruby samba scanner sdl slang spell sqlite sse ssl svg svga tcltk tcpd tiff tools truetype truetype-fonts type1-fonts usb vim-with-x wav wma xine xinerama xml2 xmms xosd xprint xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
here's the junk of code from /usr/X11R6/include/GL/glxext.h, wich causes the error =======snipp======= /* Define int32_t and int64_t types for UST/MSC */ /* (as used in the GLX_OML_sync_control extension). */ #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L #include <inttypes.h> #elif defined( __VMS ) #include <inttypes.h> #elif defined(__SCO__) || defined(__USLC__) #include <stdint.h> #elif defined(__UNIXOS2__) || defined(__SOL64__) typedef long int int32_t; typedef long long int int64_t; #else #warn "int32_t and int64_t are undefined!" #endif =======snipp=======
make sure to update to opengl-update 2.1.1 and try again
worked with opengl-update-2.1.1 thanks for the hint. dependecy problem. should be fixed, i think.