errno: TLS definition in /lib/libc.so.6 section...
时间:2007-06-03 来源:littleflow
If you get an error such as this:
/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 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.
在CFLAGS后边加-include /usr/include/errno.h也可以。
/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 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.
在CFLAGS后边加-include /usr/include/errno.h也可以。
相关阅读 更多 +