Tuesday, October 30, 2018

GCC Linker and Undefined Reference errors

The GNU ld linker is single pass linker and the order of statically linked libraries is important. If libraries are linked in the wrong order an undefined reference to symbol error will be thrown.