compiling error
Posted: Sun Jul 16, 2006 6:07 pm
hi
i have an error compiling Unreal3.25:
gcc -I../include -I/usr/home/irclab/sifer/Unreal3.2/extras/regexp/include -I/usr/home/irclab/sifer/Unreal3.2/extras/c-ares/include -L../extras/c-ares/lib -pipe -g -O2 -funsigned-char -fno-strict-aliasing -DZIP_LINKS -I/home/irclab/curl/include -DUSE_LIBCURL -export-dynamic -lssl -lcrypto -o ircd timesynch.o res.o s_bsd.o auth.o aln.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 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 url.o -lcrypt -lz -L/home/irclab/curl/lib -lcurl -lz -L/usr/home/irclab/sifer/Unreal3.2/extras/regexp/lib -ltre -lcares -lssl -lcrypto
/home/irclab/curl/lib/libcurl.a(hostares.o)(.text+0x13): In function `Curl_resolv_getsock':
/usr/home/irclab/sifer/curl-7.15.4/lib/hostares.c:112: undefined reference to `ares_getsock'
gmake[1]: *** [ircd] Error 1
gmake[1]: Leaving directory `/usr/home/irclab/sifer/Unreal3.2/src'
gmake: *** [build] Error 2
i have follow the INSTALL.REMOTEINC
Unreal 3.2.5
curl-7.15.4
c-ares: 1.3.1
hope this help
regards
[EDIT]
Problem solved!
I have found the error reason: curl 7.15.4 use that reference to ares_getsock that is not is present in c-ares 1.3.1. Why? Because this function is present only in a cvs version of c-ares and c-url was developed using this cvs version.
http://curl.haxx.se/mail/archive-2006-06/0061.html
However, for unrealircd installation with c-ares 1.3.1 (release version, not cvs) use curl 7.15.1, it runs and dont get errors.
[/EDIT]
i have an error compiling Unreal3.25:
gcc -I../include -I/usr/home/irclab/sifer/Unreal3.2/extras/regexp/include -I/usr/home/irclab/sifer/Unreal3.2/extras/c-ares/include -L../extras/c-ares/lib -pipe -g -O2 -funsigned-char -fno-strict-aliasing -DZIP_LINKS -I/home/irclab/curl/include -DUSE_LIBCURL -export-dynamic -lssl -lcrypto -o ircd timesynch.o res.o s_bsd.o auth.o aln.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 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 url.o -lcrypt -lz -L/home/irclab/curl/lib -lcurl -lz -L/usr/home/irclab/sifer/Unreal3.2/extras/regexp/lib -ltre -lcares -lssl -lcrypto
/home/irclab/curl/lib/libcurl.a(hostares.o)(.text+0x13): In function `Curl_resolv_getsock':
/usr/home/irclab/sifer/curl-7.15.4/lib/hostares.c:112: undefined reference to `ares_getsock'
gmake[1]: *** [ircd] Error 1
gmake[1]: Leaving directory `/usr/home/irclab/sifer/Unreal3.2/src'
gmake: *** [build] Error 2
i have follow the INSTALL.REMOTEINC
Unreal 3.2.5
curl-7.15.4
c-ares: 1.3.1
hope this help
regards
[EDIT]
Problem solved!
I have found the error reason: curl 7.15.4 use that reference to ares_getsock that is not is present in c-ares 1.3.1. Why? Because this function is present only in a cvs version of c-ares and c-url was developed using this cvs version.
http://curl.haxx.se/mail/archive-2006-06/0061.html
However, for unrealircd installation with c-ares 1.3.1 (release version, not cvs) use curl 7.15.1, it runs and dont get errors.
[/EDIT]