Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62293 - xawtv-3.86-r2 fails to compile because of opengl error
Summary: xawtv-3.86-r2 fails to compile because of opengl error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-30 14:26 UTC by Thomas Luft
Modified: 2005-02-11 15:13 UTC (History)
2 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 Thomas Luft 2004-08-30 14:26:11 UTC
When trying to emerge xawtv-3.86-r2 I receive the following error:

In file included from x11/rootv.c:27:
jwz/vroot.h: In function `VirtualRootWindowOfScreen':
jwz/vroot.h:101: warning: dereferencing type-punned pointer will break strict-aliasing rules
  LD      x11/rootv
perl ./scripts/fallback.pl < x11/Xawtv.ad > x11/Xawtv.h
  CC      x11/xawtv.o
  CC      x11/wmhooks.o
  CC      x11/x11.o
  CC      x11/blit.o
In file included from x11/blit.c:26:
/usr/X11R6/include/GL/gl.h:62:22: GL/glext.h: No such file or directory
make: *** [x11/blit.o] Error 1

!!! ERROR: media-tv/xawtv-3.86-r2 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! (no error message)

A "ls -l /usr/X11R6/include/GL shows the following:

insgesamt 212
-rw-r--r--  1 root root 10381 12. Jul 22:32 gle.h
lrwxrwxrwx  1 root root    38  7. Aug 21:19 glext.h -> /usr/lib/opengl/global/include/glext.h
lrwxrwxrwx  1 root root    35 30. Aug 23:09 gl.h -> /usr/lib/opengl/nvidia/include/gl.h
-r--r--r--  1 root root 15981  5. Aug 02:43 glu.h
-rw-r--r--  1 root root  4109 11. Jul 01:46 glutf90.h
-rw-r--r--  1 root root 30192 11. Jul 01:46 glut.h
-r--r--r--  1 root root  7946  5. Aug 02:43 GLwDrawA.h
-r--r--r--  1 root root  4433  5. Aug 02:43 GLwDrawAP.h
-r--r--r--  1 root root  2309  5. Aug 02:43 GLwMDrawA.h
-r--r--r--  1 root root  2311  5. Aug 02:43 GLwMDrawAP.h
-r--r--r--  1 root root 27508  5. Aug 02:43 glxext.h
lrwxrwxrwx  1 root root    36 30. Aug 23:09 glx.h -> /usr/lib/opengl/nvidia/include/glx.h
-r--r--r--  1 root root  2543  5. Aug 02:43 glxint.h
-r--r--r--  1 root root  2453  5. Aug 02:43 glxmd.h
-r--r--r--  1 root root 67908  5. Aug 02:43 glxproto.h
lrwxrwxrwx  1 root root    42 30. Aug 23:09 glxtokens.h -> /usr/lib/opengl/nvidia/include/glxtokens.h
-r--r--r--  1 root root  8349  5. Aug 02:43 osmesa.h

So glext.h is there but it seems it is not found?! I am using the Nvidia driver 5536 with kernel 2.6.8

Reproducible: Always
Steps to Reproduce:
1. emerge xawtv
2. compile fails



Expected Results:  
xawtv should compile cleanly
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-10 02:03:07 UTC
Can you please emerge opengl-update-2.1.1.  This should be fixed.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-11 15:13:07 UTC
Yeah, I'm marking this fixed as I can't reproduce it with the latest opengl-update.  If you still have a problem, please reopen.