Userfriendly

Author Topic: problem with Crypt  (Read 3135 times)

Offline mezw

  • First timer
  • *
  • Posts: 4
    • View Profile
problem with Crypt
« on: November 06, 2005, 07:31:48 pm »
Have got the ircd working now using Ultimate2.8.9 thank you, but cant get teh crypt to work to encrypt the passwords.
When I am typing make I get the following:

[11:29](barb@ircd2)[~/Ultimate2.8.9/crypt]> make
cc -O mkpasswd.c -o mkpasswd
/tmp/ccdx1AK6.o: In function `main':
/tmp/ccdx1AK6.o(.text+0xe7): undefined reference to `crypt'
*** Error code 1

Stop in /usr/home/barb/Ultimate2.8.9/crypt.


have the ircd running on 3 shells and the same happens on them all so its prob something im doing, just can think what is is though...

Offline ShadowMaster

  • Chief Codemonkey
  • Administrator
  • ********
  • Posts: 3136
    • View Profile
    • http://www.shadow-realm.org/
Re: problem with Crypt
« Reply #1 on: November 07, 2005, 02:48:53 am »
Simple workaround, manually issue:
cc -O mkpasswd.c -o mkpasswd -lcrypt
Search before posting - No support by PM or IM