From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <75355fea4454b767201c6e44211370df.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199802251844.TAA19098@gueuze.ens-lyon.fr> Date: Wed, 25 Feb 1998 14:34:46 -0500 From: Uncle George Subject: Re: Compileing i'm not into crypt, but i suppose u need something like -lcrypt ( cc switch ) which will look for libcrypt.so ( or .a ). mike@alpha.lab.realminfo.com wrote: > Yup... This: > > nwdbm.o: In function `crypt_pw_ok': > nwdbm.c(.text+0x56d8): undefined reference to `crypt' > nwdbm.c(.text+0x56dc): undefined reference to `crypt' > make[2]: *** [nwbind] Error 1 > > This is dureing the linking stage. > > I get the same error in a small test prog that I wrote when I try to > compile it also. > > On Wed, 25 Feb 1998, Uncle George ( Garlic Pizza Specialist ) wrote: > > > warnings have never ( for me ) stopped a compile from creating an object. > > something more to the messages? > > > > > > mike@alpha.lab.realminfo.com wrote: > > > > > I am trying to compile a piece of software and I get this error: > > > > > > gcc -c -pipe -Wall -I/usr/include -DLINUX -DUSE_GDBM -D_VERS_H_=0 > > > -D_VERS_L_=99 > > > -D_VERS_P_=2 ../nwdbm.c > > > ../nwdbm.c: In function `crypt_pw_ok': > > > ../nwdbm.c:1326: warning: implicit declaration of function `crypt' > > > ../nwdbm.c:1326: warning: initialization makes pointer from integer > > > without a cast > > > > > > I looked to make sure that the header that crypt is in is being #inc'd and > > > it is in one of the headers that nwdbm.c is including. I also included it > > > directly into the file. I still get the same error and cant get it to > > > compile. Its like the compiler cant find unistd.h. What would cause this? > > > Any help appreciated. I am not sure if this is an alpha specific problem > > > or maby its just C related. > > > > > > Mike Panetta > > > REALM Information Technologies > > > > > > -- > > > To unsubscribe: send e-mail to axp-list-request@redhat.com with > > > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > > > > > > > > -- > > To unsubscribe: send e-mail to axp-list-request@redhat.com with > > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > > > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com