Alex R | 5 Feb 10:38

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
(Continue reading)

Andrew Richards | 5 Feb 11:54
Favicon

Re: checkpassword not compiling

On Saturday 05 February 2005 09:40, Alex R wrote:
> : undefined reference to `errno'
> ...
> Anyone know how I might be able to fix this? 

Alex,

See the qmail home page (www.qmail.org) and search for "errno", it's a simple 
fix.

cheers,

Andrew.

Lee Revell | 6 Feb 02:13

Re: checkpassword not compiling

On Sat, 2005-02-05 at 10:54 +0000, Andrew Richards wrote:
> On Saturday 05 February 2005 09:40, Alex R wrote:
> > : undefined reference to `errno'
> > ...
> > Anyone know how I might be able to fix this? 
> 
> Alex,
> 
> See the qmail home page (www.qmail.org) and search for "errno", it's a simple 
> fix.

Is it me, or is this the only question that's ever been asked on this
list?

Lee

Emilio Perea | 6 Feb 05:51
Favicon

Re: checkpassword not compiling

On Sat, Feb 05, 2005 at 08:13:00PM -0500, Lee Revell wrote:
> Is it me, or is this the only question that's ever been asked on this
> list?

Since the end of March 2003, I have 134 messages on this list, 30 of
which deal with the errno "problem".  So it is not the only question,
but it's fairly popular (relatively speaking. :-)

Dave Kitabjian | 9 Feb 16:45

RE: checkpassword not compiling


> On Sat, 2005-02-05 at 10:54 +0000, Andrew Richards wrote:
> > On Saturday 05 February 2005 09:40, Alex R wrote:
> > > : undefined reference to `errno'
> > > ...
> > > Anyone know how I might be able to fix this?
> >
> > Alex,
> >
> > See the qmail home page (www.qmail.org) and search for "errno", it's
a
> simple
> > fix.
> 
> Is it me, or is this the only question that's ever been asked on this
> list?

Now it's not the only one ;)

Dave


Gmane