
we have compiled ghc-6.2 --enable-hopengl from source (with ghc-6.0) on SunOS userv2 5.8 Generic_108528-27 sun4u sparc SUNW,Ultra-60. it installs and compiles fine but not for programs that use OpenGL: ghc --make -Wall -fglasgow-exts -package OpenGL ... we get this linker error: Linking ... Undefined first referenced symbol in file glXGetProcAddressARB /usr/local/share/ghc/lib/ghc-6.2/libHSOpenGL_cbits.a(HsOpenGL.o) any ideas? -- -- Johannes Waldmann, Tel/Fax: (0341) 3076 6479 / 6480 -- ------ http://www.imn.htwk-leipzig.de/~waldmann/ ---------

In local.glasgow-haskell-users, you wrote:
we have compiled ghc-6.2 --enable-hopengl from source (with ghc-6.0) on SunOS userv2 5.8 Generic_108528-27 sun4u sparc SUNW,Ultra-60.
Linking ... Undefined first referenced symbol in file glXGetProcAddressARB /usr/local/share/ghc/lib/ghc-6.2/libHSOpenGL_cbits.a(HsOpenGL.o)
Can you check your header files? Here it's #ifdef'd inside of GLX_GLXEXT_LEGACY. -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME rage against the finite state machine
participants (2)
-
Johannes Waldmann
-
Volker Stolz