Hello! Thanks so much for Pelles C!
But it will be greater if you can fix(?) opengl header files.
There is no GL_SHADING_LANGUAGE_VERSION and GL_SHADING_LANGUAGE_VERSION_ARB definiton.
For example, on my opensuse 12.3 it defined in glext.h as
#define GL_SHADING_LANGUAGE_VERSION 0x8B8C
#define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
An attached file building fine on linux:
gcc main.c -lglut -lGLU -lGL -Wall
Sorry for my bad language. All the best, ntfs.hard.
ref:
OpenGL spec 4.3: [22.2]