Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: mike@alpha.lab.realminfo.com
Subject: Re: Compileing
Date: Wed, 25 Feb 1998 13:02:40 -0500 (EST)	[thread overview]
Message-ID: <d8912910464318adf3e01321220998d1.axp-list@archive.invalid> (raw)
In-Reply-To: <34F455CC.8E667B3E@voicenet.com>

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

       reply	other threads:[~1998-02-25 18:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <34F455CC.8E667B3E@voicenet.com>
1998-02-25 18:02 ` mike [this message]
     [not found] <199802251806.NAA24999@rrdjazz.nist.gov>
1998-02-25 20:18 ` Compileing mike
1998-02-25 19:34 Compileing Uncle George
     [not found] <Pine.LNX.3.96.980225130110.7331A-100000@alpha.lab.realminfo.com>
1998-02-25 18:09 ` Compileing Christopher C Chimelis
  -- strict thread matches above, loose matches on Subject: below --
1998-02-25 18:06 Compileing Przemek Klosowski
1998-02-25 17:33 Compileing Uncle George
1998-02-25 17:17 Compileing mike
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox