Compilation error TLS Definition
Brought to you by:
storem
When compiling on my 14.04 LTS Ubuntu machine I got a compilation error:
"/usr/bin/ld: errno: TLS definition in /lib/x86_64-linux-gnu/libc.so.6 section .tbss mismatches non-TLS reference in conf_file.o"
Changing the "extern int errno;" to "#include <errno.h>" allowed the program to compile without issue.</errno.h>