3.2.4 + cgiirc host module
Posted: Sat Feb 04, 2006 5:04 am
Hi! I have just upgraded my server to 3.2.4, and i am just reinstalling modules, but for some rason i cant seem to compile the cgiirc host module, i get this:
%make custommodule MODULEFILE=cgiirc
cd src; make 'CFLAGS=-I../include -I/usr/home/ircd/Unreal3.2/extras/regexp/include -I/usr/home/ircd/Unreal3.2/extras/c-ares/include -pipe -g -O2 -funsigned-char -fno-strict-aliasing -export-dynamic ' 'CC=gcc' 'IRCDLIBS=-lcrypt -L/usr/home/ircd/Unreal3.2/extras/regexp/lib -ltre -L../extras/c-ares/lib -lcares' 'LDFLAGS=' 'IRCDMODE=711' 'RES=' 'BINDIR=/usr/home/ircd/Unreal3.2/src/ircd' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'IRCDDIR=/usr/home/ircd/Unreal3.2' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'STRTOUL=' 'CRYPTOLIB=-lssl -lcrypto' 'CRYPTOINCLUDES=' 'URL=' MODULEFILE=cgiirc 'EXLIBS=' custommodule
cd modules; make 'CFLAGS=-I../include -I/usr/home/ircd/Unreal3.2/extras/regexp/include -I/usr/home/ircd/Unreal3.2/extras/c-ares/include -pipe -g -O2 -funsigned-char -fno-strict-aliasing -export-dynamic ' 'CC=gcc' 'IRCDLIBS=-lcrypt -L/usr/home/ircd/Unreal3.2/extras/regexp/lib -ltre -L../extras/c-ares/lib -lcares' 'LDFLAGS=' 'IRCDMODE=711' 'BINDIR=/usr/home/ircd/Unreal3.2/src/ircd' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'IRCDDIR=/usr/home/ircd/Unreal3.2' 'MANDIR=' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/usr/bin/touch' 'RES=' 'SHELL=/bin/sh' 'STRTOUL=' 'CRYPTOLIB=-lssl -lcrypto' 'CRYPTOINCLUDES=' 'URL=' MODULEFILE=cgiirc 'EXLIBS=' custommodule
gcc -I../include -I/usr/home/ircd/Unreal3.2/extras/regexp/include -I/usr/home/ircd/Unreal3.2/extras/c-ares/include -pipe -g -O2 -funsigned-char -fno-strict-aliasing -export-dynamic -fPIC -DPIC -shared -DDYNAMIC_LINKING -o cgiirc.so cgiirc.c
cgiirc.c:46: error: 'find_tkline_match' redeclared as different kind of symbol
../include/h.h:731: error: previous declaration of 'find_tkline_match' was here
cgiirc.c:46: error: 'find_tkline_match' redeclared as different kind of symbol
../include/h.h:731: error: previous declaration of 'find_tkline_match' was here
*** Error code 1
Stop in /usr/home/ircd/Unreal3.2/src/modules.
*** Error code 1
Stop in /usr/home/ircd/Unreal3.2/src.
*** Error code 1
Stop in /usr/home/ircd/Unreal3.2.
Any help would be appreciated! Thanks.
%make custommodule MODULEFILE=cgiirc
cd src; make 'CFLAGS=-I../include -I/usr/home/ircd/Unreal3.2/extras/regexp/include -I/usr/home/ircd/Unreal3.2/extras/c-ares/include -pipe -g -O2 -funsigned-char -fno-strict-aliasing -export-dynamic ' 'CC=gcc' 'IRCDLIBS=-lcrypt -L/usr/home/ircd/Unreal3.2/extras/regexp/lib -ltre -L../extras/c-ares/lib -lcares' 'LDFLAGS=' 'IRCDMODE=711' 'RES=' 'BINDIR=/usr/home/ircd/Unreal3.2/src/ircd' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'IRCDDIR=/usr/home/ircd/Unreal3.2' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'STRTOUL=' 'CRYPTOLIB=-lssl -lcrypto' 'CRYPTOINCLUDES=' 'URL=' MODULEFILE=cgiirc 'EXLIBS=' custommodule
cd modules; make 'CFLAGS=-I../include -I/usr/home/ircd/Unreal3.2/extras/regexp/include -I/usr/home/ircd/Unreal3.2/extras/c-ares/include -pipe -g -O2 -funsigned-char -fno-strict-aliasing -export-dynamic ' 'CC=gcc' 'IRCDLIBS=-lcrypt -L/usr/home/ircd/Unreal3.2/extras/regexp/lib -ltre -L../extras/c-ares/lib -lcares' 'LDFLAGS=' 'IRCDMODE=711' 'BINDIR=/usr/home/ircd/Unreal3.2/src/ircd' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'IRCDDIR=/usr/home/ircd/Unreal3.2' 'MANDIR=' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/usr/bin/touch' 'RES=' 'SHELL=/bin/sh' 'STRTOUL=' 'CRYPTOLIB=-lssl -lcrypto' 'CRYPTOINCLUDES=' 'URL=' MODULEFILE=cgiirc 'EXLIBS=' custommodule
gcc -I../include -I/usr/home/ircd/Unreal3.2/extras/regexp/include -I/usr/home/ircd/Unreal3.2/extras/c-ares/include -pipe -g -O2 -funsigned-char -fno-strict-aliasing -export-dynamic -fPIC -DPIC -shared -DDYNAMIC_LINKING -o cgiirc.so cgiirc.c
cgiirc.c:46: error: 'find_tkline_match' redeclared as different kind of symbol
../include/h.h:731: error: previous declaration of 'find_tkline_match' was here
cgiirc.c:46: error: 'find_tkline_match' redeclared as different kind of symbol
../include/h.h:731: error: previous declaration of 'find_tkline_match' was here
*** Error code 1
Stop in /usr/home/ircd/Unreal3.2/src/modules.
*** Error code 1
Stop in /usr/home/ircd/Unreal3.2/src.
*** Error code 1
Stop in /usr/home/ircd/Unreal3.2.
Any help would be appreciated! Thanks.