Code: Select all
[coms@free (~/Unreal3.2)]$ make custommodule MODULEFILE=adwords
cd src; make 'CFLAGS=-I../include -I/home/coms/Unreal3.2/extras/regexp/include -I/home/coms/Unreal3.2/extras/c-ares/include -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -export-dynamic ' 'CC=gcc' 'IRCDLIBS=-lcrypt -L/home/coms/Unreal3.2/extras/regexp/lib -ltre -L../extras/c-ares/lib -L/home/coms/Unreal3.2/extras/c-ares/lib -lcares' 'LDFLAGS=' 'IRCDMODE=711' 'RES=' 'BINDIR=/home/coms/Unreal3.2/src/ircd' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'IRCDDIR=/home/coms/Unreal3.2' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'STRTOUL=' 'CRYPTOLIB=' 'CRYPTOINCLUDES=' 'URL=' MODULEFILE=adwords 'EXLIBS=' custommodule
cd modules; make 'CFLAGS=-I../include -I/home/coms/Unreal3.2/extras/regexp/include -I/home/coms/Unreal3.2/extras/c-ares/include -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -export-dynamic ' 'CC=gcc' 'IRCDLIBS=-lcrypt -L/home/coms/Unreal3.2/extras/regexp/lib -ltre -L../extras/c-ares/lib -L/home/coms/Unreal3.2/extras/c-ares/lib -lcares' 'LDFLAGS=' 'IRCDMODE=711' 'BINDIR=/home/coms/Unreal3.2/src/ircd' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=../include' 'IRCDDIR=/home/coms/Unreal3.2' 'MANDIR=' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/usr/bin/touch' 'RES=' 'SHELL=/bin/sh' 'STRTOUL=' 'CRYPTOLIB=' 'CRYPTOINCLUDES=' 'URL=' MODULEFILE=adwords 'EXLIBS=' custommodule
gcc -I../include -I/home/coms/Unreal3.2/extras/regexp/include -I/home/coms/Unreal3.2/extras/c-ares/include -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -export-dynamic -fPIC -DPIC -shared -DDYNAMIC_LINKING -o adwords.so adwords.c
adwords.c: In function 'cb_chanmsg':
adwords.c:1752: error: 'MODE_STRIPBADWORDS' undeclared (first use in this function)
adwords.c:1752: error: (Each undeclared identifier is reported only once
adwords.c:1752: error: for each function it appears in.)
adwords.c: In function 'cb_quit':
adwords.c:1783: error: 'MODE_STRIPBADWORDS' undeclared (first use in this function)
adwords.c: In function 'cb_partmsg':
adwords.c:1884: error: 'MODE_STRIPBADWORDS' undeclared (first use in this function)
*** Error code 1
Stop in /usr/home/coms/Unreal3.2/src/modules.
*** Error code 1
Stop in /usr/home/coms/Unreal3.2/src.
*** Error code 1
Stop in /usr/home/coms/Unreal3.2.
[coms@free (~/Unreal3.2)]$
What is the problem