libglut 6.0.1 failing to build on FreeBSD 4.7

Mark Stosberg mark at
Tue Jul 5 16:41:47 GMT 2005


I'm getting this build failure for libglut 6.0.1 on FreeBSD 4.7.
Any obvious fixes here, or should I go ahead report a bug?

My end goal is to build darcs from source, so I need a ghc binary.
Selfishly, I would be happy to have a pointer to ghc binary that will work
on FreeBSD 4.7, and avoid these build issues altogether.


===>  Building for libglut-6.0.1
Warning: Object directory not changed from original /usr/ports/graphics/libglut/work/Mesa-6.0.1/src/glut/glx
cc -O -pipe   -I../../../include -I/usr/X11R6/include  -c glut_8x13.c -o glut_8x13.o
cc -O -pipe   -I../../../include -I/usr/X11R6/include  -c glut_9x15.c -o glut_9x15.o
cc -O -pipe   -I../../../include -I/usr/X11R6/include  -c glut_bitmap.c -o glut_bitmap.o
In file included from glut_bitmap.c:8:
glutint.h:780: syntax error before `GLXFBConfigSGIX'
glutint.h:785: syntax error before `GLXFBConfigSGIX'
glutint.h:788: syntax error before `__glut_glXGetFBConfigFromVisualSGIX'
glutint.h:789: warning: data definition has no type or storage class
*** Error code 1


More information about the freebsd-ports mailing list