[HOpenGL] problems compiling hopengl

chris reddaemon@shaw.ca
12 Nov 2002 15:57:36 -0700


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 <GL/glut.h>" -O    
BlendEqn.o -L../../lib -lHOpenGL -lglut -lGLU -lGL -lSM -lICE
-L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi -lm 
../../lib/libHOpenGL.a(GL_PerFragment__57.o): In function `se1V_1_alt':
GL_PerFragment__57.o(.text+0x6c): undefined reference to
`glBlendEquation'
../../lib/libHOpenGL.a(GL_PerFragment__57.o): In function `se1V_2_alt':
GL_PerFragment__57.o(.text+0x9c): undefined reference to
`glBlendEquation'
../../lib/libHOpenGL.a(GL_PerFragment__57.o): In function `se1V_3_alt':
GL_PerFragment__57.o(.text+0xcc): undefined reference to
`glBlendEquation'
../../lib/libHOpenGL.a(GL_PerFragment__57.o): In function `se1V_4_alt':
GL_PerFragment__57.o(.text+0xfc): undefined reference to
`glBlendEquation'
../../lib/libHOpenGL.a(GL_PerFragment__57.o): In function `se1V_5_alt':
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.

hints on how to fix?
chris