Support for compiling ircd statically?
Support for compiling ircd statically?
Hi,
I'm using Red Hat Enterprise Linux 3.0 ES and I would like to know if it is possible to perform a static compile of UnrealIRCD 3.2.1?
Thanks in advance for any assistance on this.
=JBoogie=
I'm using Red Hat Enterprise Linux 3.0 ES and I would like to know if it is possible to perform a static compile of UnrealIRCD 3.2.1?
Thanks in advance for any assistance on this.
=JBoogie=
It is, but 1) why would you like to do it and 2) why would you want to
oh, and 3) you'd have to play with compile flags, at which I am no expert.
oh, and 3) you'd have to play with compile flags, at which I am no expert.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Ok, I performed ./Config, then I perused the resulting Makefiles. I found the only Makefile that had anything related to compiling statically was in src/Makefile. So I changed line 54 which read:codemastr wrote:The answer is exactly the same as w00t's. If you want to compile it statically, modify the Makefile to make it do so.
build: ircd mods
to
build: staticircd mods
then proceeded to perform a make
moments later, I got the following:
Code: Select all
gcc -I../include -I/home/xxxxx/src/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -DZIP_LINKS -export-dynamic -lssl -lcrypto -DSTATIC_LINKING -o ircd.static auth.o aln.o badwords.o channel.o cloak.o crule.o dbuf.o events.o fdlist.o hash.o help.o ircd.o ircsprintf.o list.o lusers.o match.o modules.o packet.o parse.o res.o res_init.o res_comp.o res_mkquery.o res_skipname.o s_auth.o s_bsd.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 scache.o send.o support.o umodes.o version.o webtv.o whowas.o zip.o cidr.o random.o extcmodes.o extbans.o md5.o \
modules/l_commands.c \
modules/m_sethost.c \
modules/m_chghost.c \
modules/m_chgident.c \
modules/m_setname.c \
modules/m_setident.c \
modules/m_sdesc.c \
-lcrypt -lnsl -lz -ldl -L../extras/regexp/lib -ltre -lssl -lcrypto
/tmp/ccjMxp0j.o(.text+0x10): In function `l_commands_Test':
modules/l_commands.c:206: undefined reference to `m_htm_Test'
/tmp/ccjMxp0j.o(.text+0x71): In function `l_commands_Init':
modules/l_commands.c:231: undefined reference to `m_svsmode_Init'
/tmp/ccjMxp0j.o(.text+0x7d):modules/l_commands.c:232: undefined reference to `m_swhois_Init'
/tmp/ccjMxp0j.o(.text+0x89):modules/l_commands.c:233: undefined reference to `m_svsmotd_Init'
/tmp/ccjMxp0j.o(.text+0x95):modules/l_commands.c:234: undefined reference to `m_svsnline_Init'
/tmp/ccjMxp0j.o(.text+0xa1):modules/l_commands.c:235: undefined reference to `m_who_Init'
/tmp/ccjMxp0j.o(.text+0xad):modules/l_commands.c:236: undefined reference to `m_mkpasswd_Init'
/tmp/ccjMxp0j.o(.text+0xb9):modules/l_commands.c:237: undefined reference to `m_away_Init'
/tmp/ccjMxp0j.o(.text+0xc5):modules/l_commands.c:238: undefined reference to `m_svsnoop_Init'
/tmp/ccjMxp0j.o(.text+0xd1):modules/l_commands.c:239: undefined reference to `m_svso_Init'
/tmp/ccjMxp0j.o(.text+0xdd):modules/l_commands.c:240: undefined reference to `m_svsnick_Init'
/tmp/ccjMxp0j.o(.text+0xe9):modules/l_commands.c:241: undefined reference to `m_adminchat_Init'
/tmp/ccjMxp0j.o(.text+0xf5):modules/l_commands.c:242: undefined reference to `m_nachat_Init'
/tmp/ccjMxp0j.o(.text+0x101):modules/l_commands.c:243: undefined reference to `m_lag_Init'
/tmp/ccjMxp0j.o(.text+0x10d):modules/l_commands.c:244: undefined reference to `m_rping_Init'
/tmp/ccjMxp0j.o(.text+0x119):modules/l_commands.c:245: undefined reference to `m_sendumode_Init'
/tmp/ccjMxp0j.o(.text+0x125):modules/l_commands.c:246: undefined reference to `m_tsctl_Init'
/tmp/ccjMxp0j.o(.text+0x131):modules/l_commands.c:247: undefined reference to `m_htm_Init'
/tmp/ccjMxp0j.o(.text+0x13d):modules/l_commands.c:248: undefined reference to `m_chgname_Init'
/tmp/ccjMxp0j.o(.text+0x149):modules/l_commands.c:249: undefined reference to `m_message_Init'
/tmp/ccjMxp0j.o(.text+0x155):modules/l_commands.c:250: undefined reference to `m_whois_Init'
/tmp/ccjMxp0j.o(.text+0x161):modules/l_commands.c:251: undefined reference to `m_quit_Init'
/tmp/ccjMxp0j.o(.text+0x16d):modules/l_commands.c:252: undefined reference to `m_kill_Init'
/tmp/ccjMxp0j.o(.text+0x179):modules/l_commands.c:253: undefined reference to `m_pingpong_Init'
/tmp/ccjMxp0j.o(.text+0x185):modules/l_commands.c:254: undefined reference to `m_oper_Init'
/tmp/ccjMxp0j.o(.text+0x191):modules/l_commands.c:255: undefined reference to `m_akill_Init'
/tmp/ccjMxp0j.o(.text+0x19d):modules/l_commands.c:256: undefined reference to `m_rakill_Init'
/tmp/ccjMxp0j.o(.text+0x1a9):modules/l_commands.c:257: undefined reference to `m_unzline_Init'
/tmp/ccjMxp0j.o(.text+0x1b5):modules/l_commands.c:258: undefined reference to `m_unkline_Init'
/tmp/ccjMxp0j.o(.text+0x1c1):modules/l_commands.c:259: undefined reference to `m_sqline_Init'
/tmp/ccjMxp0j.o(.text+0x1cd):modules/l_commands.c:260: undefined reference to `m_unsqline_Init'
/tmp/ccjMxp0j.o(.text+0x1d9):modules/l_commands.c:261: undefined reference to `m_tkl_Init'
/tmp/ccjMxp0j.o(.text+0x1e5):modules/l_commands.c:262: undefined reference to `m_vhost_Init'
/tmp/ccjMxp0j.o(.text+0x1f1):modules/l_commands.c:263: undefined reference to `m_cycle_Init'
/tmp/ccjMxp0j.o(.text+0x1fd):modules/l_commands.c:264: undefined reference to `m_svsjoin_Init'
/tmp/ccjMxp0j.o(.text+0x209):modules/l_commands.c:265: undefined reference to `m_svspart_Init'
/tmp/ccjMxp0j.o(.text+0x215):modules/l_commands.c:266: undefined reference to `m_svswatch_Init'
/tmp/ccjMxp0j.o(.text+0x221):modules/l_commands.c:267: undefined reference to `m_svssilence_Init'
/tmp/ccjMxp0j.o(.text+0x22d):modules/l_commands.c:268: undefined reference to `m_svslusers_Init'
/tmp/ccjMxp0j.o(.text+0x239):modules/l_commands.c:269: undefined reference to `m_sendsno_Init'
/tmp/ccjMxp0j.o(.text+0x245):modules/l_commands.c:270: undefined reference to `m_svssno_Init'
/tmp/ccjMxp0j.o(.text+0x251):modules/l_commands.c:271: undefined reference to `m_sajoin_Init'
/tmp/ccjMxp0j.o(.text+0x25d):modules/l_commands.c:272: undefined reference to `m_sapart_Init'
/tmp/ccjMxp0j.o(.text+0x269):modules/l_commands.c:273: undefined reference to `m_samode_Init'
/tmp/ccjMxp0j.o(.text+0x275):modules/l_commands.c:274: undefined reference to `m_kick_Init'
/tmp/ccjMxp0j.o(.text+0x281):modules/l_commands.c:275: undefined reference to `m_topic_Init'
/tmp/ccjMxp0j.o(.text+0x28d):modules/l_commands.c:276: undefined reference to `m_invite_Init'
/tmp/ccjMxp0j.o(.text+0x299):modules/l_commands.c:277: undefined reference to `m_list_Init'
/tmp/ccjMxp0j.o(.text+0x2a5):modules/l_commands.c:278: undefined reference to `m_time_Init'
/tmp/ccjMxp0j.o(.text+0x2b1):modules/l_commands.c:279: undefined reference to `m_sjoin_Init'
/tmp/ccjMxp0j.o(.text+0x2bd):modules/l_commands.c:280: undefined reference to `m_pass_Init'
/tmp/ccjMxp0j.o(.text+0x2c9):modules/l_commands.c:281: undefined reference to `m_userhost_Init'
/tmp/ccjMxp0j.o(.text+0x2d5):modules/l_commands.c:282: undefined reference to `m_ison_Init'
/tmp/ccjMxp0j.o(.text+0x2e1):modules/l_commands.c:283: undefined reference to `m_silence_Init'
/tmp/ccjMxp0j.o(.text+0x2ed):modules/l_commands.c:284: undefined reference to `m_svskill_Init'
/tmp/ccjMxp0j.o(.text+0x2f9):modules/l_commands.c:285: undefined reference to `m_knock_Init'
/tmp/ccjMxp0j.o(.text+0x305):modules/l_commands.c:286: undefined reference to `m_umode2_Init'
/tmp/ccjMxp0j.o(.text+0x311):modules/l_commands.c:287: undefined reference to `m_squit_Init'
/tmp/ccjMxp0j.o(.text+0x31d):modules/l_commands.c:288: undefined reference to `m_protoctl_Init'
/tmp/ccjMxp0j.o(.text+0x329):modules/l_commands.c:289: undefined reference to `m_addline_Init'
/tmp/ccjMxp0j.o(.text+0x335):modules/l_commands.c:290: undefined reference to `m_addmotd_Init'
/tmp/ccjMxp0j.o(.text+0x341):modules/l_commands.c:291: undefined reference to `m_addomotd_Init'
/tmp/ccjMxp0j.o(.text+0x34d):modules/l_commands.c:292: undefined reference to `m_wallops_Init'
/tmp/ccjMxp0j.o(.text+0x359):modules/l_commands.c:293: undefined reference to `m_admin_Init'
/tmp/ccjMxp0j.o(.text+0x365):modules/l_commands.c:294: undefined reference to `m_globops_Init'
/tmp/ccjMxp0j.o(.text+0x371):modules/l_commands.c:295: undefined reference to `m_locops_Init'
/tmp/ccjMxp0j.o(.text+0x37d):modules/l_commands.c:296: undefined reference to `m_chatops_Init'
/tmp/ccjMxp0j.o(.text+0x389):modules/l_commands.c:297: undefined reference to `m_trace_Init'
/tmp/ccjMxp0j.o(.text+0x395):modules/l_commands.c:298: undefined reference to `m_netinfo_Init'
/tmp/ccjMxp0j.o(.text+0x3a1):modules/l_commands.c:299: undefined reference to `m_links_Init'
/tmp/ccjMxp0j.o(.text+0x3ad):modules/l_commands.c:300: undefined reference to `m_help_Init'
/tmp/ccjMxp0j.o(.text+0x3b9):modules/l_commands.c:301: undefined reference to `m_rules_Init'
/tmp/ccjMxp0j.o(.text+0x3c5):modules/l_commands.c:302: undefined reference to `m_close_Init'
/tmp/ccjMxp0j.o(.text+0x3d1):modules/l_commands.c:303: undefined reference to `m_map_Init'
/tmp/ccjMxp0j.o(.text+0x3dd):modules/l_commands.c:304: undefined reference to `m_eos_Init'
/tmp/ccjMxp0j.o(.text+0x3e9):modules/l_commands.c:305: undefined reference to `m_server_Init'
/tmp/ccjMxp0j.o(.text+0x3f5):modules/l_commands.c:306: undefined reference to `m_stats_Init'
/tmp/ccjMxp0j.o(.text+0x401):modules/l_commands.c:307: undefined reference to `m_svsfline_Init'
/tmp/ccjMxp0j.o(.text+0x40d):modules/l_commands.c:308: undefined reference to `m_dccdeny_Init'
/tmp/ccjMxp0j.o(.text+0x419):modules/l_commands.c:309: undefined reference to `m_undccdeny_Init'
/tmp/ccjMxp0j.o(.text+0x425):modules/l_commands.c:310: undefined reference to `m_whowas_Init'
/tmp/ccjMxp0j.o(.text+0x431):modules/l_commands.c:311: undefined reference to `m_connect_Init'
/tmp/ccjMxp0j.o(.text+0x43d):modules/l_commands.c:312: undefined reference to `m_dccallow_Init'
/tmp/ccjMxp0j.o(.text+0x4a4): In function `l_commands_Load':
modules/l_commands.c:331: undefined reference to `m_svsmode_Load'
/tmp/ccjMxp0j.o(.text+0x4ac):modules/l_commands.c:332: undefined reference to `m_swhois_Load'
/tmp/ccjMxp0j.o(.text+0x4b4):modules/l_commands.c:333: undefined reference to `m_svsmotd_Load'
/tmp/ccjMxp0j.o(.text+0x4bc):modules/l_commands.c:334: undefined reference to `m_svsnline_Load'
/tmp/ccjMxp0j.o(.text+0x4c4):modules/l_commands.c:335: undefined reference to `m_who_Load'
/tmp/ccjMxp0j.o(.text+0x4cc):modules/l_commands.c:336: undefined reference to `m_mkpasswd_Load'
/tmp/ccjMxp0j.o(.text+0x4d4):modules/l_commands.c:337: undefined reference to `m_away_Load'
/tmp/ccjMxp0j.o(.text+0x4dc):modules/l_commands.c:338: undefined reference to `m_svsnoop_Load'
/tmp/ccjMxp0j.o(.text+0x4e4):modules/l_commands.c:339: undefined reference to `m_svso_Load'
/tmp/ccjMxp0j.o(.text+0x4ec):modules/l_commands.c:340: undefined reference to `m_svsnick_Load'
/tmp/ccjMxp0j.o(.text+0x4f4):modules/l_commands.c:341: undefined reference to `m_adminchat_Load'
/tmp/ccjMxp0j.o(.text+0x4fc):modules/l_commands.c:342: undefined reference to `m_nachat_Load'
/tmp/ccjMxp0j.o(.text+0x504):modules/l_commands.c:343: undefined reference to `m_lag_Load'
/tmp/ccjMxp0j.o(.text+0x50c):modules/l_commands.c:344: undefined reference to `m_rping_Load'
/tmp/ccjMxp0j.o(.text+0x514):modules/l_commands.c:345: undefined reference to `m_sendumode_Load'
/tmp/ccjMxp0j.o(.text+0x51c):modules/l_commands.c:346: undefined reference to `m_tsctl_Load'
/tmp/ccjMxp0j.o(.text+0x524):modules/l_commands.c:347: undefined reference to `m_htm_Load'
/tmp/ccjMxp0j.o(.text+0x52c):modules/l_commands.c:348: undefined reference to `m_chgname_Load'
/tmp/ccjMxp0j.o(.text+0x534):modules/l_commands.c:349: undefined reference to `m_message_Load'
/tmp/ccjMxp0j.o(.text+0x53c):modules/l_commands.c:350: undefined reference to `m_whois_Load'
/tmp/ccjMxp0j.o(.text+0x544):modules/l_commands.c:351: undefined reference to `m_quit_Load'
/tmp/ccjMxp0j.o(.text+0x54c):modules/l_commands.c:352: undefined reference to `m_kill_Load'
/tmp/ccjMxp0j.o(.text+0x554):modules/l_commands.c:353: undefined reference to `m_pingpong_Load'
/tmp/ccjMxp0j.o(.text+0x55c):modules/l_commands.c:354: undefined reference to `m_oper_Load'
/tmp/ccjMxp0j.o(.text+0x564):modules/l_commands.c:355: undefined reference to `m_akill_Load'
/tmp/ccjMxp0j.o(.text+0x56c):modules/l_commands.c:356: undefined reference to `m_rakill_Load'
/tmp/ccjMxp0j.o(.text+0x574):modules/l_commands.c:357: undefined reference to `m_unzline_Load'
/tmp/ccjMxp0j.o(.text+0x57c):modules/l_commands.c:358: undefined reference to `m_unkline_Load'
/tmp/ccjMxp0j.o(.text+0x584):modules/l_commands.c:359: undefined reference to `m_tkl_Load'
/tmp/ccjMxp0j.o(.text+0x58c):modules/l_commands.c:360: undefined reference to `m_sqline_Load'
/tmp/ccjMxp0j.o(.text+0x594):modules/l_commands.c:361: undefined reference to `m_unsqline_Load'
/tmp/ccjMxp0j.o(.text+0x59c):modules/l_commands.c:362: undefined reference to `m_vhost_Load'
/tmp/ccjMxp0j.o(.text+0x5a4):modules/l_commands.c:363: undefined reference to `m_cycle_Load'
/tmp/ccjMxp0j.o(.text+0x5ac):modules/l_commands.c:364: undefined reference to `m_svsjoin_Load'
/tmp/ccjMxp0j.o(.text+0x5b4):modules/l_commands.c:365: undefined reference to `m_svspart_Load'
/tmp/ccjMxp0j.o(.text+0x5bc):modules/l_commands.c:366: undefined reference to `m_svswatch_Load'
/tmp/ccjMxp0j.o(.text+0x5c4):modules/l_commands.c:367: undefined reference to `m_svssilence_Load'
/tmp/ccjMxp0j.o(.text+0x5cc):modules/l_commands.c:368: undefined reference to `m_svslusers_Load'
/tmp/ccjMxp0j.o(.text+0x5d4):modules/l_commands.c:369: undefined reference to `m_sendsno_Load'
/tmp/ccjMxp0j.o(.text+0x5dc):modules/l_commands.c:370: undefined reference to `m_svssno_Load'
/tmp/ccjMxp0j.o(.text+0x5e4):modules/l_commands.c:371: undefined reference to `m_sajoin_Load'
/tmp/ccjMxp0j.o(.text+0x5ec):modules/l_commands.c:372: undefined reference to `m_sapart_Load'
/tmp/ccjMxp0j.o(.text+0x5f4):modules/l_commands.c:373: undefined reference to `m_samode_Load'
/tmp/ccjMxp0j.o(.text+0x5fc):modules/l_commands.c:374: undefined reference to `m_kick_Load'
/tmp/ccjMxp0j.o(.text+0x604):modules/l_commands.c:375: undefined reference to `m_topic_Load'
/tmp/ccjMxp0j.o(.text+0x60c):modules/l_commands.c:376: undefined reference to `m_invite_Load'
/tmp/ccjMxp0j.o(.text+0x614):modules/l_commands.c:377: undefined reference to `m_list_Load'
/tmp/ccjMxp0j.o(.text+0x61c):modules/l_commands.c:378: undefined reference to `m_time_Load'
/tmp/ccjMxp0j.o(.text+0x624):modules/l_commands.c:379: undefined reference to `m_svskill_Load'
/tmp/ccjMxp0j.o(.text+0x62c):modules/l_commands.c:380: undefined reference to `m_sjoin_Load'
/tmp/ccjMxp0j.o(.text+0x634):modules/l_commands.c:381: undefined reference to `m_pass_Load'
/tmp/ccjMxp0j.o(.text+0x63c):modules/l_commands.c:382: undefined reference to `m_userhost_Load'
/tmp/ccjMxp0j.o(.text+0x644):modules/l_commands.c:383: undefined reference to `m_ison_Load'
/tmp/ccjMxp0j.o(.text+0x64c):modules/l_commands.c:384: undefined reference to `m_silence_Load'
/tmp/ccjMxp0j.o(.text+0x654):modules/l_commands.c:385: undefined reference to `m_knock_Load'
/tmp/ccjMxp0j.o(.text+0x65c):modules/l_commands.c:386: undefined reference to `m_umode2_Load'
/tmp/ccjMxp0j.o(.text+0x664):modules/l_commands.c:387: undefined reference to `m_squit_Load'
/tmp/ccjMxp0j.o(.text+0x66c):modules/l_commands.c:388: undefined reference to `m_protoctl_Load'
/tmp/ccjMxp0j.o(.text+0x674):modules/l_commands.c:389: undefined reference to `m_addline_Load'
/tmp/ccjMxp0j.o(.text+0x67c):modules/l_commands.c:390: undefined reference to `m_addmotd_Load'
/tmp/ccjMxp0j.o(.text+0x684):modules/l_commands.c:391: undefined reference to `m_addomotd_Load'
/tmp/ccjMxp0j.o(.text+0x68c):modules/l_commands.c:392: undefined reference to `m_wallops_Load'
/tmp/ccjMxp0j.o(.text+0x694):modules/l_commands.c:393: undefined reference to `m_admin_Load'
/tmp/ccjMxp0j.o(.text+0x69c):modules/l_commands.c:394: undefined reference to `m_globops_Load'
/tmp/ccjMxp0j.o(.text+0x6a4):modules/l_commands.c:395: undefined reference to `m_locops_Load'
/tmp/ccjMxp0j.o(.text+0x6ac):modules/l_commands.c:396: undefined reference to `m_chatops_Load'
/tmp/ccjMxp0j.o(.text+0x6b4):modules/l_commands.c:397: undefined reference to `m_trace_Load'
/tmp/ccjMxp0j.o(.text+0x6bc):modules/l_commands.c:398: undefined reference to `m_netinfo_Load'
/tmp/ccjMxp0j.o(.text+0x6c4):modules/l_commands.c:399: undefined reference to `m_links_Load'
/tmp/ccjMxp0j.o(.text+0x6cc):modules/l_commands.c:400: undefined reference to `m_help_Load'
/tmp/ccjMxp0j.o(.text+0x6d4):modules/l_commands.c:401: undefined reference to `m_rules_Load'
/tmp/ccjMxp0j.o(.text+0x6dc):modules/l_commands.c:402: undefined reference to `m_close_Load'
/tmp/ccjMxp0j.o(.text+0x6e4):modules/l_commands.c:403: undefined reference to `m_map_Load'
/tmp/ccjMxp0j.o(.text+0x6ec):modules/l_commands.c:404: undefined reference to `m_eos_Load'
/tmp/ccjMxp0j.o(.text+0x6f4):modules/l_commands.c:405: undefined reference to `m_server_Load'
/tmp/ccjMxp0j.o(.text+0x6fc):modules/l_commands.c:406: undefined reference to `m_stats_Load'
/tmp/ccjMxp0j.o(.text+0x704):modules/l_commands.c:407: undefined reference to `m_svsfline_Load'
/tmp/ccjMxp0j.o(.text+0x70c):modules/l_commands.c:408: undefined reference to `m_dccdeny_Load'
/tmp/ccjMxp0j.o(.text+0x714):modules/l_commands.c:409: undefined reference to `m_undccdeny_Load'
/tmp/ccjMxp0j.o(.text+0x71c):modules/l_commands.c:410: undefined reference to `m_whowas_Load'
/tmp/ccjMxp0j.o(.text+0x724):modules/l_commands.c:411: undefined reference to `m_connect_Load'
/tmp/ccjMxp0j.o(.text+0x72c):modules/l_commands.c:412: undefined reference to `m_dccallow_Load'
/tmp/ccjMxp0j.o(.text+0x75d): In function `l_commands_Unload':
modules/l_commands.c:431: undefined reference to `m_svsmode_Unload'
/tmp/ccjMxp0j.o(.text+0x762):modules/l_commands.c:432: undefined reference to `m_swhois_Unload'
/tmp/ccjMxp0j.o(.text+0x767):modules/l_commands.c:433: undefined reference to `m_svsmotd_Unload'
/tmp/ccjMxp0j.o(.text+0x76c):modules/l_commands.c:434: undefined reference to `m_svsnline_Unload'
/tmp/ccjMxp0j.o(.text+0x771):modules/l_commands.c:435: undefined reference to `m_who_Unload'
/tmp/ccjMxp0j.o(.text+0x776):modules/l_commands.c:436: undefined reference to `m_mkpasswd_Unload'
/tmp/ccjMxp0j.o(.text+0x77b):modules/l_commands.c:437: undefined reference to `m_away_Unload'
/tmp/ccjMxp0j.o(.text+0x780):modules/l_commands.c:438: undefined reference to `m_svsnoop_Unload'
/tmp/ccjMxp0j.o(.text+0x785):modules/l_commands.c:439: undefined reference to `m_svso_Unload'
/tmp/ccjMxp0j.o(.text+0x78a):modules/l_commands.c:440: undefined reference to `m_svsnick_Unload'
/tmp/ccjMxp0j.o(.text+0x78f):modules/l_commands.c:441: undefined reference to `m_adminchat_Unload'
/tmp/ccjMxp0j.o(.text+0x794):modules/l_commands.c:442: undefined reference to `m_nachat_Unload'
/tmp/ccjMxp0j.o(.text+0x799):modules/l_commands.c:443: undefined reference to `m_lag_Unload'
/tmp/ccjMxp0j.o(.text+0x79e):modules/l_commands.c:444: undefined reference to `m_rping_Unload'
/tmp/ccjMxp0j.o(.text+0x7a3):modules/l_commands.c:445: undefined reference to `m_sendumode_Unload'
/tmp/ccjMxp0j.o(.text+0x7a8):modules/l_commands.c:446: undefined reference to `m_tsctl_Unload'
/tmp/ccjMxp0j.o(.text+0x7ad):modules/l_commands.c:447: undefined reference to `m_htm_Unload'
/tmp/ccjMxp0j.o(.text+0x7b2):modules/l_commands.c:448: undefined reference to `m_chgname_Unload'
/tmp/ccjMxp0j.o(.text+0x7b7):modules/l_commands.c:449: undefined reference to `m_message_Unload'
/tmp/ccjMxp0j.o(.text+0x7bc):modules/l_commands.c:450: undefined reference to `m_whois_Unload'
/tmp/ccjMxp0j.o(.text+0x7c1):modules/l_commands.c:451: undefined reference to `m_quit_Unload'
/tmp/ccjMxp0j.o(.text+0x7c6):modules/l_commands.c:452: undefined reference to `m_kill_Unload'
/tmp/ccjMxp0j.o(.text+0x7cb):modules/l_commands.c:453: undefined reference to `m_pingpong_Unload'
/tmp/ccjMxp0j.o(.text+0x7d0):modules/l_commands.c:454: undefined reference to `m_oper_Unload'
/tmp/ccjMxp0j.o(.text+0x7d5):modules/l_commands.c:455: undefined reference to `m_akill_Unload'
/tmp/ccjMxp0j.o(.text+0x7da):modules/l_commands.c:456: undefined reference to `m_rakill_Unload'
/tmp/ccjMxp0j.o(.text+0x7df):modules/l_commands.c:457: undefined reference to `m_unzline_Unload'
/tmp/ccjMxp0j.o(.text+0x7e4):modules/l_commands.c:458: undefined reference to `m_unkline_Unload'
/tmp/ccjMxp0j.o(.text+0x7e9):modules/l_commands.c:459: undefined reference to `m_tkl_Unload'
/tmp/ccjMxp0j.o(.text+0x7ee):modules/l_commands.c:460: undefined reference to `m_sqline_Unload'
/tmp/ccjMxp0j.o(.text+0x7f3):modules/l_commands.c:461: undefined reference to `m_unsqline_Unload'
/tmp/ccjMxp0j.o(.text+0x7f8):modules/l_commands.c:462: undefined reference to `m_vhost_Unload'
/tmp/ccjMxp0j.o(.text+0x7fd):modules/l_commands.c:463: undefined reference to `m_cycle_Unload'
/tmp/ccjMxp0j.o(.text+0x802):modules/l_commands.c:464: undefined reference to `m_svsjoin_Unload'
/tmp/ccjMxp0j.o(.text+0x807):modules/l_commands.c:465: undefined reference to `m_svspart_Unload'
/tmp/ccjMxp0j.o(.text+0x80c):modules/l_commands.c:466: undefined reference to `m_svswatch_Unload'
/tmp/ccjMxp0j.o(.text+0x811):modules/l_commands.c:467: undefined reference to `m_svssilence_Unload'
/tmp/ccjMxp0j.o(.text+0x816):modules/l_commands.c:468: undefined reference to `m_svslusers_Unload'
/tmp/ccjMxp0j.o(.text+0x81b):modules/l_commands.c:469: undefined reference to `m_sendsno_Unload'
/tmp/ccjMxp0j.o(.text+0x820):modules/l_commands.c:470: undefined reference to `m_svssno_Unload'
/tmp/ccjMxp0j.o(.text+0x825):modules/l_commands.c:471: undefined reference to `m_sajoin_Unload'
/tmp/ccjMxp0j.o(.text+0x82a):modules/l_commands.c:472: undefined reference to `m_sapart_Unload'
/tmp/ccjMxp0j.o(.text+0x82f):modules/l_commands.c:473: undefined reference to `m_samode_Unload'
/tmp/ccjMxp0j.o(.text+0x834):modules/l_commands.c:474: undefined reference to `m_kick_Unload'
/tmp/ccjMxp0j.o(.text+0x839):modules/l_commands.c:475: undefined reference to `m_topic_Unload'
/tmp/ccjMxp0j.o(.text+0x83e):modules/l_commands.c:476: undefined reference to `m_invite_Unload'
/tmp/ccjMxp0j.o(.text+0x843):modules/l_commands.c:477: undefined reference to `m_list_Unload'
/tmp/ccjMxp0j.o(.text+0x848):modules/l_commands.c:478: undefined reference to `m_time_Unload'
/tmp/ccjMxp0j.o(.text+0x84d):modules/l_commands.c:479: undefined reference to `m_svskill_Unload'
/tmp/ccjMxp0j.o(.text+0x852):modules/l_commands.c:480: undefined reference to `m_sjoin_Unload'
/tmp/ccjMxp0j.o(.text+0x857):modules/l_commands.c:481: undefined reference to `m_pass_Unload'
/tmp/ccjMxp0j.o(.text+0x85c):modules/l_commands.c:482: undefined reference to `m_userhost_Unload'
/tmp/ccjMxp0j.o(.text+0x861):modules/l_commands.c:483: undefined reference to `m_ison_Unload'
/tmp/ccjMxp0j.o(.text+0x866):modules/l_commands.c:484: undefined reference to `m_silence_Unload'
/tmp/ccjMxp0j.o(.text+0x86b):modules/l_commands.c:485: undefined reference to `m_knock_Unload'
/tmp/ccjMxp0j.o(.text+0x870):modules/l_commands.c:486: undefined reference to `m_umode2_Unload'
/tmp/ccjMxp0j.o(.text+0x875):modules/l_commands.c:487: undefined reference to `m_squit_Unload'
/tmp/ccjMxp0j.o(.text+0x87a):modules/l_commands.c:488: undefined reference to `m_protoctl_Unload'
/tmp/ccjMxp0j.o(.text+0x87f):modules/l_commands.c:489: undefined reference to `m_addline_Unload'
/tmp/ccjMxp0j.o(.text+0x884):modules/l_commands.c:490: undefined reference to `m_addmotd_Unload'
/tmp/ccjMxp0j.o(.text+0x889):modules/l_commands.c:491: undefined reference to `m_addomotd_Unload'
/tmp/ccjMxp0j.o(.text+0x88e):modules/l_commands.c:492: undefined reference to `m_wallops_Unload'
/tmp/ccjMxp0j.o(.text+0x893):modules/l_commands.c:493: undefined reference to `m_admin_Unload'
/tmp/ccjMxp0j.o(.text+0x898):modules/l_commands.c:494: undefined reference to `m_globops_Unload'
/tmp/ccjMxp0j.o(.text+0x89d):modules/l_commands.c:495: undefined reference to `m_locops_Unload'
/tmp/ccjMxp0j.o(.text+0x8a2):modules/l_commands.c:496: undefined reference to `m_chatops_Unload'
/tmp/ccjMxp0j.o(.text+0x8a7):modules/l_commands.c:497: undefined reference to `m_trace_Unload'
/tmp/ccjMxp0j.o(.text+0x8ac):modules/l_commands.c:498: undefined reference to `m_netinfo_Unload'
/tmp/ccjMxp0j.o(.text+0x8b1):modules/l_commands.c:499: undefined reference to `m_links_Unload'
/tmp/ccjMxp0j.o(.text+0x8b6):modules/l_commands.c:500: undefined reference to `m_help_Unload'
/tmp/ccjMxp0j.o(.text+0x8bb):modules/l_commands.c:501: undefined reference to `m_rules_Unload'
/tmp/ccjMxp0j.o(.text+0x8c0):modules/l_commands.c:502: undefined reference to `m_close_Unload'
/tmp/ccjMxp0j.o(.text+0x8c5):modules/l_commands.c:503: undefined reference to `m_map_Unload'
/tmp/ccjMxp0j.o(.text+0x8ca):modules/l_commands.c:504: undefined reference to `m_eos_Unload'
/tmp/ccjMxp0j.o(.text+0x8cf):modules/l_commands.c:505: undefined reference to `m_server_Unload'
/tmp/ccjMxp0j.o(.text+0x8d4):modules/l_commands.c:506: undefined reference to `m_stats_Unload'
/tmp/ccjMxp0j.o(.text+0x8d9):modules/l_commands.c:507: undefined reference to `m_svsfline_Unload'
/tmp/ccjMxp0j.o(.text+0x8de):modules/l_commands.c:508: undefined reference to `m_dccdeny_Unload'
/tmp/ccjMxp0j.o(.text+0x8e3):modules/l_commands.c:509: undefined reference to `m_undccdeny_Unload'
/tmp/ccjMxp0j.o(.text+0x8e8):modules/l_commands.c:510: undefined reference to `m_whowas_Unload'
/tmp/ccjMxp0j.o(.text+0x8ed):modules/l_commands.c:511: undefined reference to `m_connect_Unload'
/tmp/ccjMxp0j.o(.text+0x8f2):modules/l_commands.c:512: undefined reference to `m_dccallow_Unload'
collect2: ld returned 1 exit status
make[1]: *** [staticircd] Error 1
make[1]: Leaving directory `/home/xxxxx/src/Unreal3.2/src'
make: *** [build] Error 2
Thanks in advance for your cooperation and efforts.
It doesn't also make much sense to build it staticly... You are making it crippled software.. you are hurting unreal :''(.
Anyway, I noticed that you said on IRC you want it due to chrooting..
Well.. guess what.. UnrealIRCd has full chroot support build-in, open include/config.h and search/fill in the required stuff, for example:
#define CHROOTDIR
#define IRC_UID 39
#define IRC_GID 39
Then, if you start unreal, it will create any devices in the chroot (which is your irc dir, eg /home/irc/Unreal3.2) that are needed (/dev/urandom, /dev/null and /dev/tty) and then chroot + drop privileges.
Anyway, I noticed that you said on IRC you want it due to chrooting..
Well.. guess what.. UnrealIRCd has full chroot support build-in, open include/config.h and search/fill in the required stuff, for example:
#define CHROOTDIR
#define IRC_UID 39
#define IRC_GID 39
Then, if you start unreal, it will create any devices in the chroot (which is your irc dir, eg /home/irc/Unreal3.2) that are needed (/dev/urandom, /dev/null and /dev/tty) and then chroot + drop privileges.
So in what way would I be crippling the software?Syzop wrote:It doesn't also make much sense to build it staticly... You are making it crippled software.. you are hurting unreal :''(.
Anyway, I noticed that you said on IRC you want it due to chrooting..
Well.. guess what.. UnrealIRCd has full chroot support build-in, open include/config.h and search/fill in the required stuff, for example:
#define CHROOTDIR
#define IRC_UID 39
#define IRC_GID 39
Then, if you start unreal, it will create any devices in the chroot (which is your irc dir, eg /home/irc/Unreal3.2) that are needed (/dev/urandom, /dev/null and /dev/tty) and then chroot + drop privileges.
I intended on making those changes to implement chroot as you stated, but my understanding is that a binary running in a chroot should not access files (i.e.: libssl.so) outside of it which is why the ircd creates devices in the chroot.
I've no intentions to add static linking support. Right at the time we are getting rid of all that (win32 has module support now too).
*edit* wee, angrywolf was faster ;) */edit*
This doesn't make any sense.. it can't access those files from the chroot, which is ok. They are shared libraries loaded in memory when booting (before we chroot).I intended on making those changes to implement chroot as you stated, but my understanding is that a binary running in a chroot should not access files (i.e.: libssl.so) outside of it which is why the ircd creates devices in the chroot.
*edit* wee, angrywolf was faster ;) */edit*
Thanks Syzop,
I'll go ahead and do the regular compile and edit config.h to enable chroot and thanks for your explanation on ircd startup.
Additionally, I wasn't able to create an account at http://bugs.unrealircd.org/signup.php, I got the following error after submitting the details of my new account:
Warning: Cannot modify header information - headers already sent by (output started at /home/bugs/public_html/core/html_api.php:139) in /home/bugs/public_html/core/gpc_api.php on line 220
Warning: Cannot modify header information - headers already sent by (output started at /home/bugs/public_html/core/html_api.php:139) in /home/bugs/public_html/core/print_api.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /home/bugs/public_html/core/html_api.php:139) in /home/bugs/public_html/core/print_api.php on line 39
Warning: Cannot modify header information - headers already sent by (output started at /home/bugs/public_html/core/html_api.php:139) in /home/bugs/public_html/core/print_api.php on line 44
I'll go ahead and do the regular compile and edit config.h to enable chroot and thanks for your explanation on ircd startup.
Additionally, I wasn't able to create an account at http://bugs.unrealircd.org/signup.php, I got the following error after submitting the details of my new account:
Warning: Cannot modify header information - headers already sent by (output started at /home/bugs/public_html/core/html_api.php:139) in /home/bugs/public_html/core/gpc_api.php on line 220
Warning: Cannot modify header information - headers already sent by (output started at /home/bugs/public_html/core/html_api.php:139) in /home/bugs/public_html/core/print_api.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /home/bugs/public_html/core/html_api.php:139) in /home/bugs/public_html/core/print_api.php on line 39
Warning: Cannot modify header information - headers already sent by (output started at /home/bugs/public_html/core/html_api.php:139) in /home/bugs/public_html/core/print_api.php on line 44
This usually happens if the username is in use (I think I added a warning to the new user acc page about that).
Just took a look, and there indeed exists an account 'JBoogie' with the same email address as you use here on the forum, the bugs.* account was registered on 2003-06-06 02:16.
Let me know if you want me to reset your password.
Just took a look, and there indeed exists an account 'JBoogie' with the same email address as you use here on the forum, the bugs.* account was registered on 2003-06-06 02:16.
Let me know if you want me to reset your password.