why wont remote includes work ?

These are old archives. They are kept for historic purposes only.
Gemster
Posts: 10
Joined: Sat Jun 12, 2010 6:45 pm

Re: why wont remote includes work ?

Post by Gemster »

Gemster wrote:
katsklaw wrote:reply with all the steps you are doing and the username that you are doing it as.
ok just grabed from bash.history

username: testserv

wget http://c-ares.haxx.se/c-ares-1.7.4.tar.gz
wget http://curl.haxx.se/download/curl-7.21.3.tar.gz
tar zxvf c-ares-1.7.4.tar.gz
tar zxvf curl-7.21.3.tar.gz
cd Unreal3.2
./curlinstall /home/testserv/c-ares-1.7.4 /home/testserv/curl-7.21.3
./Config
make

Dir giving during ./curlinstall is "/home/testserv/curl"

al goes correctly with no errors untill i do "make"

Thanks
Gemster

Edit: I get the exact same error on a different box.
Simba
Posts: 2
Joined: Mon Feb 21, 2011 5:23 am

Re: why wont remote includes work ?

Post by Simba »

Was there any resolution to this? I'm having the exact same problem.

Steps to reproduce are essentially the same as the Gemster's:

Code: Select all

cd /usr/local/anthrochat
wget http://c-ares.haxx.se/c-ares-1.7.4.tar.gz
wget http://curl.haxx.se/download/curl-7.21.4.tar.bz2
tar xzvf c-ares-1.7.4.tar.gz
tar xjvf curl-7.21.4.tar.bz2
cd Unreal3.2
./curlinstall /usr/local/anthrochat/c-ares-1.7.4 /usr/local/anthrochat/curl-7.21.4
./Config
Specify the path that was given by curlinstall (/home/simba/curl) (also verify that the path exists. It does and has the following sub-directories: bin include lib share). Running "make" as the next step yields the following build error:

Code: Select all

url.c: In function 'url_do_transfers_async':
url.c:342: warning: call to '_curl_easy_getinfo_err_string' declared with attribute warning: curl_easy_getinfo expects a pointer to char * for this info
gcc -I../include -I/usr/local/anthrochat/Unreal3.2/extras/regexp/include -I/usr/local/anthrochat/Unreal3.2/extras/c-ares/include -L../extras/c-ares/lib -pipe -g -O2 -funsigned-char -fno-strict-aliasing -Wno-pointer-sign -DZIP_LINKS -I/home/simba/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 -lnsl  -lz -L/home/simba/curl/lib -lcurl -lidn -lssl -lcrypto -lldap -lrt -lssl -lcrypto -lz -ldl -L/usr/local/anthrochat/Unreal3.2/extras/regexp/lib -ltre   -L/usr/local/anthrochat/Unreal3.2/extras/c-ares/lib -lcares -lrt   -lssl -lcrypto
/home/simba/curl/lib/libcurl.a(libcurl_la-easy.o): In function `curl_global_cleanup':
easy.c:(.text+0x85f): undefined reference to `ares_library_cleanup'
/home/simba/curl/lib/libcurl.a(libcurl_la-easy.o): In function `curl_global_init':
easy.c:(.text+0x8fa): undefined reference to `ares_library_init'
easy.c:(.text+0x91f): undefined reference to `ares_library_init'
collect2: ld returned 1 exit status
make[1]: *** [ircd] Error 1
make[1]: Leaving directory `/usr/local/anthrochat/Unreal3.2/src'
make: *** [build] Error 2
Simba
Posts: 2
Joined: Mon Feb 21, 2011 5:23 am

Re: why wont remote includes work ?

Post by Simba »

Ended up getting it to compile by using fbsd-dev's cURL.sh script:

http://forums.unrealircd.com/viewtopic.php?f=3&t=353

My guess is that c-ares and curl needed to be built after they were extracted and before trying to build Unreal3.2. If that's the case, it wasn't completely clear in the INSTALL.REMOTEINC document.
Post Reply