Unrealircd 3.2.3 cvs and CGIirc module

These are old archives. They are kept for historic purposes only.
Post Reply
robbtek
Posts: 13
Joined: Mon Sep 12, 2005 8:36 am

Unrealircd 3.2.3 cvs and CGIirc module

Post by robbtek »

I've tryed to compile CGIirc module on Unrealircd 3.2.3 but I receive this error :
[tester@linux Unreal3.2]$ make custommodule MODULEFILE=cgiirc
[tester@linux Unreal3.2]$ make custommodule MODULEFILE=cgiirc
cd src; make 'CFLAGS=-I../include -I/home/tester/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -DZIP_LINKS -export-dynamic ' 'CC=gcc' 'IRCDLIBS=-lcrypt -lnsl -lz -ldl -L../extras/regexp/lib -ltre' 'LDFLAGS=' 'IRCDMODE=711' 'RES=' 'BINDIR=/home/tester/Unreal3.2/src/ircd' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'IRCDDIR=/home/tester/Unreal3.2' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/bin/touch' 'SHELL=/bin/sh' 'STRTOUL=' 'CRYPTOLIB=' 'CRYPTOINCLUDES=' 'URL=' MODULEFILE=cgiirc 'EXLIBS=' custommodule
make[1]: Entering directory `/home/tester/Unreal3.2/src'
cd modules; make 'CFLAGS=-I../include -I/home/tester/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -DZIP_LINKS -export-dynamic ' 'CC=gcc' 'IRCDLIBS=-lcrypt -lnsl -lz -ldl -L../extras/regexp/lib -ltre' 'LDFLAGS=' 'IRCDMODE=711' 'BINDIR=/home/tester/Unreal3.2/src/ircd' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'IRCDDIR=/home/tester/Unreal3.2' 'MANDIR=' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/bin/touch' 'RES=' 'SHELL=/bin/sh' 'STRTOUL=' 'CRYPTOLIB=' 'CRYPTOINCLUDES=' 'URL=' MODULEFILE=cgiirc 'EXLIBS=' custommodule
make[2]: Entering directory `/home/tester/Unreal3.2/src/modules'
gcc -I../include -I/home/tester/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -DZIP_LINKS -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:730: error: previous declaration of âfind_tkline_matchâ was here
make[2]: *** [custommodule] Error 1
make[2]: Leaving directory `/home/tester/Unreal3.2/src/modules'
make[1]: *** [custommodule] Error 2
make[1]: Leaving directory `/home/tester/Unreal3.2/src'
make: *** [custommodule] Error 2
Can you help me ?
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

I'm guessing the module's had some problems with the newer Unreal's, I'll download a copy now and see what I can do.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
robbtek
Posts: 13
Joined: Mon Sep 12, 2005 8:36 am

Post by robbtek »

I think that it's not a "professional" solution but I've solved by removing this line :

extern int find_tkline_match(aClient *, int);

:roll:
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

I've not had the chance to look yet, but I'd say that that got marked external by Unreal, which would explain it, yes :)

[basically: you did the right thing, if it's what i think it is :p]
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Post Reply