On Tuesday 22 January 2002 14.15, dep wrote:
gcc -Wall -Wstrict-prototypes -Wnested-externs -Wno-format -std=c89 -U__STRICT_ANSI__ -L/usr/lib -o rubik rubik.o screenhack-gl.o xlock-gl.o fps.o ../xlockmore.o ../../utils/resources.o ../../utils/visual.o ../../utils/visual-gl.o ../../utils/usleep.o ../../utils/yarandom.o ../../utils/hsv.o ../../utils/colors.o -L/usr/X11R6/lib -lpthread -lSM -lICE -lXt -lX11 -lXmu -lXext -lm
I don't see any -lGL or -lMesaGL here. Did you rerun configure after installing mesa-devel? If you did, try ./configure --with-gl. Worked For Me(tm) :)
rubik.o: In function `pickcolor': /home/dep/download/xscreensaver-4.00/hacks/glx/rubik.c:480: undefined
the linker can't find GL-functions, but without the -lGL or -lMesaGL it's not going to. regards Anders