Compile fails in Linux

These are old archives. They are kept for historic purposes only.
Post Reply
beno1990
Posts: 1
Joined: Thu Aug 14, 2008 2:26 pm

Compile fails in Linux

Post by beno1990 »

Hey there,

I'm trying to install UnrealIRCd on one of my servers by compiling it from scratch. I've successfully gone through ./Config and it's told me to invoke the make command to compile the program, but when I do I get these errors:

Code: Select all

ircd@server1:/sources/unreal source/Unreal3.2# make
Building src
make[1]: Entering directory `/sources/unreal source/Unreal3.2/src'
gcc -I../include -pipe -g -O2 -funsigned-char -I/usr/include -export-dynamic  -L/usr/lib  -c auth.c
auth.c: In function ‘Auth_Check’:
auth.c:238: error: ‘MD5_DIGEST_LENGTH’ undeclared (first use in this function)
auth.c:238: error: (Each undeclared identifier is reported only once
auth.c:238: error: for each function it appears in.)
auth.c:238: warning: passing argument 1 of ‘b64_encode’ makes pointer from integer without a cast
auth.c:324: error: ‘RIPEMD160_DIGEST_LENGTH’ undeclared (first use in this function)
auth.c:324: warning: passing argument 1 of ‘b64_encode’ makes pointer from integer without a cast
auth.c: In function ‘Auth_Make’:
auth.c:407: error: ‘MD5_DIGEST_LENGTH’ undeclared (first use in this function)
auth.c:407: warning: passing argument 1 of ‘b64_encode’ makes pointer from integer without a cast
auth.c:478: error: ‘RIPEMD160_DIGEST_LENGTH’ undeclared (first use in this function)
auth.c:478: warning: passing argument 1 of ‘b64_encode’ makes pointer from integer without a cast
make[1]: *** [auth.o] Error 1
make[1]: Leaving directory `/sources/unreal source/Unreal3.2/src'
make: *** [build] Error 2
root@server1:/sources/unreal source/Unreal3.2# 
Is there anything I can do to resolve this problem?

Thanks in advance.
Post Reply