Page 1 of 1
Make Error
Posted: Sun Oct 30, 2005 10:38 am
by Darkmule
Code: Select all
Building src
gcc -I../include -I/home/dfahren/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -DUSE_LIBCURL -export-dynamic -c ircd.c
ircd.c:74: curl/curl.h: No such file or directory
ircd.c: In function `do_version_check':
ircd.c:870: warning: assignment makes pointer from integer without a cast
ircd.c:871: `LIBCURL_VERSION' undeclared (first use in this function)
ircd.c:871: (Each undeclared identifier is reported only once
ircd.c:871: for each function it appears in.)
*** Error code 1
Stop in /usr/home/dfahren/Unreal3.2/src.
*** Error code 1
Stop in /usr/home/dfahren/Unreal3.2.
Alright, I'm sure you get questions like my constantly. What the hell is worng.
I'm pretty sure its a Curl issue.. Curl was not installed for me, or i could not find the dir for curl from the shell provider. I dont know *nix all that well, so i'm out of luck for knowing commands on how to look for curl. I tried installing curl/ares myself, i dont know how successful i was *being nothing is running at the moment.* Anyway, maybe someone can point me in the correct direction. Thanks.
Posted: Sun Oct 30, 2005 3:38 pm
by Syzop
Unreal comes with a file 'INSTALL.REMOTEINC' that contains all instructions.
You cannot use 'stock curl' (since this is almost always without c-ares support), so you will have to install it yourself anyway.
Posted: Sun Oct 30, 2005 9:57 pm
by Darkmule
Ok, curl problem solved, except i'm getting this now on make after ./Config
/usr/libexec/elf/ld: cannot find -lares
*** Error code 1
Is it me or the host?
ld sym links?
Posted: Fri Jan 06, 2006 6:24 pm
by tlp
Darkmule wrote:Ok, curl problem solved, except i'm getting this now on make after ./Config
/usr/libexec/elf/ld: cannot find -lares
*** Error code 1
Is it me or the host?
i have the above problem when doing make. its looking for ld in a mad place, its already installed in /usr/bin/ld but it does not know it is there for some reason.
im thinkin it just needs to be told where to look for it but i am not sure how to do that. ive already compiled a few successful ircd's without this error.
any help appriciated.
tlp
Posted: Fri Jan 06, 2006 10:09 pm
by Syzop
If you want remote includes, read INSTALL.REMOTEINC and install curl and c-ares according to that.
If you don't want it, then simply re-run ./Config and say 'no' when asked about remote includes (and then do 'make' again) and everything should install fine.