I'm having problems building HOpenGL on NetBSD/i386:
/usr/local/bin/green-card --target ghc --name-mangling-scheme=classic --haskell1.4
GLUT_Callbacks.gc -o GLUT_Callbacks.hs
"GLUT_Callbacks.gc", proc. spec "", line 354: Parse error: Enum,Bounded) CUnsignedInt [
% GLUT_JOYSTICK_BUTTON_A,
% GLUT_JOYSTICK_BUTTON_B,
% GLUT_JOYSTI
gmake[1]: *** [GLUT_Callbacks.hs] Error 1
gmake: *** [depend] Error 1
the same error is apparent both with and without --haskell1.4. Also,
you were using --taget=ghc, which was wrong (should be --target ghc).
Comments in GLUT_Callbacks.gc suggest that my green-card is antiquated,
but however /usr/local/bin/green-card --version produces:
green-card, version 2.0
And I can't seem to find any more recent version than that.
Any ideas?
Cheers,
Julian.