Need Help Installing Modules (Error 1/2)

These are old archives. They are kept for historic purposes only.
Post Reply
Joey
Posts: 8
Joined: Thu Jul 29, 2010 4:13 pm

Need Help Installing Modules (Error 1/2)

Post by Joey »

Hello,

I keep getting the error 1 and 2 when installing a module, after downloading i upload the files and do everything manually, Here are the steps i take:

1: Upload the file
2: Do the command make custommodule MODULEFILE={modulename and yes i change this}
3: It puts to me a load of random stuff:

Code: Select all

cd src; make 'CFLAGS=-I../include -I/home/Joe/Unreal3.2/extras/regexp/include -I/home/Joe/Unreal3.2/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  -L/home/Joe/Unreal3.2/extras/regexp/lib -ltre   -L/home/Joe/Unreal3.2/extras/c-ares/lib -lcares'  'LDFLAGS=' 'IRCDMODE=711'  'RES=' 'BINDIR=/home/Joe/Unreal3.2/src/ircd' 'INSTALL=/usr/bin/install'  'INCLUDEDIR=../include' 'IRCDDIR=/home/Joe/Unreal3.2'  'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/usr/bin/touch'  'SHELL=/bin/sh' 'STRTOUL='  'CRYPTOLIB='  'CRYPTOINCLUDES='  'URL=' MODULEFILE=m_getinfo.c 'EXLIBS=' custommodule
cd modules; make 'CFLAGS=-I../include -I/home/Joe/Unreal3.2/extras/regexp/include -I/home/Joe/Unreal3.2/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  -L/home/Joe/Unreal3.2/extras/regexp/lib -ltre   -L/home/Joe/Unreal3.2/extras/c-ares/lib -lcares'  'LDFLAGS=' 'IRCDMODE=711'  'BINDIR=/home/Joe/Unreal3.2/src/ircd' 'INSTALL=/usr/bin/install'  'INCLUDEDIR=../include' 'IRCDDIR=/home/Joe/Unreal3.2'  'MANDIR=' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/usr/bin/touch'  'RES=' 'SHELL=/bin/sh' 'STRTOUL='  'CRYPTOLIB='  'CRYPTOINCLUDES=' 'URL=' MODULEFILE=m_getinfo.c 'EXLIBS=' custommodule
make: don't know how to make m_getinfo.c.c. Stop

Then getting this:

Code: Select all

*** Error code 2

Stop in /home/Joe/Unreal3.2/src.
*** Error code 1

Stop in /home/Joe/Unreal3.2.
I need help! please can someone help! :(
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Need Help Installing Modules (Error 1/2)

Post by Jobe »

The key part of the first batch of messages actually makes it obvious what is wrong:

Code: Select all

make: don't know how to make m_getinfo.c.c. Stop
Do NOT specify the ".c" for the module name. Eg if the module is called m_somemodule.c then specify ONLY m_somemodule
Your IP: Image
Your Country: Image
Post Reply