Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: undefined reference to crypt
       [not found] <surfer@mercury.flipag.net>
@ 1997-04-27 17:27 ` Bryan W. Headley
  0 siblings, 0 replies; 3+ messages in thread
From: Bryan W. Headley @ 1997-04-27 17:27 UTC (permalink / raw)


On Apr 27,  2:14pm, SurferBoy wrote:
> Subject: undefined reference to crypt
> Hello,
> 	I'm trying to compile some cgi-bin routines to allow Web access to
> adding users etc.  I keep getting undefined reference to crypt.  So I added
> the -l /usr/lib/libcrypt.a to the compile and it says ld: no such file.
> 	Any words of wisdom?

Try -lcrypt. It should know the path, /usr/lib (if you are going to give a full
path, don't specify -l, just have, "/usr/lib/libcrypt.a")

-- 
Bryan W. Headley                    Home:   bheadley@interaccess.com
211 East Pineview Drive             Office: bwh@abnamro.com
Round Lake Park, IL 60073           Phone:  847 740-1446

--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* undefined reference to crypt
@ 1997-04-27 18:14 SurferBoy
  1997-04-28 17:00 ` Alvaro
  0 siblings, 1 reply; 3+ messages in thread
From: SurferBoy @ 1997-04-27 18:14 UTC (permalink / raw)


Hello,
	I'm trying to compile some cgi-bin routines to allow Web access to
adding users etc.  I keep getting undefined reference to crypt.  So I added
the -l /usr/lib/libcrypt.a to the compile and it says ld: no such file.
	Any words of wisdom?

Thanks -Rick
"No matter where you go...there you are."
		-Buckaroo Banzai

--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: undefined reference to crypt
  1997-04-27 18:14 SurferBoy
@ 1997-04-28 17:00 ` Alvaro
  0 siblings, 0 replies; 3+ messages in thread
From: Alvaro @ 1997-04-28 17:00 UTC (permalink / raw)


=>Hello,
=>	I'm trying to compile some cgi-bin routines to allow Web access to
=>adding users etc.  I keep getting undefined reference to crypt.  So I added
=>the -l /usr/lib/libcrypt.a to the compile and it says ld: no such file.
=>	Any words of wisdom?

You are wrong :(

Yo have to add -lcrypt to the compiler.

Bye

   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   ~   Alvaro Hernan Buitrago Giraldo                 ~
   ~   Cuando estes en medio de una gran sombra       ~
   ~   Es por que hay una gran luz cerca              ~
   ~   e-mail: albuitra@calvin.univalle.edu.co        ~
   ~   http://calvin.univalle.edu.co/~albuitra        ~
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-04-28 17:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <surfer@mercury.flipag.net>
1997-04-27 17:27 ` undefined reference to crypt Bryan W. Headley
1997-04-27 18:14 SurferBoy
1997-04-28 17:00 ` Alvaro

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