gettig started

Hi,I’m trying to write openGL programs using linux and I’m having trouble with my makefile. When I make, I keep getting an error that says " in function [ void draw_a_disk (); ] main.cxx; 23 conversion from ‘enum {anonymous}’ to ‘enum GLenum’ "
I don’t know why it’s trying to convert enum but its preventing me from using openGL. I thought that I had all the lib and include files. Can anyone help ? I’ve asked everyone at school and browsed the forums and other web sites and come up empty. My main.cxx file at school works , but it dosn’t at home ?

Is that using GCC or another compiler? And is it the same compiler you’re using at school?