[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Compiling problems: undefined reference to 'errno'



(On the way out the door) That may fix it but I'm still curious why it
didn't get picked up in the autoconfigure script.  It used to work in
8.0.  I'll check it out when I get back in town this evening.

Thanks,
Brian

On Wed, 2002-12-25 at 09:25, Manfred Hollstein wrote:
> On Wed, 25 Dec 2002, 15:05:25 +0100, Brian C. Huffman wrote:
> > I'm trying to compile SRP (Stanford's Secure Remote Protocol).  It
> > configures and then when I do a make, spits this error out after a
> > couple of lines.  I will investigate a little later, but figured if
> > anyone knew this off of the top of their head, it might be faster:
> > 
> > Thanks!
> > Brian
> > 
> > 
> > 
> > ar cru libsrp.a t_client.o t_conf.o t_conv.o t_getpass.o t_sha.o
> > t_math.o t_misc.o t_pw.o t_read.o t_server.o t_truerand.o cstr.o srp.o
> > rfc2945_client.o rfc2945_server.o srp6_client.o srp6_server.o yp_misc.o
> > yp_tpasswd.o yp_tconf.o nsw_tpasswd.o nsw_tconf.o nsswitch.o
> > ranlib libsrp.a
> > gcc -DHAVE_CONFIG_H -I. -I. -I.    -fPIC -O -c tconf.c
> > gcc -fPIC -O  -o tconf  tconf.o libsrp.a -lcrypto -lnsl
> > tconf.o(.text+0x11f): In function `main':
> > : undefined reference to `errno'
> 
> This is a bug in the application; it should #include <errno.h>.
> 
> HTH, cheers.
> 
> l8er
> manfred
> 
> 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]