akezeke / spotyxbmc2

spotyXBMC is a fork of XBMC with spotify support
Other
133 stars 29 forks source link

Compilation error: mesa-common-dev 8.0.2 #36

Closed isaksamsten closed 12 years ago

isaksamsten commented 12 years ago

I get the following compilation error when compiling:

In file included from /usr/include/GL/gl.h:2085:0,
                 from VDPAU.h:32,
                 from DVDVideoCodecFFmpeg.cpp:53:
/usr/include/GL/glext.h:5440:135: error: declaration of C function ‘void glColorTable(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid*)’ conflicts with
/usr/include/GL/gl.h:1631:23: error: previous declaration ‘void glColorTable(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid*)’ here
/usr/include/GL/glext.h:5441:96: error: declaration of C function ‘void glColorTableParameterfv(GLenum, GLenum, const GLfloat*)’ conflicts with
/usr/include/GL/gl.h:1643:23: error: previous declaration ‘void glColorTableParameterfv(GLenum, GLenum, const GLfloat*)’ here
/usr/include/GL/glext.h:5442:94: error: declaration of C function ‘void glColorTableParameteriv(GLenum, GLenum, const GLint*)’ conflicts with
/usr/include/GL/gl.h:1640:23: error: previous declaration ‘void glColorTableParameteriv(GLenum, GLenum, const GLint*)’ here
/usr/include/GL/glext.h:5443:108: error: declaration of C function ‘void glCopyColorTable(GLenum, GLenum, GLint, GLint, GLsizei)’ conflicts with
/usr/include/GL/gl.h:1649:23: error: previous declaration ‘void glCopyColorTable(GLenum, GLenum, GLint, GLint, GLsizei)’ here
/usr/include/GL/glext.h:5444:94: error: declaration of C function ‘void glGetColorTable(GLenum, GLenum, GLenum, GLvoid*)’ conflicts with
/usr/include/GL/gl.h:1652:23: error: previous declaration ‘void glGetColorTable(GLenum, GLenum, GLenum, GLvoid*)’ here
/usr/include/GL/glext.h:5445:93: error: declaration of C function ‘void glGetColorTableParameterfv(GLenum, GLenum, GLfloat*)’ conflicts with
/usr/include/GL/gl.h:1655:23: error: previous declaration ‘void glGetColorTableParameterfv(GLenum, GLenum, GLfloat*)’ here
/usr/include/GL/glext.h:5446:91: error: declaration of C function ‘void glGetColorTableParameteriv(GLenum, GLenum, GLint*)’ conflicts with
/usr/include/GL/gl.h:1658:23: error: previous declaration ‘void glGetColorTableParameteriv(GLenum, GLenum, GLint*)’ here
/usr/include/GL/glext.h:5447:129: error: declaration of C function ‘void glColorSubTable(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid*)’ conflicts with
/usr/include/GL/gl.h:1635:23: error: previous declaration ‘void glColorSubTable(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid*)’ here
/usr/include/GL/glext.h:5448:103: error: declaration of C function ‘void glCopyColorSubTable(GLenum, GLsizei, GLint, GLint, GLsizei)’ conflicts with
/usr/include/GL/gl.h:1646:23: error: previous declaration ‘void glCopyColorSubTable(GLenum, GLsizei, GLint, GLint, GLsizei)’ here
/usr/include/GL/glext.h:5449:144: error: declaration of C function ‘void glConvolutionFilter1D(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid*)’ conflicts with
/usr/include/GL/gl.h:1696:23: error: previous declaration ‘void glConvolutionFilter1D(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid*)’ here
/usr/include/GL/glext.h:5450:160: error: declaration of C function ‘void glConvolutionFilter2D(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid*)’ conflicts with
/usr/include/GL/gl.h:1700:23: error: previous declaration ‘void glConvolutionFilter2D(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid*)’ here
/usr/include/GL/glext.h:5451:89: error: declaration of C function ‘void glConvolutionParameterf(GLenum, GLenum, GLfloat)’ conflicts with
/usr/include/GL/gl.h:1704:23: error: previous declaration ‘void glConvolutionParameterf(GLenum, GLenum, GLfloat)’ here
/usr/include/GL/glext.h:5452:97: error: declaration of C function ‘void glConvolutionParameterfv(GLenum, GLenum, const GLfloat*)’ conflicts with
/usr/include/GL/gl.h:1707:23: error: previous declaration ‘void glConvolutionParameterfv(GLenum, GLenum, const GLfloat*)’ here
/usr/include/GL/glext.h:5453:87: error: declaration of C function ‘void glConvolutionParameteri(GLenum, GLenum, GLint)’ conflicts with
/usr/include/GL/gl.h:1710:23: error: previous declaration ‘void glConvolutionParameteri(GLenum, GLenum, GLint)’ here
/usr/include/GL/glext.h:5454:95: error: declaration of C function ‘void glConvolutionParameteriv(GLenum, GLenum, const GLint*)’ conflicts with
/usr/include/GL/gl.h:1713:23: error: previous declaration ‘void glConvolutionParameteriv(GLenum, GLenum, const GLint*)’ here
/usr/include/GL/glext.h:5455:117: error: declaration of C function ‘void glCopyConvolutionFilter1D(GLenum, GLenum, GLint, GLint, GLsizei)’ conflicts with
/usr/include/GL/gl.h:1716:23: error: previous declaration ‘void glCopyConvolutionFilter1D(GLenum, GLenum, GLint, GLint, GLsizei)’ here
/usr/include/GL/glext.h:5456:133: error: declaration of C function ‘void glCopyConvolutionFilter2D(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei)’ conflicts with
/usr/include/GL/gl.h:1719:23: error: previous declaration ‘void glCopyConvolutionFilter2D(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei)’ here
/usr/include/GL/glext.h:5457:101: error: declaration of C function ‘void glGetConvolutionFilter(GLenum, GLenum, GLenum, GLvoid*)’ conflicts with
/usr/include/GL/gl.h:1723:23: error: previous declaration ‘void glGetConvolutionFilter(GLenum, GLenum, GLenum, GLvoid*)’ here
/usr/include/GL/glext.h:5458:94: error: declaration of C function ‘void glGetConvolutionParameterfv(GLenum, GLenum, GLfloat*)’ conflicts with
/usr/include/GL/gl.h:1726:23: error: previous declaration ‘void glGetConvolutionParameterfv(GLenum, GLenum, GLfloat*)’ here
/usr/include/GL/glext.h:5459:92: error: declaration of C function ‘void glGetConvolutionParameteriv(GLenum, GLenum, GLint*)’ conflicts with
/usr/include/GL/gl.h:1729:23: error: previous declaration ‘void glGetConvolutionParameteriv(GLenum, GLenum, GLint*)’ here
/usr/include/GL/glext.h:5460:127: error: declaration of C function ‘void glGetSeparableFilter(GLenum, GLenum, GLenum, GLvoid*, GLvoid*, GLvoid*)’ conflicts with
/usr/include/GL/gl.h:1736:23: error: previous declaration ‘void glGetSeparableFilter(GLenum, GLenum, GLenum, GLvoid*, GLvoid*, GLvoid*)’ here
/usr/include/GL/glext.h:5461:178: error: declaration of C function ‘void glSeparableFilter2D(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid*, const GLvoid*)’ conflicts with
/usr/include/GL/gl.h:1732:23: error: previous declaration ‘void glSeparableFilter2D(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid*, const GLvoid*)’ here
/usr/include/GL/glext.h:5462:111: error: declaration of C function ‘void glGetHistogram(GLenum, GLboolean, GLenum, GLenum, GLvoid*)’ conflicts with
/usr/include/GL/gl.h:1671:23: error: previous declaration ‘void glGetHistogram(GLenum, GLboolean, GLenum, GLenum, GLvoid*)’ here
/usr/include/GL/glext.h:5463:92: error: declaration of C function ‘void glGetHistogramParameterfv(GLenum, GLenum, GLfloat*)’ conflicts with
/usr/include/GL/gl.h:1675:23: error: previous declaration ‘void glGetHistogramParameterfv(GLenum, GLenum, GLfloat*)’ here
/usr/include/GL/glext.h:5464:90: error: declaration of C function ‘void glGetHistogramParameteriv(GLenum, GLenum, GLint*)’ conflicts with
/usr/include/GL/gl.h:1678:23: error: previous declaration ‘void glGetHistogramParameteriv(GLenum, GLenum, GLint*)’ here
/usr/include/GL/glext.h:5465:108: error: declaration of C function ‘void glGetMinmax(GLenum, GLboolean, GLenum, GLenum, GLvoid*)’ conflicts with
/usr/include/GL/gl.h:1686:23: error: previous declaration ‘void glGetMinmax(GLenum, GLboolean, GLenum, GLenum, GLvoid*)’ here
/usr/include/GL/glext.h:5466:89: error: declaration of C function ‘void glGetMinmaxParameterfv(GLenum, GLenum, GLfloat*)’ conflicts with
/usr/include/GL/gl.h:1690:23: error: previous declaration ‘void glGetMinmaxParameterfv(GLenum, GLenum, GLfloat*)’ here
/usr/include/GL/glext.h:5467:87: error: declaration of C function ‘void glGetMinmaxParameteriv(GLenum, GLenum, GLint*)’ conflicts with
/usr/include/GL/gl.h:1693:23: error: previous declaration ‘void glGetMinmaxParameteriv(GLenum, GLenum, GLint*)’ here
/usr/include/GL/glext.h:5468:101: error: declaration of C function ‘void glHistogram(GLenum, GLsizei, GLenum, GLboolean)’ conflicts with
/usr/include/GL/gl.h:1666:23: error: previous declaration ‘void glHistogram(GLenum, GLsizei, GLenum, GLboolean)’ here
/usr/include/GL/glext.h:5469:83: error: declaration of C function ‘void glMinmax(GLenum, GLenum, GLboolean)’ conflicts with
/usr/include/GL/gl.h:1681:23: error: previous declaration ‘void glMinmax(GLenum, GLenum, GLboolean)’ here
/usr/include/GL/glext.h:5470:52: error: declaration of C function ‘void glResetHistogram(GLenum)’ conflicts with
/usr/include/GL/gl.h:1669:23: error: previous declaration ‘void glResetHistogram(GLenum)’ here
/usr/include/GL/glext.h:5471:49: error: declaration of C function ‘void glResetMinmax(GLenum)’ conflicts with
/usr/include/GL/gl.h:1684:23: error: previous declaration ‘void glResetMinmax(GLenum)’ here
/usr/include/GL/glext.h:5534:58: error: declaration of C function ‘void glClientActiveTexture(GLenum)’ conflicts with
/usr/include/GL/gl.h:1855:23: error: previous declaration ‘void glClientActiveTexture(GLenum)’ here
/usr/include/GL/glext.h:5535:65: error: declaration of C function ‘void glMultiTexCoord1d(GLenum, GLdouble)’ conflicts with
/usr/include/GL/gl.h:1871:23: error: previous declaration ‘void glMultiTexCoord1d(GLenum, GLdouble)’ here
/usr/include/GL/glext.h:5536:73: error: declaration of C function ‘void glMultiTexCoord1dv(GLenum, const GLdouble*)’ conflicts with
/usr/include/GL/gl.h:1873:23: error: previous declaration ‘void glMultiTexCoord1dv(GLenum, const GLdouble*)’ here
/usr/include/GL/glext.h:5537:64: error: declaration of C function ‘void glMultiTexCoord1f(GLenum, GLfloat)’ conflicts with
/usr/include/GL/gl.h:1875:23: error: previous declaration ‘void glMultiTexCoord1f(GLenum, GLfloat)’ here
/usr/include/GL/glext.h:5538:72: error: declaration of C function ‘void glMultiTexCoord1fv(GLenum, const GLfloat*)’ conflicts with
/usr/include/GL/gl.h:1877:23: error: previous declaration ‘void glMultiTexCoord1fv(GLenum, const GLfloat*)’ here
/usr/include/GL/glext.h:5539:62: error: declaration of C function ‘void glMultiTexCoord1i(GLenum, GLint)’ conflicts with
/usr/include/GL/gl.h:1879:23: error: previous declaration ‘void glMultiTexCoord1i(GLenum, GLint)’ here
/usr/include/GL/glext.h:5540:70: error: declaration of C function ‘void glMultiTexCoord1iv(GLenum, const GLint*)’ conflicts with
/usr/include/GL/gl.h:1881:23: error: previous declaration ‘void glMultiTexCoord1iv(GLenum, const GLint*)’ here
/usr/include/GL/glext.h:5541:64: error: declaration of C function ‘void glMultiTexCoord1s(GLenum, GLshort)’ conflicts with
/usr/include/GL/gl.h:1883:23: error: previous declaration ‘void glMultiTexCoord1s(GLenum, GLshort)’ here
/usr/include/GL/glext.h:5542:72: error: declaration of C function ‘void glMultiTexCoord1sv(GLenum, const GLshort*)’ conflicts with
/usr/include/GL/gl.h:1885:23: error: previous declaration ‘void glMultiTexCoord1sv(GLenum, const GLshort*)’ here
/usr/include/GL/glext.h:5543:77: error: declaration of C function ‘void glMultiTexCoord2d(GLenum, GLdouble, GLdouble)’ conflicts with
/usr/include/GL/gl.h:1887:23: error: previous declaration ‘void glMultiTexCoord2d(GLenum, GLdouble, GLdouble)’ here
/usr/include/GL/glext.h:5544:73: error: declaration of C function ‘void glMultiTexCoord2dv(GLenum, const GLdouble*)’ conflicts with
/usr/include/GL/gl.h:1889:23: error: previous declaration ‘void glMultiTexCoord2dv(GLenum, const GLdouble*)’ here
/usr/include/GL/glext.h:5545:75: error: declaration of C function ‘void glMultiTexCoord2f(GLenum, GLfloat, GLfloat)’ conflicts with
/usr/include/GL/gl.h:1891:23: error: previous declaration ‘void glMultiTexCoord2f(GLenum, GLfloat, GLfloat)’ here
/usr/include/GL/glext.h:5546:72: error: declaration of C function ‘void glMultiTexCoord2fv(GLenum, const GLfloat*)’ conflicts with
/usr/include/GL/gl.h:1893:23: error: previous declaration ‘void glMultiTexCoord2fv(GLenum, const GLfloat*)’ here
/usr/include/GL/glext.h:5547:71: error: declaration of C function ‘void glMultiTexCoord2i(GLenum, GLint, GLint)’ conflicts with
/usr/include/GL/gl.h:1895:23: error: previous declaration ‘void glMultiTexCoord2i(GLenum, GLint, GLint)’ here
/usr/include/GL/glext.h:5548:70: error: declaration of C function ‘void glMultiTexCoord2iv(GLenum, const GLint*)’ conflicts with
/usr/include/GL/gl.h:1897:23: error: previous declaration ‘void glMultiTexCoord2iv(GLenum, const GLint*)’ here
/usr/include/GL/glext.h:5549:75: error: declaration of C function ‘void glMultiTexCoord2s(GLenum, GLshort, GLshort)’ conflicts with
/usr/include/GL/gl.h:1899:23: error: previous declaration ‘void glMultiTexCoord2s(GLenum, GLshort, GLshort)’ here
/usr/include/GL/glext.h:5550:72: error: declaration of C function ‘void glMultiTexCoord2sv(GLenum, const GLshort*)’ conflicts with
/usr/include/GL/gl.h:1901:23: error: previous declaration ‘void glMultiTexCoord2sv(GLenum, const GLshort*)’ here
/usr/include/GL/glext.h:5551:89: error: declaration of C function ‘void glMultiTexCoord3d(GLenum, GLdouble, GLdouble, GLdouble)’ conflicts with
/usr/include/GL/gl.h:1903:23: error: previous declaration ‘void glMultiTexCoord3d(GLenum, GLdouble, GLdouble, GLdouble)’ here
/usr/include/GL/glext.h:5552:73: error: declaration of C function ‘void glMultiTexCoord3dv(GLenum, const GLdouble*)’ conflicts with
/usr/include/GL/gl.h:1905:23: error: previous declaration ‘void glMultiTexCoord3dv(GLenum, const GLdouble*)’ here
/usr/include/GL/glext.h:5553:86: error: declaration of C function ‘void glMultiTexCoord3f(GLenum, GLfloat, GLfloat, GLfloat)’ conflicts with
/usr/include/GL/gl.h:1907:23: error: previous declaration ‘void glMultiTexCoord3f(GLenum, GLfloat, GLfloat, GLfloat)’ here
/usr/include/GL/glext.h:5554:72: error: declaration of C function ‘void glMultiTexCoord3fv(GLenum, const GLfloat*)’ conflicts with
/usr/include/GL/gl.h:1909:23: error: previous declaration ‘void glMultiTexCoord3fv(GLenum, const GLfloat*)’ here
/usr/include/GL/glext.h:5555:80: error: declaration of C function ‘void glMultiTexCoord3i(GLenum, GLint, GLint, GLint)’ conflicts with
/usr/include/GL/gl.h:1911:23: error: previous declaration ‘void glMultiTexCoord3i(GLenum, GLint, GLint, GLint)’ here
/usr/include/GL/glext.h:5556:70: error: declaration of C function ‘void glMultiTexCoord3iv(GLenum, const GLint*)’ conflicts with
/usr/include/GL/gl.h:1913:23: error: previous declaration ‘void glMultiTexCoord3iv(GLenum, const GLint*)’ here
/usr/include/GL/glext.h:5557:86: error: declaration of C function ‘void glMultiTexCoord3s(GLenum, GLshort, GLshort, GLshort)’ conflicts with
/usr/include/GL/gl.h:1915:23: error: previous declaration ‘void glMultiTexCoord3s(GLenum, GLshort, GLshort, GLshort)’ here
/usr/include/GL/glext.h:5558:72: error: declaration of C function ‘void glMultiTexCoord3sv(GLenum, const GLshort*)’ conflicts with
/usr/include/GL/gl.h:1917:23: error: previous declaration ‘void glMultiTexCoord3sv(GLenum, const GLshort*)’ here
/usr/include/GL/glext.h:5559:101: error: declaration of C function ‘void glMultiTexCoord4d(GLenum, GLdouble, GLdouble, GLdouble, GLdouble)’ conflicts with
/usr/include/GL/gl.h:1919:23: error: previous declaration ‘void glMultiTexCoord4d(GLenum, GLdouble, GLdouble, GLdouble, GLdouble)’ here
/usr/include/GL/glext.h:5560:73: error: declaration of C function ‘void glMultiTexCoord4dv(GLenum, const GLdouble*)’ conflicts with
/usr/include/GL/gl.h:1921:23: error: previous declaration ‘void glMultiTexCoord4dv(GLenum, const GLdouble*)’ here
/usr/include/GL/glext.h:5561:97: error: declaration of C function ‘void glMultiTexCoord4f(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)’ conflicts with
/usr/include/GL/gl.h:1923:23: error: previous declaration ‘void glMultiTexCoord4f(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)’ here
/usr/include/GL/glext.h:5562:72: error: declaration of C function ‘void glMultiTexCoord4fv(GLenum, const GLfloat*)’ conflicts with
/usr/include/GL/gl.h:1925:23: error: previous declaration ‘void glMultiTexCoord4fv(GLenum, const GLfloat*)’ here
/usr/include/GL/glext.h:5563:89: error: declaration of C function ‘void glMultiTexCoord4i(GLenum, GLint, GLint, GLint, GLint)’ conflicts with
/usr/include/GL/gl.h:1927:23: error: previous declaration ‘void glMultiTexCoord4i(GLenum, GLint, GLint, GLint, GLint)’ here
/usr/include/GL/glext.h:5564:70: error: declaration of C function ‘void glMultiTexCoord4iv(GLenum, const GLint*)’ conflicts with
/usr/include/GL/gl.h:1929:23: error: previous declaration ‘void glMultiTexCoord4iv(GLenum, const GLint*)’ here
/usr/include/GL/glext.h:5565:97: error: declaration of C function ‘void glMultiTexCoord4s(GLenum, GLshort, GLshort, GLshort, GLshort)’ conflicts with
/usr/include/GL/gl.h:1931:23: error: previous declaration ‘void glMultiTexCoord4s(GLenum, GLshort, GLshort, GLshort, GLshort)’ here
/usr/include/GL/glext.h:5566:72: error: declaration of C function ‘void glMultiTexCoord4sv(GLenum, const GLshort*)’ conflicts with
/usr/include/GL/gl.h:1933:23: error: previous declaration ‘void glMultiTexCoord4sv(GLenum, const GLshort*)’ here
/usr/include/GL/glext.h:5567:61: error: declaration of C function ‘void glLoadTransposeMatrixf(const GLfloat*)’ conflicts with
/usr/include/GL/gl.h:1938:23: error: previous declaration ‘void glLoadTransposeMatrixf(const GLfloat*)’ here
/usr/include/GL/glext.h:5568:62: error: declaration of C function ‘void glLoadTransposeMatrixd(const GLdouble*)’ conflicts with
/usr/include/GL/gl.h:1936:23: error: previous declaration ‘void glLoadTransposeMatrixd(const GLdouble*)’ here
/usr/include/GL/glext.h:5569:61: error: declaration of C function ‘void glMultTransposeMatrixf(const GLfloat*)’ conflicts with
/usr/include/GL/gl.h:1942:23: error: previous declaration ‘void glMultTransposeMatrixf(const GLfloat*)’ here
/usr/include/GL/glext.h:5570:62: error: declaration of C function ‘void glMultTransposeMatrixd(const GLdouble*)’ conflicts with
/usr/include/GL/gl.h:1940:23: error: previous declaration ‘void glMultTransposeMatrixd(const GLdouble*)’ here
make[1]: *** [DVDVideoCodecFFmpeg.o] Error 1
make: *** [xbmc/cores/dvdplayer/DVDCodecs/Video/Video.a] Error 2```
neoflex commented 12 years ago

hi,

ok, a fix has been commited to upstream, I'll merged it here ASAP. If you can't wait, you can just deactivate vdpau (./configure --disable-vdpau) and it should work.

neoflex commented 12 years ago

it's should be fixed now ;) please confirm if it's ok for you too.

isaksamsten commented 12 years ago

It seems to compile. Thanks!