
well i have finally gotten around to trying to get hopengl to build
again. the pthreads problem i had before is gone now :). ok the problem
is after doing
./configure
gmake depend
gmake
this message happens
"/usr/local/bin/ghc" -o BlendEqn -i../../lib -I../../lib -syslib lang
-fglasgow-exts -I/usr/X11R6/include "-#include

chris wrote:
[...] GL_PerFragment__57.o(.text+0x12c): undefined reference to `glBlendEquation' gmake[2]: *** [BlendEqn] Error 1 gmake[1]: *** [all] Error 1 gmake: *** [all] Error 1
i am running freebsd 4.7 RC with ghc-5.04.1, mesa-3.4.2_2, and green-card-2.04_1.
Hmmm, I assume that you are using the latest HOpenGL version (1.03). The problem seems to be that your (ancient) Mesa version is lying: It probably says that it implements OpenGL 1.2, but doesn't actually provide glBlendEquation. Possible solutions: * Improve HOpenGL's autoconf magic to detect this and send me a patch. :-) * Upgrade your Mesa. * Simply tweak examples/redbook_HS/Makefile{,.in} to exclude BlendEqn.hs (variable DONTCOMPILE). Cheers, S.
participants (2)
-
chris
-
Sven Panne