I am using cygwin, and I suppose that it uses the mingw-libs for compiling, I don't know exactly. I can't remember, if I installed the libs in my cygwin-dir, but I think so.
 
i tried to compile a OpenGL-lib 2 months ago, no succes, a lot of undefined references to functions from Opengl. I tried ALL possible lib-names for opengl, no success. i checked my installation of OpenGL, everything alright. I checked my paths, everything alright. I checked my compile-commands, all OK. Then I installed mingw into a seperate directory and tried it again. no success. (Remember: it's possible that my cygwin maybe already used the mingw-libs/includes then).
I tried EVERYTHING, but it didn't work. I was searching for help in the cygwin-mailinglist, but everybody else had no problems. All other win2000-users (like me) had NO problems!!! Today I read that someone from the mingw-mailinglist had the same problem, and was told to include "windows.h" before "glut.h" but the lib I'm trying to compile neither includes windows.h nor glut.h - What now???
 
Here the error messages from TWO libs:
 
First: allegGL:
 
lib/mingw32/libagl.a(glvtable.o)(.text+0x637):glvtable.c: undefined reference to
 `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x6de):glvtable.c: undefined reference to
 `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x707):glvtable.c: undefined reference to
 `glTexSubImage2D@36'
lib/mingw32/libagl.a(glvtable.o)(.text+0x728):glvtable.c: undefined reference to
 `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x787):glvtable.c: undefined reference to
 `glColor4ub@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0x791):glvtable.c: undefined reference to
 `glBegin@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x79b):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x7a2):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x7aa):glvtable.c: undefined reference to
 `glEnd@0'
lib/mingw32/libagl.a(glvtable.o)(.text+0x7d7):glvtable.c: undefined reference to
 `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x80b):glvtable.c: undefined reference to
 `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x8e4):glvtable.c: undefined reference to
 `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x8f2):glvtable.c: undefined reference to
 `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x926):glvtable.c: undefined reference to
 `glTexSubImage2D@36'
lib/mingw32/libagl.a(glvtable.o)(.text+0x945):glvtable.c: undefined reference to
 `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x953):glvtable.c: undefined reference to
 `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x9b3):glvtable.c: undefined reference to
 `glColor4ub@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0x9bd):glvtable.c: undefined reference to
 `glBegin@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x9c7):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x9ce):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x9d6):glvtable.c: undefined reference to
 `glEnd@0'
lib/mingw32/libagl.a(glvtable.o)(.text+0xa00):glvtable.c: undefined reference to
 `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xaf6):glvtable.c: undefined reference to
 `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xb29):glvtable.c: undefined reference to
 `glTexSubImage2D@36'
lib/mingw32/libagl.a(glvtable.o)(.text+0xb48):glvtable.c: undefined reference to
 `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xba7):glvtable.c: undefined reference to
 `glColor4ub@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0xbb1):glvtable.c: undefined reference to
 `glBegin@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0xbbb):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xbc5):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xbcd):glvtable.c: undefined reference to
 `glEnd@0'
lib/mingw32/libagl.a(glvtable.o)(.text+0xc63):glvtable.c: undefined reference to
 `glColor4ub@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0xc6f):glvtable.c: undefined reference to
 `glRecti@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0xc9f):glvtable.c: undefined reference to
 `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xcd6):glvtable.c: undefined reference to
 `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xdf5):glvtable.c: undefined reference to
 `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xe06):glvtable.c: undefined reference to
 `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xe44):glvtable.c: undefined reference to
 `glTexSubImage2D@36'
lib/mingw32/libagl.a(glvtable.o)(.text+0xe6b):glvtable.c: undefined reference to
 `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xe79):glvtable.c: undefined reference to
 `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xed7):glvtable.c: undefined reference to
 `glColor4ub@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0xee1):glvtable.c: undefined reference to
 `glBegin@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0xeeb):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xef5):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xf02):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xf0a):glvtable.c: undefined reference to
 `glEnd@0'
lib/mingw32/libagl.a(glvtable.o)(.text+0xf35):glvtable.c: undefined reference to
 `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xf78):glvtable.c: undefined reference to
 `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x10be):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x111e):glvtable.c: undefined reference t
o `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1155):glvtable.c: undefined reference t
o `glTexSubImage2D@36'
lib/mingw32/libagl.a(glvtable.o)(.text+0x117c):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x118a):glvtable.c: undefined reference t
o `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x11ba):glvtable.c: undefined reference t
o `glRasterPos2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x11c8):glvtable.c: undefined reference t
o `glGetFloatv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x11d6):glvtable.c: undefined reference t
o `glGetFloatv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x11f3):glvtable.c: undefined reference t
o `glPixelZoom@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1226):glvtable.c: undefined reference t
o `glDrawPixels@20'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1240):glvtable.c: undefined reference t
o `glPixelZoom@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1273):glvtable.c: undefined reference t
o `glGetFloatv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1281):glvtable.c: undefined reference t
o `glGetFloatv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x128f):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x129b):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x12a2):glvtable.c: undefined reference t
o `glRasterPos2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x12b8):glvtable.c: undefined reference t
o `glPixelZoom@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x12e4):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1331):glvtable.c: undefined reference t
o `glDrawPixels@20'
lib/mingw32/libagl.a(glvtable.o)(.text+0x134b):glvtable.c: undefined reference t
o `glPixelZoom@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1359):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1381):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1392):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x143f):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x144d):glvtable.c: undefined reference t
o `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x148b):glvtable.c: undefined reference t
o `glTexSubImage2D@36'
lib/mingw32/libagl.a(glvtable.o)(.text+0x14a9):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x14b7):glvtable.c: undefined reference t
o `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x14f8):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1504):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1510):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x154d):glvtable.c: undefined reference t
o `glReadPixels@28'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1561):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1986):glvtable.c: undefined reference t
o `glPixelZoom@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1994):glvtable.c: undefined reference t
o `glRasterPos2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x19c9):glvtable.c: undefined reference t
o `glCopyPixels@20'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1a37):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1ac7):glvtable.c: undefined reference t
o `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1ae3):glvtable.c: undefined reference t
o `glColor4ub@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1aed):glvtable.c: undefined reference t
o `glBegin@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1af9):glvtable.c: undefined reference t
o `glTexCoord2f@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b06):glvtable.c: undefined reference t
o `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b10):glvtable.c: undefined reference t
o `glTexCoord2f@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b1a):glvtable.c: undefined reference t
o `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b25):glvtable.c: undefined reference t
o `glTexCoord2f@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b32):glvtable.c: undefined reference t
o `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b3c):glvtable.c: undefined reference t
o `glTexCoord2f@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b46):glvtable.c: undefined reference t
o `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b4e):glvtable.c: undefined reference t
o `glEnd@0'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b6d):glvtable.c: undefined reference t
o `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1cdf):glvtable.c: undefined reference t
o `glColor4ub@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1ceb):glvtable.c: undefined reference t
o `glRasterPos2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1cf7):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1d03):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1d3e):glvtable.c: undefined reference t
o `glBitmap@28'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1dd6):glvtable.c: undefined reference t
o `glClearColor@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1de3):glvtable.c: undefined reference t
o `glClear@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1df3):glvtable.c: undefined reference t
o `glClearColor@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1e1f):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1e2d):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1ea9):glvtable.c: undefined reference t
o `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1eca):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1ef8):glvtable.c: undefined reference t
o `glTexSubImage2D@36'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1f17):glvtable.c: undefined reference t
o `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1f25):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1f7b):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1f88):glvtable.c: undefined reference t
o `glMatrixMode@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1f9a):glvtable.c: undefined reference t
o `glGetDoublev@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1fa2):glvtable.c: undefined reference t
o `glLoadIdentity@0'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1fb2):glvtable.c: undefined reference t
o `glMatrixMode@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1fc4):glvtable.c: undefined reference t
o `glGetDoublev@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1fcc):glvtable.c: undefined reference t
o `glLoadIdentity@0'
lib/mingw32/libagl.a(glvtable.o)(.text+0x201d):glvtable.c: undefined reference t
o `glMatrixMode@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x203b):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x2048):glvtable.c: undefined reference t
o `glMatrixMode@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x2052):glvtable.c: undefined reference t
o `glLoadMatrixd@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x205c):glvtable.c: undefined reference t
o `glMatrixMode@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x2066):glvtable.c: undefined reference t
o `glLoadMatrixd@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x206f):glvtable.c: undefined reference t
o `glMatrixMode@4'
lib/mingw32/libagl.a(texture.o)(.text+0xd9):texture.c: undefined reference to `g
lGenTextures@8'
lib/mingw32/libagl.a(texture.o)(.text+0x104):texture.c: undefined reference to `
glGetIntegerv@8'
lib/mingw32/libagl.a(texture.o)(.text+0x112):texture.c: undefined reference to `
glBindTexture@8'
lib/mingw32/libagl.a(texture.o)(.text+0x153):texture.c: undefined reference to `
glTexImage2D@36'
lib/mingw32/libagl.a(texture.o)(.text+0x16b):texture.c: undefined reference to `
glGetTexLevelParameterfv@16'
lib/mingw32/libagl.a(texture.o)(.text+0x17c):texture.c: undefined reference to `
glBindTexture@8'
lib/mingw32/libagl.a(texture.o)(.text+0x184):texture.c: undefined reference to `
glDeleteTextures@8'
lib/mingw32/libagl.a(texture.o)(.text+0x191):texture.c: undefined reference to `
glGetString@4'
lib/mingw32/libagl.a(texture.o)(.text+0x41f):texture.c: undefined reference to `
glGenTextures@8'
lib/mingw32/libagl.a(texture.o)(.text+0x43e):texture.c: undefined reference to `
glBindTexture@8'
lib/mingw32/libagl.a(texture.o)(.text+0x465):texture.c: undefined reference to `
glTexParameteri@12'
lib/mingw32/libagl.a(texture.o)(.text+0x479):texture.c: undefined reference to `
glTexParameteri@12'
lib/mingw32/libagl.a(texture.o)(.text+0x48d):texture.c: undefined reference to `
glTexParameteri@12'
 
(this is only a part of the messages, the entire messages are lenger than my screen is)
 
Now PLIB:
 
lib/mingw32/libagl.a(glvtable.o)(.text+0x637):glvtable.c: undefined reference to
 `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x6de):glvtable.c: undefined reference to
 `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x707):glvtable.c: undefined reference to
 `glTexSubImage2D@36'
lib/mingw32/libagl.a(glvtable.o)(.text+0x728):glvtable.c: undefined reference to
 `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x787):glvtable.c: undefined reference to
 `glColor4ub@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0x791):glvtable.c: undefined reference to
 `glBegin@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x79b):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x7a2):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x7aa):glvtable.c: undefined reference to
 `glEnd@0'
lib/mingw32/libagl.a(glvtable.o)(.text+0x7d7):glvtable.c: undefined reference to
 `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x80b):glvtable.c: undefined reference to
 `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x8e4):glvtable.c: undefined reference to
 `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x8f2):glvtable.c: undefined reference to
 `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x926):glvtable.c: undefined reference to
 `glTexSubImage2D@36'
lib/mingw32/libagl.a(glvtable.o)(.text+0x945):glvtable.c: undefined reference to
 `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x953):glvtable.c: undefined reference to
 `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x9b3):glvtable.c: undefined reference to
 `glColor4ub@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0x9bd):glvtable.c: undefined reference to
 `glBegin@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x9c7):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x9ce):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x9d6):glvtable.c: undefined reference to
 `glEnd@0'
lib/mingw32/libagl.a(glvtable.o)(.text+0xa00):glvtable.c: undefined reference to
 `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xaf6):glvtable.c: undefined reference to
 `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xb29):glvtable.c: undefined reference to
 `glTexSubImage2D@36'
lib/mingw32/libagl.a(glvtable.o)(.text+0xb48):glvtable.c: undefined reference to
 `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xba7):glvtable.c: undefined reference to
 `glColor4ub@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0xbb1):glvtable.c: undefined reference to
 `glBegin@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0xbbb):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xbc5):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xbcd):glvtable.c: undefined reference to
 `glEnd@0'
lib/mingw32/libagl.a(glvtable.o)(.text+0xc63):glvtable.c: undefined reference to
 `glColor4ub@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0xc6f):glvtable.c: undefined reference to
 `glRecti@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0xc9f):glvtable.c: undefined reference to
 `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xcd6):glvtable.c: undefined reference to
 `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xdf5):glvtable.c: undefined reference to
 `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xe06):glvtable.c: undefined reference to
 `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xe44):glvtable.c: undefined reference to
 `glTexSubImage2D@36'
lib/mingw32/libagl.a(glvtable.o)(.text+0xe6b):glvtable.c: undefined reference to
 `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xe79):glvtable.c: undefined reference to
 `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xed7):glvtable.c: undefined reference to
 `glColor4ub@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0xee1):glvtable.c: undefined reference to
 `glBegin@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0xeeb):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xef5):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xf02):glvtable.c: undefined reference to
 `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xf0a):glvtable.c: undefined reference to
 `glEnd@0'
lib/mingw32/libagl.a(glvtable.o)(.text+0xf35):glvtable.c: undefined reference to
 `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0xf78):glvtable.c: undefined reference to
 `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x10be):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x111e):glvtable.c: undefined reference t
o `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1155):glvtable.c: undefined reference t
o `glTexSubImage2D@36'
lib/mingw32/libagl.a(glvtable.o)(.text+0x117c):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x118a):glvtable.c: undefined reference t
o `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x11ba):glvtable.c: undefined reference t
o `glRasterPos2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x11c8):glvtable.c: undefined reference t
o `glGetFloatv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x11d6):glvtable.c: undefined reference t
o `glGetFloatv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x11f3):glvtable.c: undefined reference t
o `glPixelZoom@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1226):glvtable.c: undefined reference t
o `glDrawPixels@20'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1240):glvtable.c: undefined reference t
o `glPixelZoom@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1273):glvtable.c: undefined reference t
o `glGetFloatv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1281):glvtable.c: undefined reference t
o `glGetFloatv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x128f):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x129b):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x12a2):glvtable.c: undefined reference t
o `glRasterPos2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x12b8):glvtable.c: undefined reference t
o `glPixelZoom@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x12e4):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1331):glvtable.c: undefined reference t
o `glDrawPixels@20'
lib/mingw32/libagl.a(glvtable.o)(.text+0x134b):glvtable.c: undefined reference t
o `glPixelZoom@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1359):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1381):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1392):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x143f):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x144d):glvtable.c: undefined reference t
o `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x148b):glvtable.c: undefined reference t
o `glTexSubImage2D@36'
lib/mingw32/libagl.a(glvtable.o)(.text+0x14a9):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x14b7):glvtable.c: undefined reference t
o `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x14f8):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1504):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1510):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x154d):glvtable.c: undefined reference t
o `glReadPixels@28'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1561):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1986):glvtable.c: undefined reference t
o `glPixelZoom@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1994):glvtable.c: undefined reference t
o `glRasterPos2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x19c9):glvtable.c: undefined reference t
o `glCopyPixels@20'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1a37):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1ac7):glvtable.c: undefined reference t
o `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1ae3):glvtable.c: undefined reference t
o `glColor4ub@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1aed):glvtable.c: undefined reference t
o `glBegin@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1af9):glvtable.c: undefined reference t
o `glTexCoord2f@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b06):glvtable.c: undefined reference t
o `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b10):glvtable.c: undefined reference t
o `glTexCoord2f@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b1a):glvtable.c: undefined reference t
o `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b25):glvtable.c: undefined reference t
o `glTexCoord2f@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b32):glvtable.c: undefined reference t
o `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b3c):glvtable.c: undefined reference t
o `glTexCoord2f@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b46):glvtable.c: undefined reference t
o `glVertex2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b4e):glvtable.c: undefined reference t
o `glEnd@0'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1b6d):glvtable.c: undefined reference t
o `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1cdf):glvtable.c: undefined reference t
o `glColor4ub@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1ceb):glvtable.c: undefined reference t
o `glRasterPos2i@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1cf7):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1d03):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1d3e):glvtable.c: undefined reference t
o `glBitmap@28'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1dd6):glvtable.c: undefined reference t
o `glClearColor@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1de3):glvtable.c: undefined reference t
o `glClear@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1df3):glvtable.c: undefined reference t
o `glClearColor@16'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1e1f):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1e2d):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1ea9):glvtable.c: undefined reference t
o `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1eca):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1ef8):glvtable.c: undefined reference t
o `glTexSubImage2D@36'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1f17):glvtable.c: undefined reference t
o `glBindTexture@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1f25):glvtable.c: undefined reference t
o `glPixelStorei@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1f7b):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1f88):glvtable.c: undefined reference t
o `glMatrixMode@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1f9a):glvtable.c: undefined reference t
o `glGetDoublev@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1fa2):glvtable.c: undefined reference t
o `glLoadIdentity@0'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1fb2):glvtable.c: undefined reference t
o `glMatrixMode@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1fc4):glvtable.c: undefined reference t
o `glGetDoublev@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x1fcc):glvtable.c: undefined reference t
o `glLoadIdentity@0'
lib/mingw32/libagl.a(glvtable.o)(.text+0x201d):glvtable.c: undefined reference t
o `glMatrixMode@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x203b):glvtable.c: undefined reference t
o `glGetIntegerv@8'
lib/mingw32/libagl.a(glvtable.o)(.text+0x2048):glvtable.c: undefined reference t
o `glMatrixMode@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x2052):glvtable.c: undefined reference t
o `glLoadMatrixd@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x205c):glvtable.c: undefined reference t
o `glMatrixMode@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x2066):glvtable.c: undefined reference t
o `glLoadMatrixd@4'
lib/mingw32/libagl.a(glvtable.o)(.text+0x206f):glvtable.c: undefined reference t
o `glMatrixMode@4'
lib/mingw32/libagl.a(texture.o)(.text+0xd9):texture.c: undefined reference to `g
lGenTextures@8'
lib/mingw32/libagl.a(texture.o)(.text+0x104):texture.c: undefined reference to `
glGetIntegerv@8'
lib/mingw32/libagl.a(texture.o)(.text+0x112):texture.c: undefined reference to `
glBindTexture@8'
lib/mingw32/libagl.a(texture.o)(.text+0x153):texture.c: undefined reference to `
glTexImage2D@36'
lib/mingw32/libagl.a(texture.o)(.text+0x16b):texture.c: undefined reference to `
glGetTexLevelParameterfv@16'
lib/mingw32/libagl.a(texture.o)(.text+0x17c):texture.c: undefined reference to `
glBindTexture@8'
lib/mingw32/libagl.a(texture.o)(.text+0x184):texture.c: undefined reference to `
glDeleteTextures@8'
lib/mingw32/libagl.a(texture.o)(.text+0x191):texture.c: undefined reference to `
glGetString@4'
lib/mingw32/libagl.a(texture.o)(.text+0x41f):texture.c: undefined reference to `
glGenTextures@8'
lib/mingw32/libagl.a(texture.o)(.text+0x43e):texture.c: undefined reference to `
glBindTexture@8'
lib/mingw32/libagl.a(texture.o)(.text+0x465):texture.c: undefined reference to `
glTexParameteri@12'
lib/mingw32/libagl.a(texture.o)(.text+0x479):texture.c: undefined reference to `
glTexParameteri@12'
lib/mingw32/libagl.a(texture.o)(.text+0x48d):texture.c: undefined reference to `
glTexParameteri@12'
 
(actually there would be ore messages, but I don't want to flood the mailing list...)
 
What the f**k is wrong?
 
Should I install an older version of mingw32? A newer one? Or are there general Problems with win2000????