I''m really being quite lazy now, asking here after only a few different attempts at getting my stupid program to link itself, but here goes.
I''m trying to write a small OpenGL program using glut, I am doing all of this on my peecee running freebsd 4.3, the problem is as you might have guessed that it refuses to link, I''ve tried adding
-L/usr/X11R6/lib -L/usr/X11R6/lib/libGL.so
...and so on during the linking, but it hasn''t helped the least bit, I still get linker errors (btw the compiler is, of course, gcc).
I am now begging you, please help lazy old me!
linker output:
/tmp/ccc18i2c.o: In function `main'':
/tmp/ccc18i2c.o(.text+0x12): undefined reference to `glutInit''
/tmp/ccc18i2c.o(.text+0x1f): undefined reference to `glutInitDisplayMode''
/tmp/ccc18i2c.o(.text+0x31): undefined reference to `glutInitWindowSize''
/tmp/ccc18i2c.o(.text+0x40): undefined reference to `glutInitWindowPosition''
/tmp/ccc18i2c.o(.text+0x50): undefined reference to `glutCreateWindow''
/Mikael Jacobson (who is tired and not in a mood for trying to figure out why silly programs won''t link like they''re supposed to)