If you’re getting syntax errors while trying to compile, it’s a compiler problem, not a linker problem. I suspect that Borland C++ 4.5 is just too old - i ran into silly incompatibilities last time i tried to use it to compile modern DOS C code, let alone OpenGL code.
Download the Borland C++ 5.5 compiler, it’s free and one of the most modern and powerful compilers you can get. And it’s free (can’t stress that enough)!!! You can still use the 4.5 IDE to edit your code, but use the 5.5 command line tools to do the actual compiling and debugging. Hell, I think it even comes with all the GL headers in the package.
Possible downside: you won’t be able to make DOS or Win16 programs, but who really wants to any more?