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.
I though I had uncommented the line in crosssite.def, but didn't and that was it..
Thanks, it's working fine now.
This is Debian system, and if I can get myself together I might roll out packages
for it. Has anyone though already doing this ?
--j
[to unsubscribe etc., send mail to crossfire-request@ifi.uio.no]
References: