error message "/lib/libc.so.6: could not read symbols: Bad value" during compilation mess822



pri kompilaci mess822 chybova hlaska:

/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in strerr.a(strerr_sys.o)
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [iftocc] Error 1

solution:
No patch is required.
Only add into file conf-cc:
-include /usr/include errno.h
Like follows:
cc -O2 -include /usr/include/errno.h

source: http://www.gossamer-threads.com/lists/qmail/users/127156
Last update:
2009-04-20 11:05
Author:
Daniel
Revision:
1.2
Average rating:0 (0 Votes)

You can comment this FAQ

Chuck Norris has counted to infinity. Twice.