#1712: unknown symbol “glutGet”
-------------------------------------------+--------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.8.1
Component: Compiler | Version: 6.8
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Linux | Testcase:
Architecture: x86 |
-------------------------------------------+--------------------------------
Comment (by guest):
A test case would be the source of Grapefruit as of 2007-10-20. (I hope,
a patch will soon get into the Grapefruit repository which works around
other GHC bugs so that Grapefruit can be compiled with
GHC 6.8.0.20071019.) Sorry, but I don’t have the time to produce a small
test case at the moment. :-(
Under GHC 6.8.0.20071019, I get the following error messages when linking
the {{{CircuitingObjects}}} example of Grapefruit:
{{{
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Initialization__343.o):
In function `s423_info':
ghc28369_0.hc:(.text+0x10e): undefined reference to `glutInit'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__72.o):
In function `s2QH_info':
ghc30142_0.hc:(.text+0x72): undefined reference to `glutSolidCube'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__72.o):
In function `s2QM_info':
ghc30142_0.hc:(.text+0x115): undefined reference to `glutSolidSphere'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__72.o):
In function `s2QS_info':
ghc30142_0.hc:(.text+0x262): undefined reference to `glutSolidCone'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__72.o):
In function `s2R5_info':
ghc30142_0.hc:(.text+0x5ea): undefined reference to `glutSolidTorus'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__72.o):
In function `s2R8_info':
ghc30142_0.hc:(.text+0x792): undefined reference to `glutSolidTeapot'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__72.o):
In function `s2Ri_info':
ghc30142_0.hc:(.text+0xad2): undefined reference to `glutWireCube'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__72.o):
In function `s2Rn_info':
ghc30142_0.hc:(.text+0xb75): undefined reference to `glutWireSphere'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__72.o):
In function `s2Rt_info':
ghc30142_0.hc:(.text+0xcc2): undefined reference to `glutWireCone'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__72.o):
In function `s2RG_info':
ghc30142_0.hc:(.text+0x104a): undefined reference to `glutWireTorus'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__72.o):
In function `s2RJ_info':
ghc30142_0.hc:(.text+0x11f2): undefined reference to `glutWireTeapot'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__64.o):
In function
`GLUTzm2zi1zi1_GraphicsziUIziGLUTziObjects_zdLrGTsolidDodecahedron_info':
ghc30142_0.hc:(.text+0xd): undefined reference to `glutSolidDodecahedron'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__65.o):
In function
`GLUTzm2zi1zi1_GraphicsziUIziGLUTziObjects_zdLrGRwireDodecahedron_info':
ghc30142_0.hc:(.text+0xd): undefined reference to `glutWireDodecahedron'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__66.o):
In function
`GLUTzm2zi1zi1_GraphicsziUIziGLUTziObjects_zdLrGPwireIcosahedron_info':
ghc30142_0.hc:(.text+0xd): undefined reference to `glutWireIcosahedron'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__67.o):
In function
`GLUTzm2zi1zi1_GraphicsziUIziGLUTziObjects_zdLrGNsolidIcosahedron_info':
ghc30142_0.hc:(.text+0xd): undefined reference to `glutSolidIcosahedron'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__68.o):
In function
`GLUTzm2zi1zi1_GraphicsziUIziGLUTziObjects_zdLrGLsolidOctahedron_info':
ghc30142_0.hc:(.text+0xd): undefined reference to `glutSolidOctahedron'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__69.o):
In function
`GLUTzm2zi1zi1_GraphicsziUIziGLUTziObjects_zdLrGJwireOctahedron_info':
ghc30142_0.hc:(.text+0xd): undefined reference to `glutWireOctahedron'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__70.o):
In function
`GLUTzm2zi1zi1_GraphicsziUIziGLUTziObjects_zdLrGHwireTetrahedron_info':
ghc30142_0.hc:(.text+0xd): undefined reference to `glutWireTetrahedron'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(Objects__71.o):
In function
`GLUTzm2zi1zi1_GraphicsziUIziGLUTziObjects_zdLrGFsolidTetrahedron_info':
ghc30142_0.hc:(.text+0xd): undefined reference to `glutSolidTetrahedron'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(HsGLUT.o):
In function `hs_GLUT_marshalBitmapFont':
HsGLUT.c:(.text+0x15): undefined reference to `glutBitmap8By13'
HsGLUT.c:(.text+0x1f): undefined reference to `glutBitmap9By15'
HsGLUT.c:(.text+0x26): undefined reference to `glutBitmapTimesRoman10'
HsGLUT.c:(.text+0x2d): undefined reference to `glutBitmapTimesRoman24'
HsGLUT.c:(.text+0x34): undefined reference to `glutBitmapHelvetica10'
HsGLUT.c:(.text+0x3b): undefined reference to `glutBitmapHelvetica12'
HsGLUT.c:(.text+0x42): undefined reference to `glutBitmapHelvetica18'
/home/jeltsch/Dokumente/Wissenschaft/Software/installiert/ghc-6.8.0.20071019/lib/ghc-6.8.0.20071019/lib/GLUT-2.1.1/libHSGLUT-2.1.1.a(HsGLUT.o):
In function `hs_GLUT_marshalStrokeFont':
HsGLUT.c:(.text+0x51): undefined reference to `glutStrokeRoman'
HsGLUT.c:(.text+0x59): undefined reference to `glutStrokeMonoRoman'
}}}
Is the binary build of GHC compatible with several versions of OpenGL? I
use MESA 6.5.1.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1712#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs