Fixing glfunc.c, it's a corrupted. Fixing also a lot of compiling errors. A lot of static variables and functions were also declared as 'extern' in the header. It doesn't makes sense. Finally, I'm adding model.tab.c to the repo, I thought I already added it.