Hm. This problem seems to have gone away on its own. Never mind.... - Conal<br><br><div class="gmail_quote">On Thu, Nov 6, 2008 at 1:46 PM, Conal Elliott <span dir="ltr"><<a href="mailto:conal@conal.net">conal@conal.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">While building the GLUT package (GLUT-2.1.1.2) with ghc 6.10.1, I get the following errors. I recently compiled this same version successfully in ghc-6.11.20081103.<br>
<br>Any idea what's gone wrong?<br><br> [20 of 21] Compiling Graphics.UI.GLUT.Begin ( Graphics/UI/GLUT/Begin.hs, dist/build/Graphics/UI/GLUT/Begin.o )<br>
[21 of 21] Compiling Graphics.UI.GLUT ( Graphics/UI/GLUT.hs, dist/build/Graphics/UI/GLUT.o )<br> cbits/HsGLUT.c: In function `hs_GLUT_marshalBitmapFont':<br> cbits/HsGLUT.c:26:0:<br> error: `GLUT_BITMAP_8_BY_13' undeclared (first use in this function)<br>
cbits/HsGLUT.c:26:0:<br> error: (Each undeclared identifier is reported only once<br> cbits/HsGLUT.c:26:0: error: for each function it appears in.)<br> cbits/HsGLUT.c:27:0:<br> error: `GLUT_BITMAP_9_BY_15' undeclared (first use in this function)<br>
cbits/HsGLUT.c:28:0:<br> error: `GLUT_BITMAP_TIMES_ROMAN_10' undeclared (first use in this function)<br> cbits/HsGLUT.c:29:0:<br> error: `GLUT_BITMAP_TIMES_ROMAN_24' undeclared (first use in this function)<br>
cbits/HsGLUT.c:30:0:<br> error: `GLUT_BITMAP_HELVETICA_10' undeclared (first use in this function)<br> cbits/HsGLUT.c:31:0:<br> error: `GLUT_BITMAP_HELVETICA_12' undeclared (first use in this function)<br>
cbits/HsGLUT.c:32:0:<br> error: `GLUT_BITMAP_HELVETICA_18' undeclared (first use in this function)<br> cbits/HsGLUT.c: In function `hs_GLUT_marshalStrokeFont':<br> cbits/HsGLUT.c:41:0:<br> error: `GLUT_STROKE_ROMAN' undeclared (first use in this function)<br>
cbits/HsGLUT.c:42:0:<br> error: `GLUT_STROKE_MONO_ROMAN' undeclared (first use in this function)<br><br><br>
</blockquote></div><br>