Re: checkpassword-0.90 compilation problems, Help.

Mat Taylor <[email protected]> 05 Mar 2004 14:10:00 +0000
Newsgroups gmane.comp.djb.checkpassword
Message-ID <1078495800.2533.53.camel@whisky>
Thanks for your response.

I went to ftp://moni.csi.hu/pub/glibc-2.3.1/ to get the rpm but then
noticed the patch file.

I have used the patch and it is now compiled and install fine.

Thanks for your help Mate (and everyone else who responed)

Regards

Mat Taylor.



On Fri, 2004-03-05 at 14:45, [email protected] wrote:
> On Fri, Mar 05, 2004 at 01:40:22PM +0000, Mat Taylor wrote:
> > Hi all,
> > 
> > I'm looking for a bit of help. I'm trying to compile and install
> > checkpassword following the instructions at
> > http://cr.yp.to/checkpwd/install.html but i'm getting an error when
> > doing the make command.
> > 
> > I was wondering if anyone had had a similar problem and could possibly
> > provide me with a solution.
> > 
> > When typing the make command, it starts compiling the code until this
> > happens:
> > 
> > ==========================
> > 
> > ./load checkpassword prot.o unix.a byte.a  `cat \
> > shadow.lib` `cat crypt.lib` `cat s.lib`
> > checkpassword.o(.text+0xfa): In function `main':
> > : undefined reference to `errno'
> > checkpassword.o(.text+0x243): In function `main':
> > : undefined reference to `errno'
> > checkpassword.o(.text+0x265): 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+0x13a): In function `pathexec_run':
> > : undefined reference to `errno'
> > unix.a(alloc.o)(.text+0x48): more undefined references to `errno' follow
> > collect2: ld returned 1 exit status
> > make: *** [checkpassword] Error 1
> > 
> > ==========================
> > 
> > 
> > I am comiling on a linux RedHat 9 system, 
> > Intel Celeron 2000Mhz processor 
> > using gcc (GCC) 3.2.2
> > 256Mb Ram
> > 
> > 
> > could anyone please point me in the right direction.
> 
> You'll find an appropriate rpm in 
> 
> ftp://moni.csi.hu/pub/glibc-2.3.1/
> 
> Mate
-- 
Mat Taylor <[email protected]>