Problem with compilation
Posted: Wed Oct 12, 2005 3:44 pm
I've got these:
make[1]: Entering directory `/root/DISTR/Unreal3.2/src'
gcc -I../include -I/root/DISTR/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -o ircd auth.o aln.o badwords.o channel.o cloak.o crule.o dbuf.o e
vents.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 charsys.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 api-isupport.o api-command.o -lcrypt -lnsl -L/root/DISTR/Unreal3.2/extra
s/regexp/lib -ltre
modules.o(.text+0x6ca): In function `Module_SymEx':
/root/DISTR/Unreal3.2/src/modules.c:763: undefined reference to `dlsym'
modules.o(.text+0x717): In function `Module_Sym':
/root/DISTR/Unreal3.2/src/modules.c:785: undefined reference to `dlsym'
modules.o(.text+0x77f): In function `Module_SymX':
/root/DISTR/Unreal3.2/src/modules.c:807: undefined reference to `dlsym'
modules.o(.text+0xfa1): In function `Module_free':
/root/DISTR/Unreal3.2/src/modules.c:698: undefined reference to `dlclose'
modules.o(.text+0x1117): In function `module_loadall':
/root/DISTR/Unreal3.2/src/modules.c:839: undefined reference to `dlsym'
modules.o(.text+0x11c1): In function `Module_Unload':
/root/DISTR/Unreal3.2/src/modules.c:727: undefined reference to `dlsym'
modules.o(.text+0x1266): In function `Init_all_testing_modules':
/root/DISTR/Unreal3.2/src/modules.c:458: undefined reference to `dlsym'
modules.o(.text+0x1368): In function `Module_Create':
/root/DISTR/Unreal3.2/src/modules.c:287: undefined reference to `dlopen'
modules.o(.text+0x137f):/root/DISTR/Unreal3.2/src/modules.c:290: undefined reference to `dlsym'
modules.o(.text+0x13d1):/root/DISTR/Unreal3.2/src/modules.c:304: undefined reference to `dlclose'
modules.o(.text+0x140d):/root/DISTR/Unreal3.2/src/modules.c:308: undefined reference to `dlsym'
modules.o(.text+0x1498):/root/DISTR/Unreal3.2/src/modules.c:345: undefined reference to `dlsym'
modules.o(.text+0x14b1):/root/DISTR/Unreal3.2/src/modules.c:351: undefined reference to `dlsym'
modules.o(.text+0x14ca):/root/DISTR/Unreal3.2/src/modules.c:357: undefined reference to `dlsym'
modules.o(.text+0x14f6):/root/DISTR/Unreal3.2/src/modules.c:368: undefined reference to `dlsym'
modules.o(.text+0x150d):/root/DISTR/Unreal3.2/src/modules.c:371: more undefined references to `dlsym' follow
modules.o(.text+0x1554): In function `Module_Create':
/root/DISTR/Unreal3.2/src/modules.c:317: undefined reference to `dlclose'
modules.o(.text+0x15c6):/root/DISTR/Unreal3.2/src/modules.c:332: undefined reference to `dlclose'
modules.o(.text+0x160d):/root/DISTR/Unreal3.2/src/modules.c:311: undefined reference to `dlclose'
modules.o(.text+0x16b2):/root/DISTR/Unreal3.2/src/modules.c:338: undefined reference to `dlclose'
modules.o(.text+0x19cb): In function `Unload_all_testing_modules':
/root/DISTR/Unreal3.2/src/modules.c:617: undefined reference to `dlclose'
modules.o(.text+0x1b5a): In function `Unload_all_loaded_modules':
/root/DISTR/Unreal3.2/src/modules.c:493: undefined reference to `dlsym'
modules.o(.text+0x1c68):/root/DISTR/Unreal3.2/src/modules.c:551: undefined reference to `dlclose'
modules.o(.text+0x2330): In function `unload_all_modules':
/root/DISTR/Unreal3.2/src/modules.c:1472: undefined reference to `dlsym'
modules.o(.text+0x13f8): In function `Module_Create':
/root/DISTR/Unreal3.2/src/modules.c:401: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make[1]: *** [ircd] Error 1
make[1]: Leaving directory `/root/DISTR/Unreal3.2/src'
make: *** [build] Error 2
bash-3.00#
What's the problem?
make[1]: Entering directory `/root/DISTR/Unreal3.2/src'
gcc -I../include -I/root/DISTR/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -o ircd auth.o aln.o badwords.o channel.o cloak.o crule.o dbuf.o e
vents.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 charsys.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 api-isupport.o api-command.o -lcrypt -lnsl -L/root/DISTR/Unreal3.2/extra
s/regexp/lib -ltre
modules.o(.text+0x6ca): In function `Module_SymEx':
/root/DISTR/Unreal3.2/src/modules.c:763: undefined reference to `dlsym'
modules.o(.text+0x717): In function `Module_Sym':
/root/DISTR/Unreal3.2/src/modules.c:785: undefined reference to `dlsym'
modules.o(.text+0x77f): In function `Module_SymX':
/root/DISTR/Unreal3.2/src/modules.c:807: undefined reference to `dlsym'
modules.o(.text+0xfa1): In function `Module_free':
/root/DISTR/Unreal3.2/src/modules.c:698: undefined reference to `dlclose'
modules.o(.text+0x1117): In function `module_loadall':
/root/DISTR/Unreal3.2/src/modules.c:839: undefined reference to `dlsym'
modules.o(.text+0x11c1): In function `Module_Unload':
/root/DISTR/Unreal3.2/src/modules.c:727: undefined reference to `dlsym'
modules.o(.text+0x1266): In function `Init_all_testing_modules':
/root/DISTR/Unreal3.2/src/modules.c:458: undefined reference to `dlsym'
modules.o(.text+0x1368): In function `Module_Create':
/root/DISTR/Unreal3.2/src/modules.c:287: undefined reference to `dlopen'
modules.o(.text+0x137f):/root/DISTR/Unreal3.2/src/modules.c:290: undefined reference to `dlsym'
modules.o(.text+0x13d1):/root/DISTR/Unreal3.2/src/modules.c:304: undefined reference to `dlclose'
modules.o(.text+0x140d):/root/DISTR/Unreal3.2/src/modules.c:308: undefined reference to `dlsym'
modules.o(.text+0x1498):/root/DISTR/Unreal3.2/src/modules.c:345: undefined reference to `dlsym'
modules.o(.text+0x14b1):/root/DISTR/Unreal3.2/src/modules.c:351: undefined reference to `dlsym'
modules.o(.text+0x14ca):/root/DISTR/Unreal3.2/src/modules.c:357: undefined reference to `dlsym'
modules.o(.text+0x14f6):/root/DISTR/Unreal3.2/src/modules.c:368: undefined reference to `dlsym'
modules.o(.text+0x150d):/root/DISTR/Unreal3.2/src/modules.c:371: more undefined references to `dlsym' follow
modules.o(.text+0x1554): In function `Module_Create':
/root/DISTR/Unreal3.2/src/modules.c:317: undefined reference to `dlclose'
modules.o(.text+0x15c6):/root/DISTR/Unreal3.2/src/modules.c:332: undefined reference to `dlclose'
modules.o(.text+0x160d):/root/DISTR/Unreal3.2/src/modules.c:311: undefined reference to `dlclose'
modules.o(.text+0x16b2):/root/DISTR/Unreal3.2/src/modules.c:338: undefined reference to `dlclose'
modules.o(.text+0x19cb): In function `Unload_all_testing_modules':
/root/DISTR/Unreal3.2/src/modules.c:617: undefined reference to `dlclose'
modules.o(.text+0x1b5a): In function `Unload_all_loaded_modules':
/root/DISTR/Unreal3.2/src/modules.c:493: undefined reference to `dlsym'
modules.o(.text+0x1c68):/root/DISTR/Unreal3.2/src/modules.c:551: undefined reference to `dlclose'
modules.o(.text+0x2330): In function `unload_all_modules':
/root/DISTR/Unreal3.2/src/modules.c:1472: undefined reference to `dlsym'
modules.o(.text+0x13f8): In function `Module_Create':
/root/DISTR/Unreal3.2/src/modules.c:401: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make[1]: *** [ircd] Error 1
make[1]: Leaving directory `/root/DISTR/Unreal3.2/src'
make: *** [build] Error 2
bash-3.00#
What's the problem?