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
Created attachment 27498 [details, diff] geomview.diff (update for the ebuild) trivial diff for the geomview-ebuild to make geomview work.
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.
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);