Error installing HOpenGL under Win32

Manuel Garcia Rodriguez <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
Hello all, this my first time.

I've installed Cygwin and GHC + GreenCard for win32. 
X Window and OpenGL (Mesa) is operative. I think that
is a full installation of Cygwin (all packages).
HOpenGL install doesn't succeed, I've attached the
make output, if anyone can help me.

I tried to make RedBook_C examples, too, but linker
doesn't resolve glut calls.

Thanks, and sorry for bad grammar ;).


___________________________________________________
Yahoo! Sorteos
Consulta si tu número ha sido premiado en
Yahoo! Sorteos http://loteria.yahoo.es
error-hgl-winxp.txt (text/plain, 23.4 KB)
manuel@PCMANUEL /usr/src/HOpenGL-1.03
$ ./configure
checking for gcc... gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... .exe
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for green-card... /usr/greencard/green-card
checking for ghc... /usr/ghc/bin/ghc
checking for etags... /usr/bin/etags
checking for hstags... no
configure: WARNING: Using etags as a replacement for hstags
checking for ghc-pkg... /usr/ghc/bin/ghc-pkg
checking syslib for GetOpt... util
checking syslib for Addr... lang
checking for buggy readXXXOffAddr/inliner and hGetBufFull/Foreign... no
checking for -package-name GHC flag... yes
checking for -split-objs bug... no
checking whether Green Card has comma bug... no
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... no
checking for shmat in -lipc... no
checking for IceConnectionNumber in -lICE... yes
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for library containing glEnd... -lGL
checking for library containing gluNewQuadric... -lGLU
checking for library containing glXWaitX... none required
checking for library containing glutMainLoop... no
checking OpenGL flags...   -I/usr/X11R6/include
checking OpenGL libs...  -lGLU -lGL  -lSM -lICE  -L/usr/X11R6/lib -lX11 -lXext -
lXmu -lXt -lXi
checking GL version... 1.2
checking GLU version... 1.3
checking for GL/glut.h... yes
checking GLUT API version... 3
checking GLUT Xlib implementation... >= 13
checking size of char... 1
checking alignment of char... 1
checking size of int... 4
checking alignment of int... 4
checking size of void *... 4
checking alignment of void *... 4
checking size of float... 4
checking alignment of float... 4
checking size of double... 8
checking alignment of double... 8
configure: creating ./config.status
config.status: creating config.mk
config.status: creating lib/HOpenGL.conf
config.status: creating lib/Makefile
config.status: creating lib/GL_FFI.hs
config.status: creating lib/GL_CoordTrans.gc
config.status: creating lib/GL_Colors.gc
config.status: creating lib/GL_VertexArray.gc
config.status: creating lib/GL_PixelRect.gc
config.status: creating lib/GL_Texturing.gc
config.status: creating lib/GL_PerFragment.gc
config.status: creating lib/GL_EnumQueries2.gc
config.status: creating lib/GL_EnumQueries3.gc
config.status: creating lib/GL_EnumQueries4.gc
config.status: creating lib/GL_EnumQueries5.gc
config.status: creating lib/GL_EnumQueries7.gc
config.status: creating lib/GL.hs
config.status: creating lib/GLU_NURBS.gc
config.status: creating lib/GLUT.hs
config.status: creating lib/GLUT_CBWindow.gc
config.status: creating lib/GLUT_CBGlobal.gc
config.status: creating lib/GLUT_Fonts.gc
config.status: creating lib/GLUT_Game.gc
config.status: creating lib/GLUT_Init.gc
config.status: creating lib/GLUT_Misc.gc
config.status: creating lib/GLUT_Overlay.hs
config.status: creating lib/GLUT_Resize.gc
config.status: creating lib/GLUT_State.gc
config.status: creating lib/GLUT_Window.gc
config.status: creating examples/misc/Makefile
config.status: creating examples/misc/TestGLUT.hs
config.status: creating examples/redbook_HS/Makefile
config.status: creating examples/redbook_C/Makefile.linux
*******************************************************
Configuration done successfully.
Now do "make depend " and then "make" or "make install"
*******************************************************

manuel@PCMANUEL /usr/src/HOpenGL-1.03
$ make depend
------------------------------------------------------------------------
Recursively making `depend' in lib examples ...
PWD = /usr/src/HOpenGL-1.03
------------------------------------------------------------------------
------------------------------------------------------------------------
make depend - --unix;
in /usr/src/HOpenGL-1.03/lib
------------------------------------------------------------------------
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLUT_CBGlobal
.gc -o GLUT_CBGlobal.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLUT_CBWindow
.gc -o GLUT_CBWindow.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLUT_Fonts.gc
 -o GLUT_Fonts.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLUT_Game.gc
-o GLUT_Game.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLUT_Init.gc
-o GLUT_Init.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLUT_Menu.gc
-o GLUT_Menu.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLUT_Misc.gc
-o GLUT_Misc.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLUT_Objects.
gc -o GLUT_Objects.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLUT_Resize.g
c -o GLUT_Resize.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLUT_State.gc
 -o GLUT_State.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLUT_Window.g
c -o GLUT_Window.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLU_Errors.gc
 -o GLU_Errors.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLU_Init.gc -
o GLU_Init.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLU_Matrix.gc
 -o GLU_Matrix.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLU_Mipmap.gc
 -o GLU_Mipmap.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLU_NURBS.gc
-o GLU_NURBS.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLU_Quadrics.
gc -o GLU_Quadrics.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GLU_Tess.gc -
o GLU_Tess.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_BasicTypes
.gc -o GL_BasicTypes.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_BeginEnd.g
c -o GL_BeginEnd.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_Bitmaps.gc
 -o GL_Bitmaps.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_Clipping.g
c -o GL_Clipping.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_Colors.gc
-o GL_Colors.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_CoordTrans
.gc -o GL_CoordTrans.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_DIS.gc -o
GL_DIS.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_DisplayLis
t.gc -o GL_DisplayList.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_EnumQuerie
s1.gc -o GL_EnumQueries1.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_EnumQuerie
s2.gc -o GL_EnumQueries2.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_EnumQuerie
s3.gc -o GL_EnumQueries3.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_EnumQuerie
s4.gc -o GL_EnumQueries4.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_EnumQuerie
s5.gc -o GL_EnumQueries5.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_EnumQuerie
s6.gc -o GL_EnumQueries6.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_EnumQuerie
s7.gc -o GL_EnumQueries7.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_Errors.gc
-o GL_Errors.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_Evaluators
.gc -o GL_Evaluators.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_Feedback.g
c -o GL_Feedback.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_Fog.gc -o
GL_Fog.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_Framebuffe
r.gc -o GL_Framebuffer.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_Hints.gc -
o GL_Hints.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_LineSeg.gc
 -o GL_LineSeg.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_MovePixels
.gc -o GL_MovePixels.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_PerFragmen
t.gc -o GL_PerFragment.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_PixelRect.
gc -o GL_PixelRect.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_Points.gc
-o GL_Points.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_Polygons.g
c -o GL_Polygons.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_Query.gc -
o GL_Query.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_QueryUtils
.gc -o GL_QueryUtils.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_RasterPos.
gc -o GL_RasterPos.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_Rectangles
.gc -o GL_Rectangles.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_SavResStat
e.gc -o GL_SavResState.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_Selection.
gc -o GL_Selection.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_Texturing.
gc -o GL_Texturing.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_VertexArra
y.gc -o GL_VertexArray.hs
"/usr/greencard/green-card" -t ghc --name-mangling-scheme=classic  GL_VertexSpec
.gc -o GL_VertexSpec.hs
"/usr/ghc/bin/ghc" -M -optdep-f -optdep.depend  -syslib lang -split-objs   -pack
age-name HOpenGL -fglasgow-exts    -I/usr/X11R6/include "-#include <GL/glut.h>"
-O   GL.hs GLU.hs GLUT.hs GLUT_CallbackUtils.hs GLUT_Colormap.hs GLUT_Overlay.hs
 GL_BinaryIO.hs GL_FFI.hs GL_FlushFinish.hs GL_Marshal.hs GLUT_CBGlobal.hs GLUT_
CBWindow.hs GLUT_Fonts.hs GLUT_Game.hs GLUT_Init.hs GLUT_Menu.hs GLUT_Misc.hs GL
UT_Objects.hs GLUT_Resize.hs GLUT_State.hs GLUT_Window.hs GLU_Errors.hs GLU_Init
.hs GLU_Matrix.hs GLU_Mipmap.hs GLU_NURBS.hs GLU_Quadrics.hs GLU_Tess.hs GL_Basi
cTypes.hs GL_BeginEnd.hs GL_Bitmaps.hs GL_Clipping.hs GL_Colors.hs GL_CoordTrans
.hs GL_DIS.hs GL_DisplayList.hs GL_EnumQueries1.hs GL_EnumQueries2.hs GL_EnumQue
ries3.hs GL_EnumQueries4.hs GL_EnumQueries5.hs GL_EnumQueries6.hs GL_EnumQueries
7.hs GL_Errors.hs GL_Evaluators.hs GL_Feedback.hs GL_Fog.hs GL_Framebuffer.hs GL
_Hints.hs GL_LineSeg.hs GL_MovePixels.hs GL_PerFragment.hs GL_PixelRect.hs GL_Po
ints.hs GL_Polygons.hs GL_Query.hs GL_QueryUtils.hs GL_RasterPos.hs GL_Rectangle
s.hs GL_SavResState.hs GL_Selection.hs GL_Texturing.hs GL_VertexArray.hs GL_Vert
exSpec.hs
------------------------------------------------------------------------
make depend - --unix;
in /usr/src/HOpenGL-1.03/examples
------------------------------------------------------------------------
------------------------------------------------------------------------
Recursively making `depend' in misc redbook_HS redbook_C ...
PWD = /usr/src/HOpenGL-1.03/examples
------------------------------------------------------------------------
------------------------------------------------------------------------
make depend - --unix - --no-print-directory;
in /usr/src/HOpenGL-1.03/examples/misc
------------------------------------------------------------------------
"/usr/ghc/bin/ghc" -M -optdep-f -optdep.depend  -i../../lib -I../../lib -syslib
util -fglasgow-exts    -I/usr/X11R6/include "-#include <GL/glut.h>" -O   BSP.hs
BitSet.hs BspTree.hs ClipTree.hs DFace.hs Entity.hs FPSCounter.hs Geometry.hs In
fo.hs MipTex.hs Misc.hs PackLib.hs Plane.hs Player.hs QBSP.hs QuakeMovement.hs Q
uakeTypes.hs RenderBsp.hs TestGLUT.hs Text.hs UserInput.hs
------------------------------------------------------------------------
make depend - --unix - --no-print-directory;
in /usr/src/HOpenGL-1.03/examples/redbook_HS
------------------------------------------------------------------------
"/usr/ghc/bin/ghc" -M -optdep-f -optdep.depend  -i../../lib -I../../lib -syslib
lang -fglasgow-exts    -I/usr/X11R6/include "-#include <GL/glut.h>" -O   AAIndex
.hs AAPoly.hs AARGB.hs AccAnti.hs AccPersp.hs Alpha.hs Alpha3D.hs Anti.hs BezCur
ve.hs BezMesh.hs BezSurf.hs BlendEqn.hs Checker.hs Clip.hs ColorMat.hs Cube.hs D
List.hs DOF.hs DepthCue.hs Double.hs DrawF.hs Feedback.hs Fog.hs FogIndex.hs Fon
t.hs Hello.hs Image.hs Jitter.hs Light.hs Lines.hs Material.hs Mipmap.hs Model.h
s MoveLight.hs Nurbs.hs PickDepth.hs PickSquare.hs Plane.hs Planet.hs PolyOff.hs
 Polys.hs Quadric.hs Robot.hs ScColorLight.hs Scene.hs SceneBAmb.hs SceneFlat.hs
 Select.hs Smooth.hs Stencil.hs Stroke.hs Surface.hs TeaAmbient.hs Teapots.hs Te
ss.hs TexBind.hs TexGen.hs TexProx.hs TexSub.hs TextureSurf.hs Torus.hs Trim.hs
Unproject.hs Varray.hs Wrap.hs
------------------------------------------------------------------------
make depend - --unix - --no-print-directory;
in /usr/src/HOpenGL-1.03/examples/redbook_C
------------------------------------------------------------------------
------------------------------------------------------------------------
Finished making `depend' in misc redbook_HS redbook_C ...
PWD = /usr/src/HOpenGL-1.03/examples
------------------------------------------------------------------------
------------------------------------------------------------------------
Finished making `depend' in lib examples ...
PWD = /usr/src/HOpenGL-1.03
------------------------------------------------------------------------


manuel@PCMANUEL /usr/src/HOpenGL-1.03
$ make all
------------------------------------------------------------------------
Recursively making `all' in lib examples ...
PWD = /usr/src/HOpenGL-1.03
------------------------------------------------------------------------
------------------------------------------------------------------------
make all - --unix;
in /usr/src/HOpenGL-1.03/lib
------------------------------------------------------------------------
rm -f GL_BinaryIO.o ; if [ ! -d GL_BinaryIO ]; then mkdir GL_BinaryIO; else find
 GL_BinaryIO -name '*.o' -print | xargs -s 8000 rm -f __rm_food ; fi ;
"/usr/ghc/bin/ghc" -syslib lang -split-objs -odir GL_BinaryIO -package-name HOpe
nGL -fglasgow-exts    -I/usr/X11R6/include "-#include <GL/glut.h>" -O   -c GL_Bi
naryIO.hs -o GL_BinaryIO.o
touch GL_BinaryIO.o ;
rm -f GL_FFI.o ; if [ ! -d GL_FFI ]; then mkdir GL_FFI; else find GL_FFI -name '
*.o' -print | xargs -s 8000 rm -f __rm_food ; fi ;
"/usr/ghc/bin/ghc" -syslib lang -split-objs -odir GL_FFI -package-name HOpenGL -
fglasgow-exts    -I/usr/X11R6/include "-#include <GL/glut.h>" -O   -c GL_FFI.hs
-o GL_FFI.o

GL_FFI.hs:30:
    Warning: foreign declaration uses deprecated non-standard syntax
touch GL_FFI.o ;
rm -f GL_Marshal.o ; if [ ! -d GL_Marshal ]; then mkdir GL_Marshal; else find GL
_Marshal -name '*.o' -print | xargs -s 8000 rm -f __rm_food ; fi ;
"/usr/ghc/bin/ghc" -syslib lang -split-objs -odir GL_Marshal -package-name HOpen
GL -fglasgow-exts    -I/usr/X11R6/include "-#include <GL/glut.h>" -O   -c GL_Mar
shal.hs -o GL_Marshal.o
touch GL_Marshal.o ;
rm -f GL_DIS.o ; if [ ! -d GL_DIS ]; then mkdir GL_DIS; else find GL_DIS -name '
*.o' -print | xargs -s 8000 rm -f __rm_food ; fi ;
"/usr/ghc/bin/ghc" -syslib lang -split-objs -odir GL_DIS -package-name HOpenGL -
fglasgow-exts    -I/usr/X11R6/include "-#include <GL/glut.h>" -O   -c GL_DIS.hs
-o GL_DIS.o
touch GL_DIS.o ;
rm -f GL_BasicTypes.o ; if [ ! -d GL_BasicTypes ]; then mkdir GL_BasicTypes; els
e find GL_BasicTypes -name '*.o' -print | xargs -s 8000 rm -f __rm_food ; fi ;
"/usr/ghc/bin/ghc" -syslib lang -split-objs -odir GL_BasicTypes -package-name HO
penGL -fglasgow-exts    -I/usr/X11R6/include "-#include <GL/glut.h>" -O   -c GL_
BasicTypes.hs -o GL_BasicTypes.o
touch GL_BasicTypes.o ;
rm -f GL_Query.o ; if [ ! -d GL_Query ]; then mkdir GL_Query; else find GL_Query
 -name '*.o' -print | xargs -s 8000 rm -f __rm_food ; fi ;
"/usr/ghc/bin/ghc" -syslib lang -split-objs -odir GL_Query -package-name HOpenGL
 -fglasgow-exts    -I/usr/X11R6/include "-#include <GL/glut.h>" -O   -c GL_Query
.hs -o GL_Query.o

GL_Query.hs:121:
    Warning: foreign declaration uses deprecated non-standard syntax
H:\cygwin\tmp\ghc248.hc: In function `GLzuQuery_zdwzdfGettableVarGLExtensions_fa
st1':
H:\cygwin\tmp\ghc248.hc:84: warning: assignment discards qualifiers from pointer
 target type
H:\cygwin\tmp\ghc248.hc: In function `GLzuQuery_zdwzdfGettableVarGLVersion_fast1
':
H:\cygwin\tmp\ghc248.hc:1614: warning: assignment discards qualifiers from point
er target type
H:\cygwin\tmp\ghc248.hc: In function `safU_1_alt':
H:\cygwin\tmp\ghc248.hc:3892: warning: assignment discards qualifiers from point
er target type
H:\cygwin\tmp\ghc248.hc: In function `safU_2_alt':
H:\cygwin\tmp\ghc248.hc:3921: warning: assignment discards qualifiers from point
er target type
touch GL_Query.o ;
rm -f GL_SavResState.o ; if [ ! -d GL_SavResState ]; then mkdir GL_SavResState;
else find GL_SavResState -name '*.o' -print | xargs -s 8000 rm -f __rm_food ; fi
 ;
"/usr/ghc/bin/ghc" -syslib lang -split-objs -odir GL_SavResState -package-name H
OpenGL -fglasgow-exts    -I/usr/X11R6/include "-#include <GL/glut.h>" -O   -c GL
_SavResState.hs -o GL_SavResState.o

GL_SavResState.hs:135:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_SavResState.hs:137:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_SavResState.hs:164:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_SavResState.hs:166:
    Warning: foreign declaration uses deprecated non-standard syntax
touch GL_SavResState.o ;
rm -f GL_Errors.o ; if [ ! -d GL_Errors ]; then mkdir GL_Errors; else find GL_Er
rors -name '*.o' -print | xargs -s 8000 rm -f __rm_food ; fi ;
"/usr/ghc/bin/ghc" -syslib lang -split-objs -odir GL_Errors -package-name HOpenG
L -fglasgow-exts    -I/usr/X11R6/include "-#include <GL/glut.h>" -O   -c GL_Erro
rs.hs -o GL_Errors.o
touch GL_Errors.o ;
rm -f GL_VertexSpec.o ; if [ ! -d GL_VertexSpec ]; then mkdir GL_VertexSpec; els
e find GL_VertexSpec -name '*.o' -print | xargs -s 8000 rm -f __rm_food ; fi ;
"/usr/ghc/bin/ghc" -syslib lang -split-objs -odir GL_VertexSpec -package-name HO
penGL -fglasgow-exts    -I/usr/X11R6/include "-#include <GL/glut.h>" -O   -c GL_
VertexSpec.hs -o GL_VertexSpec.o
touch GL_VertexSpec.o ;
rm -f GL_Feedback.o ; if [ ! -d GL_Feedback ]; then mkdir GL_Feedback; else find
 GL_Feedback -name '*.o' -print | xargs -s 8000 rm -f __rm_food ; fi ;
"/usr/ghc/bin/ghc" -syslib lang -split-objs -odir GL_Feedback -package-name HOpe
nGL -fglasgow-exts    -I/usr/X11R6/include "-#include <GL/glut.h>" -O   -c GL_Fe
edback.hs -o GL_Feedback.o

GL_Feedback.hs:85:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_Feedback.hs:224:
    Warning: foreign declaration uses deprecated non-standard syntax
touch GL_Feedback.o ;
rm -f GL_Selection.o ; if [ ! -d GL_Selection ]; then mkdir GL_Selection; else f
ind GL_Selection -name '*.o' -print | xargs -s 8000 rm -f __rm_food ; fi ;
"/usr/ghc/bin/ghc" -syslib lang -split-objs -odir GL_Selection -package-name HOp
enGL -fglasgow-exts    -I/usr/X11R6/include "-#include <GL/glut.h>" -O   -c GL_S
election.hs -o GL_Selection.o

GL_Selection.hs:97:
    Warning: foreign declaration uses deprecated non-standard syntax
touch GL_Selection.o ;
rm -f GL_BeginEnd.o ; if [ ! -d GL_BeginEnd ]; then mkdir GL_BeginEnd; else find
 GL_BeginEnd -name '*.o' -print | xargs -s 8000 rm -f __rm_food ; fi ;
"/usr/ghc/bin/ghc" -syslib lang -split-objs -odir GL_BeginEnd -package-name HOpe
nGL -fglasgow-exts    -I/usr/X11R6/include "-#include <GL/glut.h>" -O   -c GL_Be
ginEnd.hs -o GL_BeginEnd.o
touch GL_BeginEnd.o ;
rm -f GL_VertexArray.o ; if [ ! -d GL_VertexArray ]; then mkdir GL_VertexArray;
else find GL_VertexArray -name '*.o' -print | xargs -s 8000 rm -f __rm_food ; fi
 ;
"/usr/ghc/bin/ghc" -syslib lang -split-objs -odir GL_VertexArray -package-name H
OpenGL -fglasgow-exts    -I/usr/X11R6/include "-#include <GL/glut.h>" -O   -c GL
_VertexArray.hs -o GL_VertexArray.o

GL_VertexArray.hs:151:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_VertexArray.hs:156:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_VertexArray.hs:161:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_VertexArray.hs:166:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_VertexArray.hs:171:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_VertexArray.hs:176:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_VertexArray.hs:235:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_VertexArray.hs:241:
    Warning: foreign declaration uses deprecated non-standard syntax

GL_VertexArray.hs:312:
    Warning: foreign declaration uses deprecated non-standard syntax
H:\cygwin\tmp\ghc584.hc: In function `saI0_ret':
H:\cygwin\tmp\ghc584.hc:497: `GL_UNSIGNED_INT_10_10_10_2' undeclared (first use
in this function)
H:\cygwin\tmp\ghc584.hc:497: (Each undeclared identifier is reported only once
H:\cygwin\tmp\ghc584.hc:497: for each function it appears in.)
H:\cygwin\tmp\ghc584.hc:502: `GL_UNSIGNED_INT_8_8_8_8_REV' undeclared (first use
 in this function)
H:\cygwin\tmp\ghc584.hc:507: `GL_UNSIGNED_INT_8_8_8_8' undeclared (first use in
this function)
H:\cygwin\tmp\ghc584.hc:512: `GL_UNSIGNED_SHORT_1_5_5_5_REV' undeclared (first u
se in this function)
H:\cygwin\tmp\ghc584.hc:517: `GL_UNSIGNED_SHORT_5_5_5_1' undeclared (first use i
n this function)
H:\cygwin\tmp\ghc584.hc:522: `GL_UNSIGNED_SHORT_4_4_4_4_REV' undeclared (first u
se in this function)
H:\cygwin\tmp\ghc584.hc:527: `GL_UNSIGNED_SHORT_4_4_4_4' undeclared (first use i
n this function)
H:\cygwin\tmp\ghc584.hc:532: `GL_UNSIGNED_SHORT_5_6_5_REV' undeclared (first use
 in this function)
H:\cygwin\tmp\ghc584.hc:537: `GL_UNSIGNED_SHORT_5_6_5' undeclared (first use in
this function)
H:\cygwin\tmp\ghc584.hc:542: `GL_UNSIGNED_BYTE_2_3_3_REV' undeclared (first use
in this function)
H:\cygwin\tmp\ghc584.hc:547: `GL_UNSIGNED_BYTE_3_3_2' undeclared (first use in t
his function)
H:\cygwin\tmp\ghc584.hc:612: `GL_UNSIGNED_INT_2_10_10_10_REV' undeclared (first
use in this function)
H:\cygwin\tmp\ghc584.hc: In function `GLzuVertexArray_zdwunmarshallzuType_fast1'
:
H:\cygwin\tmp\ghc584.hc:822: `GL_UNSIGNED_BYTE_3_3_2' undeclared (first use in t
his function)
H:\cygwin\tmp\ghc584.hc:824: `GL_UNSIGNED_BYTE_2_3_3_REV' undeclared (first use
in this function)
H:\cygwin\tmp\ghc584.hc:826: `GL_UNSIGNED_SHORT_5_6_5' undeclared (first use in
this function)
H:\cygwin\tmp\ghc584.hc:828: `GL_UNSIGNED_SHORT_5_6_5_REV' undeclared (first use
 in this function)
H:\cygwin\tmp\ghc584.hc:830: `GL_UNSIGNED_SHORT_4_4_4_4' undeclared (first use i
n this function)
H:\cygwin\tmp\ghc584.hc:832: `GL_UNSIGNED_SHORT_4_4_4_4_REV' undeclared (first u
se in this function)
H:\cygwin\tmp\ghc584.hc:834: `GL_UNSIGNED_SHORT_5_5_5_1' undeclared (first use i
n this function)
H:\cygwin\tmp\ghc584.hc:836: `GL_UNSIGNED_SHORT_1_5_5_5_REV' undeclared (first u
se in this function)
H:\cygwin\tmp\ghc584.hc:838: `GL_UNSIGNED_INT_8_8_8_8' undeclared (first use in
this function)
H:\cygwin\tmp\ghc584.hc:840: `GL_UNSIGNED_INT_8_8_8_8_REV' undeclared (first use
 in this function)
H:\cygwin\tmp\ghc584.hc:842: `GL_UNSIGNED_INT_10_10_10_2' undeclared (first use
in this function)
H:\cygwin\tmp\ghc584.hc:844: `GL_UNSIGNED_INT_2_10_10_10_REV' undeclared (first
use in this function)
H:\cygwin\tmp\ghc584.hc: In function `saJz_ret':
H:\cygwin\tmp\ghc584.hc:3163: warning: implicit declaration of function `glDrawR
angeElements'
make[1]: *** [GL_VertexArray.o] Error 1
make: *** [all] Error 1

manuel@PCMANUEL /usr/src/HOpenGL-1.03
$
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.