Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47368 - PyOpenGL-2.0.0.44: glx.h error when using xorg-x11
Summary: PyOpenGL-2.0.0.44: glx.h error when using xorg-x11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-09 10:58 UTC by Hinrik Örn Sigurðsson
Modified: 2004-04-11 22:02 UTC (History)
3 users (show)

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 Hinrik Örn Sigurðsson 2004-04-09 10:58:36 UTC
I receive this error when compiling PyOpenGL-2.0.0.44, and I have no xfree installed, only xorg-x11:

creating build/temp.linux-i686-2.3/src/interface_util
gcc -fno-strict-aliasing -DNDEBUG -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fPIC -DGLX_PLATFORM -I/usr/include/python2.3 -I/usr/include -I/usr/local/include -I/usr/X11R6/include -I/usr/lib/tk8.4/include -Isrc/gle/src -I/usr/include -I/usr/local/include -I/usr/X11R6/include -I/usr/lib/tk8.4/include -Isrc/gle/src -c src/interface_util/interface_util.c -o build/temp.linux-i686-2.3/src/interface_util/interface_util.o
In file included from /usr/X11R6/include/GL/glx.h:28,
                 from src/config.h:59,
                 from src/interface_util/interface_util.c:1:
/usr/X11R6/include/GL/gl.h:1731: error: conflicting types for `glMultiDrawArrays'
/usr/X11R6/include/GL/glext.h:2618: error: previous declaration of `glMultiDrawArrays'
error: command 'gcc' failed with exit status 1

!!! ERROR: dev-python/PyOpenGL-2.0.0.44 failed.
!!! Function distutils_src_compile, Line 38, Exitcode 1
!!! compilation failed



The solution is to do "opengl-update xorg-x11" before emerging. I was thinking, shouldn't xorg nad xfree have the same name in opengl-update? Since they can't be installed at the same time, shouldn't something like "opengl-update x11" be appropriate?
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2004-04-09 18:21:14 UTC
Ditto with the same problem. Except I have nvidia drivers, so I have opengl-update nvidia. I tried to re-run it to see if that would fix it but it doesn't fix the problem.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-04-10 10:09:25 UTC
I'd solved this locally, but I need to run the fixes by the python team first
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-10 14:38:07 UTC
From http://bugs.gentoo.org/show_bug.cgi?id=41194:

------- Additional Comment #13 From Alastair Tse  2004-04-09 15:46 PST -------

i'm guessing that this is related to the general problem with pyopengl solved in bug 45435

*** This bug has been marked as a duplicate of 45435 ***
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2004-04-11 22:02:20 UTC
Fixed