Re: ANNOUNCE: HOpenGL 1.05 released
Jens Petersen <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.hopengl |
|---|---|
| Message-ID | <m3u1584qmx.wl%[email protected]> |
>>>>> "SP" == Sven Panne <[email protected]> writes: SP> I am pleased to announce the sixteenth release of SP> the Haskell binding for GL 1.2.1 / GLU 1.3 / GLUT SP> 3.7beta. I'm trying to build it on Fedora Core 1 with ghc-6.0.1, greencard-3.01, XFree86-Mesa-libGL and freeglut-1.3-1.20020125.3. The library seems to build ok, but when I try to build the examples I get: cd /home/petersen/haskell/HOpenGL/HOpenGL-1.05/examples/misc/ LANG=C make "/usr/bin/ghc" -o Info -i../../lib:../../GLUT -I../../lib -package lang -fglasgow-exts -I/usr/X11R6/include "-#include <GL/freeglut.h>" -O Info.o -L../../lib -lHOpenGL -lGLU -lGL -lSM -lICE -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lfreeglut-1.3 -lm /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libfreeglut-1.3.so: undefined reference to `XF86VidModeSetViewPort' /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libfreeglut-1.3.so: undefined reference to `XF86VidModeSwitchToMode' /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libfreeglut-1.3.so: undefined reference to `XF86VidModeGetAllModeLines' /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libfreeglut-1.3.so: undefined reference to `XF86VidModeGetModeLine' collect2: ld returned 1 exit status make: *** [Info] Error 1 I tried adding -lXxf86vm to the link invocation but that didn't help. Any ideas? Jens configure output: checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for greencard... /usr/bin/greencard checking for ghc... /usr/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/bin/ghc-pkg checking for xargs... yes 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... yes checking for IceConnectionNumber in -lICE... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for main in -lm... yes checking for library containing glEnd... -lGL checking glTexSubImage1D... yes checking glDrawRangeElements... yes checking glActiveTexture... yes checking glMultiDrawArrays... no configure: It looks like GL version 1.3 checking EXT_blend_color... yes checking EXT_blend_minmax... yes checking EXT_blend_subtract... yes checking for library containing gluNewQuadric... -lGLU checking gluGetString... yes checking gluTessEndPolygon... yes checking gluUnProject4... yes configure: It looks like GLU version 1.3 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 -lm