errno: TLS definition ...mismatches nonTLS def..
Hi guys,
I have just installed the Fedora 7 system. Compiled Qt 4.3.0 and tried to compile my application which is using OGDI(C-API library for reading vpf data) compilation went ok until linking. At the end I got this message: /usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS definition in ogdi/lib/linux/libogdi.so section .bss /lib/libc.so.6: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [bin/Commander] Error 1 I have the same error under Slackware 12.0. I belive that this problem is connected with static linking, as before while I were using Qt which was compiled dynamically I didn't get any errors Any idea how to solve this problem? Beforehand thanks. |
Quote:
I'm French, and I have the same error. Have you the solution? Thanks |
In the code I was compiling, the following line was the offender:
extern int errno; I replaced this line with #include <errno.h> and the problem went away. |
All times are GMT -5. The time now is 06:29 PM. |