Compilation failing on CentOS 5.2 (GCC 4.3.3).

These are old archives. They are kept for historic purposes only.
Post Reply
Posts: 1
Joined: Wed Mar 04, 2009 4:27 pm
Location: Denmark

Compilation failing on CentOS 5.2 (GCC 4.3.3).

Post by XTZGZoReX »

I'm getting a nasty compile error, trying to compile UnrealIRCd 3.2.8 on CentOS 5.2 with GCC 4.3.3.

Code: Select all

Building src
make[1]: Entering directory `/home/ircd/src'
cd modules; make 'CFLAGS=-I../include -I/home/ircd/extras/regexp/include -I/home/ircd/extras/c-ares/include -L../extras/c-ares/lib -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -export-dynamic  ' 'CC=gcc' 'IRCDLIBS=-lcrypt -lnsl  -ldl -L/home/ircd/extras/regexp/lib -ltre   -L/home/ircd/extras/c-ares/lib -lcares -lrt  ' 'LDFLAGS=' 'IRCDMODE=711' 'BINDIR=/home/ircd/src/ircd' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'IRCDDIR=/home/ircd' 'MANDIR=' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/bin/touch' 'RES=' 'SHELL=/bin/sh' 'STRTOUL=' 'CRYPTOLIB=-lssl -lcrypto' 'CRYPTOINCLUDES=' 'URL='  all
make[2]: Entering directory `/home/ircd/src/modules'
gcc -I../include -I/home/ircd/extras/regexp/include -I/home/ircd/extras/c-ares/include -L../extras/c-ares/lib -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -export-dynamic   -fPIC -DPIC -shared  -c m_nick.c
m_nick.c: In function â_register_userâ:
m_nick.c:1187: error: âHOOKTYPE_LOCAL_NICKPASSâ undeclared (first use in this function)
m_nick.c:1187: error: (Each undeclared identifier is reported only once
m_nick.c:1187: error: for each function it appears in.)
make[2]: *** [m_nick.o] Error 1
make[2]: Leaving directory `/home/ircd/src/modules'
make[1]: *** [mods] Error 2
make[1]: Leaving directory `/home/ircd/src'
make: *** [build] Error 2
Would anyone happen to have a clue what could cause this -- and how it could be fixed?

Post Reply