Page 1 of 1

Errors I get when compiling?

Posted: Sun Mar 20, 2005 3:36 pm
by thauch
-bash-2.05b$ cd Unreal3.2
-bash-2.05b$ make custommodule MODULEFILENAME=m_vhost
cd src; make 'CFLAGS=-I../include -I/home/gpeck/Unreal3.2/extras/regexp/include
-pipe -g -O2 -funsigned-char -export-dynamic ' 'CC=gcc' 'IRCDLIBS=-lcrypt -lnsl
-ldl -L/home/gpeck/Unreal3.2/extras/regexp/lib -ltre ' 'LDFLAGS=' 'IRCDMODE=7
11' 'RES=' 'BINDIR=/home/gpeck/Unreal3.2/src/ircd' 'INSTALL=/usr/bin/install' 'I
NCLUDEDIR=../include' 'IRCDDIR=/home/gpeck/Unreal3.2' 'RM=/bin/rm' 'CP=/bin/cp'
'TOUCH=/bin/touch' 'SHELL=/bin/sh' 'STRTOUL=' 'CRYPTOLIB=' 'CRYPTOINCLUDES=' 'UR
L=' MODULEFILE= 'EXLIBS=' custommodule
make[1]: Entering directory `/home/gpeck/Unreal3.2/src'
cd modules; make 'CFLAGS=-I../include -I/home/gpeck/Unreal3.2/extras/regexp/incl
ude -pipe -g -O2 -funsigned-char -export-dynamic ' 'CC=gcc' 'IRCDLIBS=-lcrypt -
lnsl -ldl -L/home/gpeck/Unreal3.2/extras/regexp/lib -ltre ' 'LDFLAGS=' 'IRCDMO
DE=711' 'BINDIR=/home/gpeck/Unreal3.2/src/ircd' 'INSTALL=/usr/bin/install' 'INCL
UDEDIR=../include' 'IRCDDIR=/home/gpeck/Unreal3.2' 'MANDIR=' 'RM=/bin/rm' 'CP=/b
in/cp' 'TOUCH=/bin/touch' 'RES=' 'SHELL=/bin/sh' 'STRTOUL=' 'CRYPTOLIB=' 'CRYPTO
INCLUDES=' 'URL=' MODULEFILE= 'EXLIBS=' custommodule
make[2]: Entering directory `/home/gpeck/Unreal3.2/src/modules'
gcc -I../include -I/home/gpeck/Unreal3.2/extras/regexp/include -pipe -g -O2 -fun
signed-char -export-dynamic -o .c
gcc: no input files
make[2]: *** [.c] Error 1
make[2]: Leaving directory `/home/gpeck/Unreal3.2/src/modules'
make[1]: *** [custommodule] Error 2
make[1]: Leaving directory `/home/gpeck/Unreal3.2/src'
make: *** [custommodule] Error 2
-bash-2.05b$
-bash-2.05b$

I have m_vhost.c in src/modules.
Sorry, I am kind of new to this. I just followed what it said on a few websites.

Posted: Sun Mar 20, 2005 3:45 pm
by Syzop
MODULEFILE, not MODULEFILENAME.

Anyway, m_vhost already exists in the unrealircd package.. so if there's another module that has that name and you copied it to src/modules then you just overwrote the /vhost command :P.

Or.. if you are trying to compile the m_vhost that is included in unreal: well, you don't have to -- they are already compiled by the simple 'make' command. All the m_* modules included in unreal are loaded via loading commands.so, there's no need to load them both via commands.so and m_*.so

Posted: Sun Mar 20, 2005 3:58 pm
by thauch
Thank you. It worked. And as far as m_vhost, I just picked anything. I don't care about the install. I'm running it on a machine at home just so I can play and familiarize myself with different things.

Once again, Thank you.
Oh yeah. One more question. After I add the .so in the conf, Can I just rehash the server?

Posted: Mon Mar 21, 2005 6:19 am
by RandomNumber
Yes in most cases