Page 1 of 1

ERROR compiling on Debian Squeeze

Posted: Thu Oct 20, 2011 9:06 am
by carocho
Hi...

I'm new on Unreal and i need help.

I tried to compile UnrealIRCd 3.2.8.1 on Debian Squeeze with:

./configure
make

but got this error:

Code: Select all

lp.o ircd.o ircsprintf.o list.o lusers.o match.o modules.o packet.o parse.o s_auth.o s_conf.o s_debug.o s_err.o s_extra.o s_kline.o s_misc.o s_numeric.o s_serv.o s_svs.o  socket.o ssl.o s_user.o charsys.o scache.o send.o support.o umodes.o version.o whowas.o zip.o cidr.o random.o extcmodes.o extbans.o md5.o api-isupport.o api-command.o   -lcrypt -lnsl  -L/home/unreal/src/Unreal3.2/extras/regexp/lib -ltre   -L/home/unreal/src/Unreal3.2/extras/c-ares/lib -lcares -lrt
modules.o: In function `Module_SymX':
/home/unreal/src/Unreal3.2/src/modules.c:904: undefined reference to `dlsym'
modules.o: In function `Module_Sym':
/home/unreal/src/Unreal3.2/src/modules.c:882: undefined reference to `dlsym'
modules.o: In function `unload_all_modules':
/home/unreal/src/Unreal3.2/src/modules.c:1569: undefined reference to `dlsym'
modules.o: In function `Module_free':
/home/unreal/src/Unreal3.2/src/modules.c:795: undefined reference to `dlclose'
modules.o: In function `module_loadall':
/home/unreal/src/Unreal3.2/src/modules.c:936: undefined reference to `dlsym'
modules.o: In function `Module_Unload':
/home/unreal/src/Unreal3.2/src/modules.c:824: undefined reference to `dlsym'
modules.o: In function `Init_all_testing_modules':
/home/unreal/src/Unreal3.2/src/modules.c:544: undefined reference to `dlsym'
modules.o: In function `Unload_all_testing_modules':
/home/unreal/src/Unreal3.2/src/modules.c:711: undefined reference to `dlclose'
modules.o: In function `Unload_all_loaded_modules':
/home/unreal/src/Unreal3.2/src/modules.c:579: undefined reference to `dlsym'
/home/unreal/src/Unreal3.2/src/modules.c:640: undefined reference to `dlclose'
modules.o: In function `Module_Create':
/home/unreal/src/Unreal3.2/src/modules.c:358: undefined reference to `dlopen'
/home/unreal/src/Unreal3.2/src/modules.c:361: undefined reference to `dlsym'
/home/unreal/src/Unreal3.2/src/modules.c:379: undefined reference to `dlsym'
/home/unreal/src/Unreal3.2/src/modules.c:392: undefined reference to `dlsym'
/home/unreal/src/Unreal3.2/src/modules.c:431: undefined reference to `dlsym'
/home/unreal/src/Unreal3.2/src/modules.c:437: undefined reference to `dlsym'
modules.o:/home/unreal/src/Unreal3.2/src/modules.c:443: more undefined references to `dlsym' follow
modules.o: In function `Module_Create':
/home/unreal/src/Unreal3.2/src/modules.c:375: undefined reference to `dlclose'
/home/unreal/src/Unreal3.2/src/modules.c:487: undefined reference to `dlerror'
/home/unreal/src/Unreal3.2/src/modules.c:422: undefined reference to `dlclose'
/home/unreal/src/Unreal3.2/src/modules.c:416: undefined reference to `dlclose'
/home/unreal/src/Unreal3.2/src/modules.c:401: undefined reference to `dlclose'
/home/unreal/src/Unreal3.2/src/modules.c:395: undefined reference to `dlclose'
modules.o: In function `Module_SymEx':
/home/unreal/src/Unreal3.2/src/modules.c:860: undefined reference to `dlsym'
collect2: ld returned 1 exit status
make[1]: *** [ircd] Error 1
make[1]: Leaving directory `/home/unreal/src/Unreal3.2/src'
make: *** [build] Error 2
unreal@xxxxyyyy:~/src/Unreal3.2$
What is missing???



Edit;

I have tried to configure with SSL support with:

./configure --enable-ssl=
sudo make


The errors are more than i could copy from console but here it is what i was able to copy:

Code: Select all

/home/unreal/src/Unreal3.2/src/modules/m_opermotd.c:120: undefined reference to `sendto_one'
/home/unreal/src/Unreal3.2/src/modules/m_opermotd.c:97: undefined reference to `opermotd'
m_opermotd.o: In function `m_opermotd_Init':
/home/unreal/src/Unreal3.2/src/modules/m_opermotd.c:63: undefined reference to `CommandAdd'
/home/unreal/src/Unreal3.2/src/modules/m_opermotd.c:64: undefined reference to `ModuleSetOptions'
m_botmotd.o: In function `m_botmotd':
/home/unreal/src/Unreal3.2/src/modules/m_botmotd.c:87: undefined reference to `hunt_server_token'
/home/unreal/src/Unreal3.2/src/modules/m_botmotd.c:94: undefined reference to `make_user_host'
/home/unreal/src/Unreal3.2/src/modules/m_botmotd.c:94: undefined reference to `strlcpy'
/home/unreal/src/Unreal3.2/src/modules/m_botmotd.c:95: undefined reference to `Find_tld'
/home/unreal/src/Unreal3.2/src/modules/m_botmotd.c:113: undefined reference to `me'
/home/unreal/src/Unreal3.2/src/modules/m_botmotd.c:113: undefined reference to `sendto_one'
/home/unreal/src/Unreal3.2/src/modules/m_botmotd.c:118: undefined reference to `me'
/home/unreal/src/Unreal3.2/src/modules/m_botmotd.c:118: undefined reference to `sendto_one'
/home/unreal/src/Unreal3.2/src/modules/m_botmotd.c:121: undefined reference to `me'
/home/unreal/src/Unreal3.2/src/modules/m_botmotd.c:121: undefined reference to `sendto_one'
/home/unreal/src/Unreal3.2/src/modules/m_botmotd.c:105: undefined reference to `botmotd'
/home/unreal/src/Unreal3.2/src/modules/m_botmotd.c:109: undefined reference to `me'
/home/unreal/src/Unreal3.2/src/modules/m_botmotd.c:109: undefined reference to `sendto_one'
m_botmotd.o: In function `m_botmotd_Init':
/home/unreal/src/Unreal3.2/src/modules/m_botmotd.c:63: undefined reference to `CommandAdd'
/home/unreal/src/Unreal3.2/src/modules/m_botmotd.c:64: undefined reference to `ModuleSetOptions'
m_lusers.o: In function `m_lusers':
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:86: undefined reference to `hunt_server_token'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:90: undefined reference to `iConf'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:93: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:93: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:94: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:95: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:95: undefined reference to `IRCstats'
m_lusers.o:/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:96: more undefined references to `IRCstats' follow
m_lusers.o: In function `m_lusers':
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:98: undefined reference to `getreply'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:98: undefined reference to `me'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:98: undefined reference to `sendto_one'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:102: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:105: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:108: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:111: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:111: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:111: undefined reference to `getreply'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:111: undefined reference to `me'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:111: undefined reference to `sendto_one'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:113: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:113: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:113: undefined reference to `getreply'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:113: undefined reference to `me'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:113: undefined reference to `sendto_one'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:115: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:115: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:115: undefined reference to `getreply'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:115: undefined reference to `me'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:115: undefined reference to `sendto_one'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:117: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:117: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:117: undefined reference to `max_connection_count'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:119: undefined reference to `max_connection_count'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:90: undefined reference to `UMODE_LOCOP'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:90: undefined reference to `UMODE_OPER'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:93: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:93: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:103: undefined reference to `getreply'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:103: undefined reference to `me'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:103: undefined reference to `sendto_one'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:105: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:106: undefined reference to `getreply'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:106: undefined reference to `me'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:106: undefined reference to `sendto_one'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:108: undefined reference to `IRCstats'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:109: undefined reference to `getreply'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:109: undefined reference to `me'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:109: undefined reference to `sendto_one'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:122: undefined reference to `sendto_ops'
m_lusers.o: In function `m_lusers_Init':
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:63: undefined reference to `CommandAdd'
/home/unreal/src/Unreal3.2/src/modules/m_lusers.c:64: undefined reference to `ModuleSetOptions'
m_names.o: In function `m_names':
/home/unreal/src/Unreal3.2/src/modules/m_names.c:95: undefined reference to `me'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:113: undefined reference to `hunt_server_token'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:130: undefined reference to `hash_find_channel'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:132: undefined reference to `find_membership_link'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:140: undefined reference to `find_membership_link'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:166: undefined reference to `UMODE_INVISIBLE'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:166: undefined reference to `UMODE_NETADMIN'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:235: undefined reference to `getreply'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:235: undefined reference to `me'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:235: undefined reference to `sendto_one'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:237: undefined reference to `getreply'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:237: undefined reference to `me'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:237: undefined reference to `sendto_one'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:122: undefined reference to `get_client_name'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:122: undefined reference to `sendto_realops'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:124: undefined reference to `getreply'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:107: undefined reference to `getreply'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:132: undefined reference to `UMODE_LOCOP'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:132: undefined reference to `UMODE_OPER'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:213: undefined reference to `UMODE_HIDE'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:213: undefined reference to `make_nick_user_host'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:212: undefined reference to `strlcpy'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:169: undefined reference to `is_chan_op'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:170: undefined reference to `is_chanprot'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:171: undefined reference to `is_chanowner'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:227: undefined reference to `getreply'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:227: undefined reference to `me'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:227: undefined reference to `sendto_one'
m_names.o: In function `m_names_Init':
/home/unreal/src/Unreal3.2/src/modules/m_names.c:63: undefined reference to `CommandAdd'
/home/unreal/src/Unreal3.2/src/modules/m_names.c:64: undefined reference to `ModuleSetOptions'
m_svsnolag.o: In function `do_svsnolag':
/home/unreal/src/Unreal3.2/src/modules/m_svsnolag.c:98: undefined reference to `find_person'
/home/unreal/src/Unreal3.2/src/modules/m_svsnolag.c:103: undefined reference to `sendto_one'
/home/unreal/src/Unreal3.2/src/modules/m_svsnolag.c:122: undefined reference to `sendnotice'
/home/unreal/src/Unreal3.2/src/modules/m_svsnolag.c:113: undefined reference to `sendnotice'
m_svsnolag.o: In function `m_svsnolag_Unload':
/home/unreal/src/Unreal3.2/src/modules/m_svsnolag.c:78: undefined reference to `del_Command'
/home/unreal/src/Unreal3.2/src/modules/m_svsnolag.c:78: undefined reference to `del_Command'
/home/unreal/src/Unreal3.2/src/modules/m_svsnolag.c:80: undefined reference to `sendto_realops'
m_svsnolag.o: In function `m_svsnolag_Init':
/home/unreal/src/Unreal3.2/src/modules/m_svsnolag.c:65: undefined reference to `add_Command'
/home/unreal/src/Unreal3.2/src/modules/m_svsnolag.c:66: undefined reference to `add_Command'
/home/unreal/src/Unreal3.2/src/modules/m_svsnolag.c:67: undefined reference to `ModuleSetOptions'
collect2: ld returned 1 exit status
make[2]: *** [commands.so] Error 1
make[2]: Leaving directory `/home/unreal/src/Unreal3.2/src/modules'
make[1]: *** [mods] Error 2
make[1]: Leaving directory `/home/unreal/src/Unreal3.2/src'
make: *** [build] Error 2

Can you help me?

Re: ERROR compiling on Debian Squeeze

Posted: Thu Oct 20, 2011 11:57 am
by Stealth
Don't run ./configure directly, use ./Config

Re: ERROR compiling on Debian Squeeze

Posted: Thu Oct 20, 2011 12:55 pm
by carocho
Doing that know... I've realised what i was doing wrong about 2 hours ago... Thanks anyway...

Re: ERROR compiling on Debian Squeeze

Posted: Thu Oct 20, 2011 1:55 pm
by carocho
Now loading the unrealircd i get this:

Code: Select all

* Loading IRCd configuration ..
* unrealircd.conf:737: Ignoring extra section start
* unrealircd.conf:738: Ignoring extra data
* unrealircd.conf:741: Ignoring extra close brace
* unrealircd.conf:741 Ignoring extra semicolon
* unrealircd.conf:752: Ignoring extra close brace
* unrealircd.conf:752 Ignoring extra semicolon
* unrealircd.conf:739: unknown directive 0XQcGMxeJeGn0
* unrealircd.conf:740: unknown directive tbn02dy2H2s1GDMIPR8
* unrealircd.conf:743: unknown directive hosts
[error] set::hosts::global is missing
[error] set::hosts::admin is missing
[error] set::hosts::servicesadmin is missing
[error] set::hosts::netadmin is missing
[error] set::hosts::coadmin is missing
[error] set::cloak-keys missing!
[error] 6 errors encountered
[error] IRCd configuration failed to pass testing
Possible error encountered (IRCd seemingly not started)
=====================================================
Check above for possible errors, and this output of
ircd.log. If you cannot solve the problem, read
Unreal.nfo on where to get support
=====================================================
What do i have to change?

Re: ERROR compiling on Debian Squeeze

Posted: Thu Oct 20, 2011 2:27 pm
by carocho
I've managed to solve some errors but not all;

Code: Select all

* Loading IRCd configuration ..
* unrealircd.conf:737: Ignoring extra section start
* unrealircd.conf:738: Ignoring extra data
* unrealircd.conf:738: Ignoring extra section start
* unrealircd.conf:739: Ignoring extra data
* unrealircd.conf:742: Ignoring extra close brace
* unrealircd.conf:742 Ignoring extra semicolon
* unrealircd.conf:743: Ignoring extra close brace
* unrealircd.conf:743 Ignoring extra semicolon
* unrealircd.conf:740: unknown directive 0XQcGMxeJeGn0
* unrealircd.conf:741: unknown directive tbn02dy2H2s1GDMIPR8
[error] set::cloak-keys missing!
[error] 1 errors encountered
[error] IRCd configuration failed to pass testing
Possible error encountered (IRCd seemingly not started)
=====================================================
Check above for possible errors, and this output of
ircd.log. If you cannot solve the problem, read
Unreal.nfo on where to get support
=====================================================

Re: ERROR compiling on Debian Squeeze

Posted: Thu Oct 20, 2011 7:33 pm
by carocho
I've managed to start my ircd correctly but i can't connect to it...

Code: Select all

Unknown host. Maybe you misspelled it?

Re: ERROR compiling on Debian Squeeze

Posted: Thu Oct 20, 2011 9:10 pm
by carocho
I've managed to solve this one too...

But now i'm getting this

Code: Select all

ChanServ :Services are currently down. Please try again later.
What is wrong now?

Re: ERROR compiling on Debian Squeeze

Posted: Fri Oct 21, 2011 1:23 am
by Stealth
Services are not a part of Unreal. We recommend using Anope or Atheme services.

If you have services running and linked to your server and still get that error, you need to set up the proper alias blocks.

Re: ERROR compiling on Debian Squeeze

Posted: Fri Oct 21, 2011 11:29 am
by carocho
Ok...

As i didn't know that, i have already installed Anope but i'm struggling to make it up...

After i manage to fix it, i might come back for some more help... :p

Thanks anyway

Re: ERROR compiling on Debian Squeeze

Posted: Fri Oct 21, 2011 1:13 pm
by carocho
Does Unreal ./Config command creates a new user and his home dir during the configuration?

Re: ERROR compiling on Debian Squeeze

Posted: Fri Oct 21, 2011 11:18 pm
by Stealth
No. ./Config is meant to be run as a user. If you want Unreal to be installed and run as a user you first need to create the user/directories, then use ./Config and instruct it where to install the files. When the compile is complete, use make install to have everything copied over.

Re: ERROR compiling on Debian Squeeze

Posted: Sat Oct 22, 2011 9:16 pm
by carocho
I'm getting this now when connecting

Looking up 94.xx.xx.xx
* Connecting to 94.xx.xx.xx:6667 (94.xx.xx.xx) port 6667...
* Connected. Now logging in...
* *** Looking up your hostname...
* *** Checking ident...
* *** Couldn't resolve your hostname; using your IP address instead
* *** No ident response; username prefixed with ~
* Welcome to the KcenaIRC IRC Network carocho!~[email protected]
* Your host is irc.carocho.net, running version Unreal3.2.8.1
* This server was created Qui Out 20 2011 at 14:52:01 CEST
* irc.carocho.net Unreal3.2.8.1 iowghraAsORTVSxNCWqBzvdHtGp lvhopsmntikrRcaqOALQbSeIKVfMCuzNTGj
* UHNAMES NAMESX SAFELIST HCN MAXCHANNELS=10 CHANLIMIT=#:10 MAXLIST=b:60,e:60,I:60 NICKLEN=30 CHANNELLEN=32 TOPICLEN=307 KICKLEN=307 AWAYLEN=307 MAXTARGETS=20 :are supported by this server
* WALLCHOPS WATCH=128 WATCHOPTS=A SILENCE=15 MODES=12 CHANTYPES=# PREFIX=(qaohv)~&@%+ CHANMODES=beI,kfL,lj,psmntirRcOAQKVCuzNSMTG NETWORK=KcenaIRC CASEMAPPING=ascii EXTBAN=~,cqnr ELIST=MNUCT STATUSMSG=~&@%+ :are supported by this server
* EXCEPTS INVEX CMDS=KNOCK,MAP,DCCALLOW,USERIP :are supported by this server
* There are 1 users and 0 invisible on 1 servers
* I have 1 clients and 0 servers
* Current Local Users: 1 Max: 1
* Current Global Users: 1 Max: 1

Is it ok to say what is underlined and bolt?