Hi everybody, 

I'm having the following problem getting SimGear compiled on a Windows XP 
system, using cygwin:

Compilation halts in simgear/scene/sky/clouds3d with a ton of errors about 
OpenGL functions being redefined elsewhere (see error msgs below). I'm using 
gcc 3.3.1 (cygming special), which is running on a recent version of cygwin 
(installed early Januari). I've done a full install of cygwin, including 
XFree86. I'm wondering if that's related to the problem. I did a fresh 
checkout of SimGear this evening, and went through the usual ./autogen; ./
configure; make cycle. The latest version of plib is installed and compiled 
without a glitch. This machine's video card is an ATI sapphire radeon 9600 
Atlantis.

The exact same code (cvs checkout within 15 minutes of each other) compiles 
perfectly on my linux box (running Suse 9.0; also using gcc 3.3.1), which has 
a now ancient NVIDIA GeForce II graphics card.

In the mean time, I've installed the pre-compiled binary which looks pretty 
marvelous. Thanks guys!

Does anybody have any experience compiling this particular piece of code under 
windows? Please let me know if you need additional information.

Thanks in advance,
Durk

Error log follows below:


In file included from extgl.c:85:
extgl.h:363: error: `glBlendColor' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1747: error: previous declaration of `glBlendColor'
extgl.h:364: error: `glBlendEquation' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1744: error: previous declaration of 
`glBlendEquation'
extgl.h:365: error: `glDrawRangeElements' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1689: error: previous declaration of 
`glDrawRangeElements'
extgl.h:366: error: `glColorTable' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1716: error: previous declaration of `glColorTable'
extgl.h:367: error: `glColorTableParameterfv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1727: error: previous declaration of 
`glColorTableParameterfv'
extgl.h:368: error: `glColorTableParameteriv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1724: error: previous declaration of 
`glColorTableParameteriv'
extgl.h:369: error: `glCopyColorTable' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1733: error: previous declaration of 
`glCopyColorTable'
extgl.h:370: error: `glGetColorTable' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1736: error: previous declaration of 
`glGetColorTable'
extgl.h:371: error: `glGetColorTableParameterfv' redeclared as different kind 
of symbol
/usr/X11R6/include/GL/gl.h:1739: error: previous declaration of 
`glGetColorTableParameterfv'
extgl.h:372: error: `glGetColorTableParameteriv' redeclared as different kind 
of symbol
/usr/X11R6/include/GL/gl.h:1742: error: previous declaration of 
`glGetColorTableParameteriv'
extgl.h:373: error: `glColorSubTable' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1721: error: previous declaration of 
`glColorSubTable'
extgl.h:374: error: `glCopyColorSubTable' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1730: error: previous declaration of 
`glCopyColorSubTable'
extgl.h:375: error: `glConvolutionFilter1D' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1781: error: previous declaration of 
`glConvolutionFilter1D'
extgl.h:376: error: `glConvolutionFilter2D' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1785: error: previous declaration of 
`glConvolutionFilter2D'
extgl.h:377: error: `glConvolutionParameterf' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1788: error: previous declaration of 
`glConvolutionParameterf'
extgl.h:378: error: `glConvolutionParameterfv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1791: error: previous declaration of 
`glConvolutionParameterfv'
extgl.h:379: error: `glConvolutionParameteri' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1794: error: previous declaration of 
`glConvolutionParameteri'
extgl.h:380: error: `glConvolutionParameteriv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1797: error: previous declaration of 
`glConvolutionParameteriv'
extgl.h:381: error: `glCopyConvolutionFilter1D' redeclared as different kind 
of symbol
/usr/X11R6/include/GL/gl.h:1800: error: previous declaration of 
`glCopyConvolutionFilter1D'
extgl.h:382: error: `glCopyConvolutionFilter2D' redeclared as different kind 
of symbol
/usr/X11R6/include/GL/gl.h:1804: error: previous declaration of 
`glCopyConvolutionFilter2D'
extgl.h:383: error: `glGetConvolutionFilter' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1807: error: previous declaration of 
`glGetConvolutionFilter'
extgl.h:384: error: `glGetConvolutionParameterfv' redeclared as different kind 
of symbol
/usr/X11R6/include/GL/gl.h:1810: error: previous declaration of 
`glGetConvolutionParameterfv'
extgl.h:385: error: `glGetConvolutionParameteriv' redeclared as different kind 
of symbol
/usr/X11R6/include/GL/gl.h:1813: error: previous declaration of 
`glGetConvolutionParameteriv'
extgl.h:386: error: `glGetSeparableFilter' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1820: error: previous declaration of 
`glGetSeparableFilter'
extgl.h:387: error: `glSeparableFilter2D' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1817: error: previous declaration of 
`glSeparableFilter2D'
extgl.h:388: error: `glGetHistogram' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1756: error: previous declaration of 
`glGetHistogram'
extgl.h:389: error: `glGetHistogramParameterfv' redeclared as different kind 
of symbol
/usr/X11R6/include/GL/gl.h:1759: error: previous declaration of 
`glGetHistogramParameterfv'
extgl.h:390: error: `glGetHistogramParameteriv' redeclared as different kind 
of symbol
/usr/X11R6/include/GL/gl.h:1762: error: previous declaration of 
`glGetHistogramParameteriv'
extgl.h:391: error: `glGetMinmax' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1771: error: previous declaration of `glGetMinmax'
extgl.h:392: error: `glGetMinmaxParameterfv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1774: error: previous declaration of 
`glGetMinmaxParameterfv'
extgl.h:393: error: `glGetMinmaxParameteriv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1777: error: previous declaration of 
`glGetMinmaxParameteriv'
extgl.h:394: error: `glHistogram' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1750: error: previous declaration of `glHistogram'
extgl.h:395: error: `glMinmax' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1765: error: previous declaration of `glMinmax'
extgl.h:396: error: `glResetHistogram' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1752: error: previous declaration of 
`glResetHistogram'
extgl.h:397: error: `glResetMinmax' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1767: error: previous declaration of 
`glResetMinmax'
extgl.h:398: error: `glTexImage3D' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1696: error: previous declaration of `glTexImage3D'
extgl.h:399: error: `glTexSubImage3D' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1703: error: previous declaration of 
`glTexSubImage3D'
extgl.h:400: error: `glCopyTexSubImage3D' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1709: error: previous declaration of 
`glCopyTexSubImage3D'
extgl.h:404: error: `glActiveTexture' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1826: error: previous declaration of 
`glActiveTexture'
extgl.h:405: error: `glClientActiveTexture' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1828: error: previous declaration of 
`glClientActiveTexture'
extgl.h:406: error: `glMultiTexCoord1d' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1844: error: previous declaration of 
`glMultiTexCoord1d'
extgl.h:407: error: `glMultiTexCoord1dv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1846: error: previous declaration of 
`glMultiTexCoord1dv'
extgl.h:408: error: `glMultiTexCoord1f' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1848: error: previous declaration of 
`glMultiTexCoord1f'
extgl.h:409: error: `glMultiTexCoord1fv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1850: error: previous declaration of 
`glMultiTexCoord1fv'
extgl.h:410: error: `glMultiTexCoord1i' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1852: error: previous declaration of 
`glMultiTexCoord1i'
extgl.h:411: error: `glMultiTexCoord1iv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1854: error: previous declaration of 
`glMultiTexCoord1iv'
extgl.h:412: error: `glMultiTexCoord1s' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1856: error: previous declaration of 
`glMultiTexCoord1s'
extgl.h:413: error: `glMultiTexCoord1sv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1858: error: previous declaration of 
`glMultiTexCoord1sv'
extgl.h:414: error: `glMultiTexCoord2d' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1860: error: previous declaration of 
`glMultiTexCoord2d'
extgl.h:415: error: `glMultiTexCoord2dv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1862: error: previous declaration of 
`glMultiTexCoord2dv'
extgl.h:416: error: `glMultiTexCoord2f' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1864: error: previous declaration of 
`glMultiTexCoord2f'
extgl.h:417: error: `glMultiTexCoord2fv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1866: error: previous declaration of 
`glMultiTexCoord2fv'
extgl.h:418: error: `glMultiTexCoord2i' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1868: error: previous declaration of 
`glMultiTexCoord2i'
extgl.h:419: error: `glMultiTexCoord2iv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1870: error: previous declaration of 
`glMultiTexCoord2iv'
extgl.h:420: error: `glMultiTexCoord2s' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1872: error: previous declaration of 
`glMultiTexCoord2s'
extgl.h:421: error: `glMultiTexCoord2sv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1874: error: previous declaration of 
`glMultiTexCoord2sv'
extgl.h:422: error: `glMultiTexCoord3d' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1876: error: previous declaration of 
`glMultiTexCoord3d'
extgl.h:423: error: `glMultiTexCoord3dv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1878: error: previous declaration of 
`glMultiTexCoord3dv'
extgl.h:424: error: `glMultiTexCoord3f' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1880: error: previous declaration of 
`glMultiTexCoord3f'
extgl.h:425: error: `glMultiTexCoord3fv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1882: error: previous declaration of 
`glMultiTexCoord3fv'
extgl.h:426: error: `glMultiTexCoord3i' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1884: error: previous declaration of 
`glMultiTexCoord3i'
extgl.h:427: error: `glMultiTexCoord3iv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1886: error: previous declaration of 
`glMultiTexCoord3iv'
extgl.h:428: error: `glMultiTexCoord3s' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1888: error: previous declaration of 
`glMultiTexCoord3s'
extgl.h:429: error: `glMultiTexCoord3sv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1890: error: previous declaration of 
`glMultiTexCoord3sv'
extgl.h:430: error: `glMultiTexCoord4d' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1892: error: previous declaration of 
`glMultiTexCoord4d'
extgl.h:431: error: `glMultiTexCoord4dv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1894: error: previous declaration of 
`glMultiTexCoord4dv'
extgl.h:432: error: `glMultiTexCoord4f' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1896: error: previous declaration of 
`glMultiTexCoord4f'
extgl.h:433: error: `glMultiTexCoord4fv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1898: error: previous declaration of 
`glMultiTexCoord4fv'
extgl.h:434: error: `glMultiTexCoord4i' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1900: error: previous declaration of 
`glMultiTexCoord4i'
extgl.h:435: error: `glMultiTexCoord4iv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1902: error: previous declaration of 
`glMultiTexCoord4iv'
extgl.h:436: error: `glMultiTexCoord4s' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1904: error: previous declaration of 
`glMultiTexCoord4s'
extgl.h:437: error: `glMultiTexCoord4sv' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1906: error: previous declaration of 
`glMultiTexCoord4sv'
extgl.h:438: error: `glLoadTransposeMatrixf' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1911: error: previous declaration of 
`glLoadTransposeMatrixf'
extgl.h:439: error: `glLoadTransposeMatrixd' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1909: error: previous declaration of 
`glLoadTransposeMatrixd'
extgl.h:440: error: `glMultTransposeMatrixf' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1915: error: previous declaration of 
`glMultTransposeMatrixf'
extgl.h:441: error: `glMultTransposeMatrixd' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1913: error: previous declaration of 
`glMultTransposeMatrixd'
extgl.h:442: error: `glCompressedTexImage3D' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1834: error: previous declaration of 
`glCompressedTexImage3D'
extgl.h:443: error: `glCompressedTexImage2D' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1832: error: previous declaration of 
`glCompressedTexImage2D'
extgl.h:444: error: `glCompressedTexImage1D' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1830: error: previous declaration of 
`glCompressedTexImage1D'
extgl.h:445: error: `glCompressedTexSubImage3D' redeclared as different kind 
of symbol
/usr/X11R6/include/GL/gl.h:1840: error: previous declaration of 
`glCompressedTexSubImage3D'
extgl.h:446: error: `glCompressedTexSubImage2D' redeclared as different kind 
of symbol
/usr/X11R6/include/GL/gl.h:1838: error: previous declaration of 
`glCompressedTexSubImage2D'
extgl.h:447: error: `glCompressedTexSubImage1D' redeclared as different kind 
of symbol
/usr/X11R6/include/GL/gl.h:1836: error: previous declaration of 
`glCompressedTexSubImage1D'
extgl.h:448: error: `glGetCompressedTexImage' redeclared as different kind of 
symbol
/usr/X11R6/include/GL/gl.h:1842: error: previous declaration of 
`glGetCompressedTexImage'
extgl.h:449: error: `glSampleCoverage' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:1917: error: previous declaration of 
`glSampleCoverage'
make[5]: *** [extgl.o] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to