http://trant.sgi.com/opengl/examples/more_samples/more_samples.html Hello, I downloaded number of the above examples from the above link. Tried to build them on linux, but it seems the mesa (opengl like) libraries installed on my box are missing some functions. if you download any one of the above sample (.zip file) and extract it, you will see Makefile to build with. The samples downloaded only contain makefiles for .sgi and windows. So I simply used the .sgi as template for linux. this is the link errors trying to build the 'gliq' sample (only had to add a -L on the link line to tell it where the mesa libraries are). cc -o gliq -L/usr/X11R6/lib -lglut -lGLU -lGL -lXmu -lXext -lX11 -lm /usr/lib/crt1.o(.text+0x18): undefined reference to `main' /usr/lib/libglut.so: undefined reference to `XGetExtensionVersion' /usr/lib/libglut.so: undefined reference to `XFreeDeviceList' /usr/lib/libglut.so: undefined reference to `XQueryDeviceState' /usr/lib/libglut.so: undefined reference to `XListInputDevices' /usr/lib/libglut.so: undefined reference to `XFreeDeviceState' /usr/lib/libglut.so: undefined reference to `XOpenDevice' /usr/lib/libglut.so: undefined reference to `XSelectExtensionEvent' collect2: ld returned 1 exit status make: *** [gliq] Error 1 This is on Suse 6.3. using mesa-3.0-69 This is the Makefile.linux used to build the above sample. --------------- ##!smake #include /usr/include/make/commondefs LIBS = -L/usr/X11R6/lib -lglut -lGLU -lGL -lXmu -lXext -lX11 -lm CFILES = board.c game.c gliq.c pick.c score.c trackball.c TARGETS = gliq default : $(TARGETS) #include $(COMMONRULES) $(TARGETS) : $(OBJECTS) $(CC) $(CFLAGS) -o $@ $(OBJECTS) $(LIBS) # dependencies trackball.o : trackball.h $(OBJECTS) : gliq.h --------------- Any idea how to build those on linux? many thanks, Nasser _______________________________________________ Mesa-bug maillist - [EMAIL PROTECTED] http://lists.mesa3d.org/mailman/listinfo/mesa-bug _______________________________________________ Mesa-dev maillist - [EMAIL PROTECTED] http://lists.mesa3d.org/mailman/listinfo/mesa-dev