Make Error

These are old archives. They are kept for historic purposes only.
Post Reply
Darkmule
Posts: 2
Joined: Sun Oct 30, 2005 10:29 am
Location: Samoan Islands
Contact:

Make Error

Post 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.
Andrew Berquist
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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.
Darkmule
Posts: 2
Joined: Sun Oct 30, 2005 10:29 am
Location: Samoan Islands
Contact:

Post 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?
Andrew Berquist
tlp

ld sym links?

Post 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
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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.
Post Reply