Alex R | 5 Feb 10:40
Picon

checkpassword not compiling

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`
checkpassword.o(.text+0x87): In function `main':
: undefined reference to `errno'
checkpassword.o(.text+0x10e): In function `main':
: undefined reference to `errno'
checkpassword.o(.text+0x271): In function `main':
: undefined reference to `errno'
unix.a(pathexec_run.o)(.text+0xf6): In function `pathexec_run':
: undefined reference to `errno'
unix.a(pathexec_run.o)(.text+0x16e): In function `pathexec_run':
: undefined reference to `errno'
unix.a(alloc.o)(.text+0x4c): more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [checkpassword] Error 1
root <at> foo:~/checkpassword-0.90#

root <at> foo:~/checkpassword-0.90# gcc -v
Reading specs from /usr/lib/gcc/i486-slackware-linux/3.4.3/specs
Configured with: ../gcc-3.4.3/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking
--with-gnu-ld --verbose --target=i486-slackware-linux
--host=i486-slackware-linux
Thread model: posix
gcc version 3.4.3

Anyone know how I might be able to fix this?
Thanks,
-Alex


Gmane