problems compiling with remote includes enabled

These are old archives. They are kept for historic purposes only.
Post Reply
devious
Posts: 2
Joined: Sun Jun 27, 2004 10:09 pm

problems compiling with remote includes enabled

Post 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.
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Post 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...
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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).
devious
Posts: 2
Joined: Sun Jun 27, 2004 10:09 pm

Post 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
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Post 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.
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
Post Reply