Hi Thank you for your reply,, i am not sure that i follow.. > > If you find the line in this package that says "extern int errno" and > replace it with "#include <errno.h>", it will compile and install fine. > Just do this: > > grep 'extern int errno' *.c
pls explain. I downloaded the rpm checkpassword-0.90-2patch.src.rpm still no joy.. [EMAIL PROTECTED] checkpassword-0.90]# make ./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 [EMAIL PROTECTED] checkpassword-0.90]# ----- Original Message ----- From: "Andreas Aardal Hanssen" <[EMAIL PROTECTED]> To: "Binc IMAP General" <[email protected]> Sent: Sunday, June 12, 2005 2:03 PM Subject: Re: [binc] Username and Password fail > On Sun, 12 Jun 2005, Grant Fletcher wrote: > >sure i have installed checkpassword but i dont think its running correctly,, > >i get this when i make setup: > >[EMAIL PROTECTED] checkpassword-0.90]# make setup > >./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 > >can you explain i am quite new to this, how to get to the logs.. > > It wasn't installed, because the package did not compile. But this is a > well known problem. > > If you find the line in this package that says "extern int errno" and > replace it with "#include <errno.h>", it will compile and install fine. > Just do this: > > grep 'extern int errno' *.c > > Then replace the relevant line, and run "make setup" again. > > Otherwise, there are several pre-compiled packages for checkpassword, > where you won't need to compile it yourself: > > http://www.qmail.org/rpms/RPMS/ > http://smarden.org/pape/Debian/ > > Andy :-) > > -- > Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg > Author of Binc IMAP | "It is better not to do something > http://www.bincimap.org/ | than to do it poorly." > > >
