Page 1 of 1

problems compiling with remote includes enabled

Posted: Sun Jun 27, 2004 10:13 pm
by devious
I can run the curlinstall script and it sets up alright, but when i type make i get this compile time error:


gcc -I../include -I/home/ezchat/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -DZIP_LINKS -DUSE_LIBCURL -export-dynamic -c url.c
url.c: In function `download_file':
url.c:171: `CURLOPT_NOSIGNAL' undeclared (first use in this function)
url.c:171: (Each undeclared identifier is reported only once
url.c:171: for each function it appears in.)
url.c: In function `download_file_async':
url.c:265: `CURLOPT_PRIVATE' undeclared (first use in this function)
url.c:272: `CURLOPT_NOSIGNAL' undeclared (first use in this function)
url.c: In function `url_do_transfers_async':
url.c:328: `CURLINFO_RESPONSE_CODE' undeclared (first use in this function)
url.c:329: `CURLINFO_PRIVATE' undeclared (first use in this function)
make[1]: *** [url.o] Error 1
make[1]: Leaving directory `/home/ezchat/Unreal3.2/src'
make: *** [build] Error 2

This machine is running redhat 9

any ideas on how to fix or get around this?

Thanks,
John
ScoobyNET Network Administrator.

Posted: Sun Jun 27, 2004 10:25 pm
by jewles
I suggest downloading the newer versions of curl and c-ares and try that... and I'd double check that the script is running currectly. Unless I'm mistaken that script you used should out put everything within a log file. check the log for any errors... just in cause it kept going without stopping...

Posted: Sun Jun 27, 2004 11:52 pm
by Syzop
Did you specify the correct path on the remote includes ./Config question? (Could be me but from the output it seems missing).
Since you said you used curlinstall, then it's /your/home/dir/curl (eg: /home/irc/curl).

Posted: Mon Jun 28, 2004 7:21 am
by devious
Yeah I tried two dif scripts for doing it, and I specified the correct path even. This was flawless on all my other servers except this one. I dont understand it

Regards,
John

Posted: Mon Jun 28, 2004 3:28 pm
by jewles
What I suggest doing is backing up unreal3.2, downloading a new version from http://www.unrealircd.com and try running this script. and check for any errors in the log file like I said. then as syzop said make sure that the path is currect when you do ./Config. If that doesn't work the only other possibility which isn't one I believe, is that your compiler might be broken.