For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

errno: TLS definition in /lib/ section .tbss mismatches

Bob Mitchel's picture

If you get an error such as this:
/usr/bin/ld: errno: TLS definition in /lib/ section .tbss mismatches
non-TLS reference in [...]

What you need to do is this: open the appropriate makefile (i.e. in TKIGES), find the line DEFAULT_INCLUDES, and add -include /usr/include/errno.h to the end.

This applies to gcc-3.3.6, at least.