And you (may) need a corresponding file with the various symbols defined as externs.
But this is basic compiler operation/c/c++ and isn’t really relevant here as it has nothing to do with opengl, advanced or otherwise. I would suggest you do some reading on the extern keyword (plus variable declaration etc) for c++ and post compiler/linker questions on a c++ forum.