mai99dnn at mai99dnn at
Tue Jan 20 19:47:40 EST 2004

Hi there...
The following problem was posted to the haskell-users list:

We can not build a opengl application with hopengl. 
We get this error message:

Linking ...
Undefined                       first referenced
  symbol                             in file

glXGetProcAddressARB is a function that returns just a pointer to another
function. It is used to find out what special gl features your graphiccard
or mesa provides.
If there isn't that feature you want, this function returns a NULL
pointer. I hope I'm right so far.

Our system is a "SunOS 5.8 Generic_108528-27 sun4u sparc
SUNW,Ultra-60". I looked around, but I was unable to find any libglX,
where this function normally appears.

One way to make this all running is to write a
foo-bar-glXGetProcAddressARB function that returns everytime the
But how can I compile this together with the haskell source? Or must I
build a *.so library? Or is there a much much easier way to solve this?



Anikas Pharmaziestudium-Seite

More information about the Glasgow-haskell-users mailing list