Re: GLX and undefined references

2002-11-12 Thread Danie Roux
Roman Joost wrote: It helps me, but i get some other undefined references. Don't know on which they depend, but: gcc -Wall -pedantic -ansi lesson06.c -o lesson06 -L/usr/X11R6/lib -lGL -lGLU -lX11 -lXext -lm -lXxf86vm /usr/X11R6/lib/libGL.a(glxext.o)(.text+0x1a): In function `

Re: GLX and undefined references

2002-11-12 Thread Roman Joost
On Mon, Nov 11, 2002 at 01:53:09PM -0800, Eric G. Miller wrote: > On Mon, Nov 11, 2002 at 10:38:14PM +0100, Roman Joost wrote: > [snip] > > gcc lesson06.c -o lesson06 -L/usr/X11R6/lib -lGL -lGLU -lXxf86vm > > You probably need to add -lX11 for any X proggy (and maybe others). > It helps me, but

Re: GLX and undefined references

2002-11-11 Thread Eric G. Miller
On Mon, Nov 11, 2002 at 10:38:14PM +0100, Roman Joost wrote: [snip] > gcc lesson06.c -o lesson06 -L/usr/X11R6/lib -lGL -lGLU -lXxf86vm You probably need to add -lX11 for any X proggy (and maybe others). -- static const char signature[] = "Copyright (c) 2002 Eric G. Miller <[EMAIL PROTE