Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21251 - gtkglarea 1.99.0 won't compile
Summary: gtkglarea 1.99.0 won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 21250 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-19 09:06 UTC by Adam Connell
Modified: 2003-09-28 04:57 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 Adam Connell 2003-05-19 09:06:12 UTC
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -I. -I. -I.. -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -mcpu=athlon-mp -march=athlon-mp -fforce-addr 
-falign-functions=4 -funroll-loops -fomit-frame-pointer -O3 -pipe -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -c gtkglarea.c -MT gtkglarea.lo -MD -MP -MF 
.deps/gtkglarea.TPlo  -fPIC -DPIC -o .libs/gtkglarea.lo 
gtkglarea.c:21:19: GL/gl.h: No such file or directory 
gdkgl.c:25:19: GL/gl.h: No such file or directory 
gdkgl.c:26:20: GL/glx.h: No such file or directory 
gdkgl.c:58: parse error before "GLXContext" 
gdkgl.c:58: warning: no semicolon at end of struct or union 
gdkgl.c:60: parse error before '}' token 
gdkgl.c: In function `gdk_gl_get_info': 
gdkgl.c:76: `GLX_VENDOR' undeclared (first use in this function) 
gdkgl.c:76: (Each undeclared identifier is reported only once 
gdkgl.c:76: for each function it appears in.) 
gdkgl.c:77: `GLX_VERSION' undeclared (first use in this function) 
gdkgl.c:78: `GLX_EXTENSIONS' undeclared (first use in this function) 
gdkgl.c: In function `gdk_gl_choose_visual': 
gdkgl.c:91: warning: assignment makes pointer from integer without a cast 
gdkgl.c: In function `gdk_gl_context_share_new': 
gdkgl.c:132: `GLXContext' undeclared (first use in this function) 
gdkgl.c:132: parse error before "glxcontext" 
gdkgl.c:142: `glxcontext' undeclared (first use in this function) 
gdkgl.c:142: dereferencing pointer to incomplete type 
gdkgl.c:150: sizeof applied to an incomplete type 
gdkgl.c:151: dereferencing pointer to incomplete type 
gdkgl.c:152: dereferencing pointer to incomplete type 
gdkgl.c:153: dereferencing pointer to incomplete type 
gdkgl.c: In function `gdk_gl_context_ref': 
gdkgl.c:172: dereferencing pointer to incomplete type 
gdkgl.c: In function `gdk_gl_context_unref': 
gdkgl.c:183: dereferencing pointer to incomplete type 
gdkgl.c:185: dereferencing pointer to incomplete type 
gdkgl.c:189: dereferencing pointer to incomplete type 
gdkgl.c:190: dereferencing pointer to incomplete type 
gdkgl.c:192: dereferencing pointer to incomplete type 
gdkgl.c:192: dereferencing pointer to incomplete type 
gdkgl.c: In function `gdk_gl_make_current': 
gdkgl.c:205: dereferencing pointer to incomplete type 
gdkgl.c:205: dereferencing pointer to incomplete type 
gdkgl.c: At top level: 
gdkgl.c:239: parse error before "GLXPixmap" 
gdkgl.c:239: warning: no semicolon at end of struct or union 
gdkgl.c:242: parse error before '}' token 
gdkgl.c: In function `gdk_gl_pixmap_new': 
gdkgl.c:253: `GLXPixmap' undeclared (first use in this function) 
gdkgl.c:253: parse error before "glxpixmap" 
gdkgl.c:271: `glxpixmap' undeclared (first use in this function) 
gdkgl.c:276: sizeof applied to an incomplete type 
gdkgl.c:277: dereferencing pointer to incomplete type 
gdkgl.c:278: dereferencing pointer to incomplete type 
gdkgl.c:279: dereferencing pointer to incomplete type 
gdkgl.c:280: dereferencing pointer to incomplete type 
gdkgl.c: In function `gdk_gl_pixmap_ref': 
gdkgl.c:291: dereferencing pointer to incomplete type 
gdkgl.c: In function `gdk_gl_pixmap_unref': 
gdkgl.c:302: dereferencing pointer to incomplete type 
gdkgl.c:304: dereferencing pointer to incomplete type 
gdkgl.c:308: dereferencing pointer to incomplete type 
gdkgl.c:308: dereferencing pointer to incomplete type 
gdkgl.c:310: dereferencing pointer to incomplete type 
gdkgl.c:312: sizeof applied to an incomplete type 
gdkgl.c:312: sizeof applied to an incomplete type 
gdkgl.c:312: sizeof applied to an incomplete type 
gdkgl.c:312: sizeof applied to an incomplete type 
gdkgl.c:312: sizeof applied to an incomplete type 
gdkgl.c:312: sizeof applied to an incomplete type 
gdkgl.c: In function `gdk_gl_pixmap_make_current': 
gdkgl.c:320: `GLXPixmap' undeclared (first use in this function) 
gdkgl.c:320: parse error before "glxpixmap" 
gdkgl.c:321: `GLXContext' undeclared (first use in this function) 
gdkgl.c:326: dereferencing pointer to incomplete type 
gdkgl.c:327: `glxpixmap' undeclared (first use in this function) 
gdkgl.c:327: dereferencing pointer to incomplete type 
gdkgl.c:328: `glxcontext' undeclared (first use in this function) 
gdkgl.c:328: dereferencing pointer to incomplete type 
make[1]: *** [gdkgl.lo] Error 1 
make[1]: *** Waiting for unfinished jobs.... 
make[1]: *** [gtkglarea.lo] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/gtkglarea-1.99.0/work/gtkglarea-1.99.0/gtkgl' 
make: *** [all-recursive] Error 1 
 

Reproducible: Always
Steps to Reproduce:
1.emerge -u gtkglarea 
2. 
3. 
Actual Results:  
!!! ERROR: x11-libs/gtkglarea-1.99.0 failed. 
!!! Function gnome2_src_compile, Line 39, Exitcode 2 
!!! compile failure 
 

Expected Results:  
Install
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-05-19 09:20:07 UTC
*** Bug 21250 has been marked as a duplicate of this bug. ***
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-06-01 19:33:47 UTC
which xfree are you using?

can you try running :

opengl-update xfree
emerge gtkglarea

Comment 3 foser (RETIRED) gentoo-dev 2003-06-08 10:19:40 UTC
waiting for userresponse
Comment 4 Ævar Arnfjörð Bjarmason 2003-09-27 15:57:04 UTC
i had the same problem, and i can confirm that using opengl-update xfree
fixed it.
Comment 5 foser (RETIRED) gentoo-dev 2003-09-28 04:57:10 UTC
all these reopend bugs.. *sigh*

anyway, recent nvidia drivers shouldnt have this problem. Maybe we should
get rid of gtkglarea anyway.