Page 1 of 2
Compile Error
Posted: Sat Dec 25, 2004 2:21 am
by bchacker
Ok, This is my problem. I type the make command an after a bit I get this error:
Code: Select all
u36218093:~/irc > make
Building src
make[1]: Entering directory `/homepages/15/d99530129/htdocs/irc/src'
gcc -I../include -I/kunden/homepages/15/d99530129/htdocs/irc/extras/regexp/include -pipe -g -O2 -funsigned-char -DUSE_LIBCURL -export-dynamic -c url.c
url.c: In function `url_do_transfers_async':
url.c:328: `CURLINFO_RESPONSE_CODE' undeclared (first use in this function)
url.c:328: (Each undeclared identifier is reported only once
url.c:328: for each function it appears in.)
make[1]: *** [url.o] Error 1
make[1]: Leaving directory `/homepages/15/d99530129/htdocs/irc/src'
make: *** [build] Error 2
Now I know this isnt a CHMOD problem because two other files are inserted in there. Please help me. I want to have this up for my site at the unvailing in January. Everything seems fine with installataion except for this SOB.
Posted: Sat Dec 25, 2004 2:47 am
by aquanight
Did you install libcurl? (Read INSTALL.REMOTEINC)
*edit* on second thought, if you didn't why wouldn't it have the "no such include file" type errors? :/ */edit*
Posted: Sat Dec 25, 2004 2:55 am
by Syzop
Did you install libcurl? (Read INSTALL.REMOTEINC)
*edit* on second thought, if you didn't why wouldn't it have the "no such include file" type errors? :/ */edit*
Because he is using a (old) stock version of curl (like a rpm/deb/.. package), instead of reading INSTALL.REMOTEINC and installing curl+c-ares properly ;).
[CURLINFO_RESPONSE_CODE existed already before we first released our unrealircd w/remote includes version ;p]
Posted: Mon Dec 27, 2004 11:48 pm
by bchacker
I read and followed all the directions in INSTALL.REMOTEINC. I downloaded both the newest of ares and curl. IDK if I was supposesd to scroll down and download a different curl. Plus a lot of the files copied except that one.
Posted: Tue Dec 28, 2004 4:19 am
by codemastr
That error only occurs if you have an old/outdated libcurl.
Posted: Tue Dec 28, 2004 5:09 am
by bchacker
Then which curl should I download?
Posted: Tue Dec 28, 2004 5:22 am
by Syzop
Unrelated, but.. it seems your IRC server is in a public www directory?? That doesn't sound too good :P
Posted: Tue Dec 28, 2004 2:11 pm
by bchacker
1: There will be only a maximum of 5 users on there at once
2: It has its own folder & own subdomain that is seperate from the www domain.
I would really like to put unrealirc on my server so please tell me which of everthing I need to download.
Posted: Tue Dec 28, 2004 3:17 pm
by mikeszewil
bryan, i hope this gets working

Posted: Tue Dec 28, 2004 3:45 pm
by bchacker
Thanks Mike
Posted: Tue Dec 28, 2004 7:17 pm
by bchacker
OK I ran it again and here is what I got:
Code: Select all
gcc -I../include -I/kunden/homepages/15/d99530129/htdocs/irc/extras/regexp/include -pipe -g -O2 -funsigned-char -DUSE_LIBCURL -export-dynamic -c url.c
url.c: In function `url_do_transfers_async':
url.c:328: `CURLINFO_RESPONSE_CODE' undeclared (first use in this function)
url.c:328: (Each undeclared identifier is reported only once
url.c:328: for each function it appears in.)
make[1]: *** [url.o] Error 1
make[1]: Leaving directory `/homepages/15/d99530129/htdocs/irc/src'
make: *** [build] Error 2
And I downloaded both 7.12.3 of Curl (latest), and 1.2.1 of C-Ares (latest). This isnt a old version error.
Posted: Tue Dec 28, 2004 8:38 pm
by codemastr
Then you specified the wrong path when you configured Unreal. Otherwise, you would not get that error.
Posted: Tue Dec 28, 2004 10:48 pm
by bchacker
Then how come 2 other files in that dir were created and a bunch of other ones were
Posted: Tue Dec 28, 2004 10:58 pm
by Syzop
What codemastr means (I think) is that you did not supply the correct path to curl during ./Config... I too, don't see any such thing (there's no -I in your 'make' paste thingies).
Good idea to try it all again:
Code: Select all
make clean
./Config
[now answer Yes to curl and specify the correct full path, or just answer no if you don't want curl / remote includes]
make
Posted: Tue Dec 28, 2004 11:23 pm
by mikeszewil
here's something i saw
/kunden/homepages/15/d99530129/htdocs/irc/extras/regexp/include -pipe -g
So, since there is no space between the i and the data, i think its taking -pipe for the url
i wounder if its that
But it may be a good idea to make sure thats the right path.