Thanks dorbie!
But still I get similar compiling erros.
I tried including only <GL/glext.h> at first, but function “glCombinerParameterXX” is still not defined. And then I downloaded and included “glxext.h” into my file, now it is “glxext.h” causes the problem.