Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CF: server won't compile
Quoting Jaakko Niemi (liiwi@lonesom.pp.fi):
> Hi!
>
> Has anybody tried to compile 0.94.1 in a glibc system?
>
> When I try, the server will not build:
>
> main.o: In function `crypt_string':
> main.o(.text+0x73a): undefined reference to `crypt'
> make: *** [crossfire] Error 1
>
> This is line 156:
>
> return crypt(str,s);
>
> and if I change this to:
>
> return crypt_string(str,s);
>
> it will compile cleanly, but crossfire segfaults after asking for a password.
>
> Note, that I do know nothing about C or is this because of some glibc glitch or what.
>
Add -lcrypt or if you are running linux box, and it's redhat look
here:
ftp://ftp.real-time.com/pub/real-time/RPMS/i386
All crossfire stuff is in rpm format.
> --j
>
>
> [to unsubscribe etc., send mail to crossfire-request@ifi.uio.no]
--
Bob Tanner <tanner@real-time.com> | Phone : (612)943-8700
http://www.real-time.com | Fax : (612)943-8500
Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9
[to unsubscribe etc., send mail to crossfire-request@ifi.uio.no]
Follow-Ups:
References: