Hi I am trying to build libwnck but get the following error:
/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in /usr/lib/gcc/i486-slackware-linux/4.1.2/../../../libz.so
/lib/libc.so.6: could not read symbols: Bad value
aby idea what it means. I have VL5.9 installed
I split your question from the how-to topic where you originally posted it, because it could get better attention in its own thread. With that said, a Google search on the phrase "TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference" turned up quite a few hits. The first hit was found here
. To quote from that URL:
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.
You'll need to try building libwnck again and take note of what directory the make process is in when it fails. Once you've found that directory, you'll need to edit the Makefile as suggested above. See if that works for you.