Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44896 - geomview-1.8.1-r3 needs GL_GLEXT_LEGACY directive (opengl glMultiDrawArrays)
Summary: geomview-1.8.1-r3 needs GL_GLEXT_LEGACY directive (opengl glMultiDrawArrays)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-16 14:20 UTC by Florian Loitsch
Modified: 2004-04-20 16:11 UTC (History)
0 users

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


Attachments
geomview.diff (update for the ebuild) (geomview.diff,302 bytes, patch)
2004-03-16 14:24 UTC, Florian Loitsch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Loitsch 2004-03-16 14:20:48 UTC
geomview suffers the same problem as reported in bug 18021 (http://bugs.gentoo.org/show_bug.cgi?id=18021).
Otherwise you'll experience a:
/usr/include/GL/gl.h:1731: error: conflicting types for `glMultiDrawArrays'
/usr/include/GL/glext.h:2618: error: previous declaration of `glMultiDrawArrays'
make[5]: *** [mgopengl.o] Error 1
Comment 1 Florian Loitsch 2004-03-16 14:24:57 UTC
Created attachment 27498 [details, diff]
geomview.diff (update for the ebuild)

trivial diff for the geomview-ebuild to make geomview work.
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2004-04-20 05:23:35 UTC
Hm, I just emerged geomview-1.8.1-r3 without any problems. Which GL implementation are you using? Please tell me the output of ls -l /usr/X11R6/include/GL/gl.h

However, since this change does not break anything for me, I've included it into portage. Thanks.
Comment 3 Florian Loitsch 2004-04-20 16:11:29 UTC
using nvidia's OpenGl (don't know which version though).

flo@basil ~ $ ls -l /usr/X11R6/include/GL/gl.h
lrwxrwxrwx  1 root root 35 Apr 19 21:25 /usr/X11R6/include/GL/gl.h -> /usr/lib/opengl/nvidia/include/gl.h

the following lines are what's currently in gl.h and glext.h. i didn't try to reproduce the error again, and they might have changed since i reported the error. if you are interested, i could try to reproduce the error with these files (especially as i don't see how they could conflict).

here's the conflicting part of gl.h
void GLAPI glMultiDrawArrays (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);

and her from glext.h
GLAPI void APIENTRY glMultiDrawArrays (GLenum, GLint *, GLsizei *, GLsizei);