Errors I get when compiling?

These are old archives. They are kept for historic purposes only.
Post Reply
Posts: 4
Joined: Tue Mar 15, 2005 5:26 pm

Errors I get when compiling?

Post 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'
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
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

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.
UnrealIRCd head coder
Posts: 1961
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl

Post by Syzop »


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, there's no need to load them both via and m_*.so
Posts: 4
Joined: Tue Mar 15, 2005 5:26 pm

Post 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?
Posts: 44
Joined: Mon Jan 24, 2005 6:10 pm

Post by RandomNumber »

Yes in most cases
Post Reply