Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53174 - MythTV fails to compile because of bad glxext.h
Summary: MythTV fails to compile because of bad glxext.h
Status: RESOLVED DUPLICATE of bug 52722
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-06 17:03 UTC by dynamotwain
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dynamotwain 2004-06-06 17:03:30 UTC
Attempting to emerge mythtv-0.15.1 results in an error because "'__GLXextFuncPtr' declared as a function returning a function"

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge =media-tv/mythtv-0.15.1
2. Go watch a Star Trek movie or something. This will take a while
3. Wait for it...
4. Look at the ugly error.

I've tried manually switching between xorg-x11's glxext.h and the newer one provided by nvidia-glx, but both produce the same error
Actual Results:  
In file included from vsync.c:38:
/usr/include/GL/glxext.h:374: error: syntax error before "glXGetProcAddress"
/usr/include/GL/glxext.h:376: error: syntax error before '*' token
/usr/include/GL/glxext.h:376: error: `__GLXextFuncPtr' declared as function
returning a function
make[2]: *** [vsync.o] Error 1
make[1]: *** [sub-libmythtv] Error 2
make: *** [sub-libs] Error 2

!!! ERROR: media-tv/mythtv-0.15.1 failed.
!!! Function src_compile, Line 122, Exitcode 2
!!! compile problem


Expected Results:  
The ebuild actually merges

x11-base/xorg-x11-6.7.0
media-video/nvidia-kernel-1.0-5336-r3
media-video/nvidia-glx-1.0-5336
opengl-update nvidia

/usr/include/GL -> /usr/X11R6/include/GL
/usr/X11R6/GL/glxext.h is NOT a pointer
qpkg -f /usr/X11R6/GL/glxext.h
   x11-base/xorg-x11-6.7.0

emerge info:

Gentoo Base System version 1.4.9
Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6)
=================================================================
System uname: 2.6.6 i686 Intel(R) Celeron(R) CPU 2.40GHz
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe -msse -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe -msse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/
http://gentoo.mirrors.pair.com/ http://lug.mtu.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3ds S3TC X X509 aalib acl acpi acpi4linux alsa apache2 apm arts avi berkdb
bonobo cdr crypt cups curl dga dv dvd dvdr encode esd ethereal evms2 fax fbcon
ffmpeg fftw flac flash foomaticdb freetype gd gdbm gif gimpprint ginac gnome
gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib jabber java javascript jikes
joystick jpeg kde ladcca ldap libg++ libwww lirc mad maildir mdb mikmod mmx mng
motif mozilla mozsvg mozxmlterm mpeg mpeg4 mpi msn music mysql nagios-dns
nagios-ntp nagios-ping nagios-ssh ncurses nls nvidia offensive oggvorbis openal
opengl oscar oss pam pda pdflib perl php png ppds python qt quicktime readline
roundrobin samba scanner sdk sdl skey slang slp snmp spell sse sse2 ssl svg svga
tcltk tcpd tetex tiff timidity transcode transparent-proxy truetype usb v4l
videos vim-with-x wmf wxwindows x86 xinerama xml2 xmms xosd xv xvid zlib zvbi"
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2004-09-10 14:04:05 UTC

*** This bug has been marked as a duplicate of 52722 ***