Compiling problem

Arik Funke <[email protected]> Wed, 10 Aug 2005 18:14:35 +0200
Newsgroups gmane.comp.djb.checkpassword
Message-ID <[email protected]>
Hi,
I was trying to compile checkpassword, but failed due to inexplicable 
reasons. I googled for the error message... nothing. Has anybody seen 
this before:

./compile byte_cr.c
./compile byte_diff.c
./compile str_chr.c
./compile str_len.c
./compile str_start.c
./makelib byte.a byte_copy.o byte_cr.o byte_diff.o \
str_chr.o str_len.o str_start.o
( ( ./compile tryshadow.c && \
./load tryshadow -lshadow ) >/dev/null 2>&1 \
&& echo -lshadow || exit 0 ) > shadow.lib
rm -f tryshadow.o tryshadow
( ( ./compile trycrypt.c && \
./load trycrypt -lcrypt ) >/dev/null 2>&1 \
&& echo -lcrypt || exit 0 ) > crypt.lib
rm -f trycrypt.o trycrypt
./load checkpassword prot.o unix.a byte.a  `cat \
shadow.lib` `cat crypt.lib` `cat s.lib`
/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss 
mismatches non-TLS reference in checkpassword.o
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [checkpassword] Error 1

I would really appreciate any help.

Cheers,
Arik