Re: compiling simple program

1999-04-23 Thread J.H.M. Dassen
On Fri, Apr 23, 1999 at 17:06:44 +0100, M.C. Vernon wrote: > gcc helloworld.c -o hello -I/usr/include -I/usr/X11R6/include \ > -L/usr/lib -lm -lglut -lMesaGLU -L/usr/X11R6/lib -lXmu -lX11 -lXext -lMesaGL > \ > -lMesaGLw > /usr/lib/libglut.so: undefined reference to `XGetExtensionVersion' zensunn

Re: compiling simple program

1999-04-23 Thread M.C. Vernon
On 23 Apr 1999, Kenneth MacDonald wrote: > Try putting the -lMesaGL and -lMesaGLw before the X stuff. I've just moved them around, and it makes no difference to the error messages. Thanks anyway, Matthew -- Elen sila lumenn' omentielvo Steward of the Cambridge Tolkien Society Selwyn College

Re: compiling simple program

1999-04-23 Thread Kenneth MacDonald
> "M" == M C Vernon <[EMAIL PROTECTED]> writes: M> [EMAIL PROTECTED]:/home2/mcv21/programming/x/gl> make hello gcc M> helloworld.c -o hello -I/usr/include -I/usr/X11R6/include \ M> -L/usr/lib -lm -lglut -lMesaGLU -L/usr/X11R6/lib -lXmu -lX11 M> -lXext -lMesaGL \ -lMesaGLw /usr/

Re: compiling simple program

1999-04-23 Thread M.C. Vernon
On Fri, 23 Apr 1999, Uwe Behrens wrote: > Hope that helps ;-) Thanks. I now get a bit further Matthew [EMAIL PROTECTED]:/home2/mcv21/programming/x/gl> make hello gcc helloworld.c -o hello -I/usr/include -I/usr/X11R6/include \ -L/usr/lib -lm -lglut -lMesaGLU -L/usr/X11R6/lib -lXmu -lX11 -lXext