Compil error. missing lib? (fixed)

These are old archives. They are kept for historic purposes only.
Post Reply
Kronan-NET
Posts: 2
Joined: Wed Nov 15, 2006 5:47 am

Compil error. missing lib? (fixed)

Post by Kronan-NET »

Hi. i have tryed to install several lib packs but nothing works :/
i think it has somthing to do with the distro i have. mandriva 2007.

what libs do i need to compil the deamon?

her is the error lines. and som other info about curl on my system.
Installed packs:
libcurl3-7.15.5
libcurl3-devel-7.15.5

Source dir:

[######@##### curl]# dir
curl.h curlver.h easy.h mprintf.h multi.h stdcheaders.h types.h

Last error lines:

/src/ircd.c:863: undefined reference to `curl_version
/src/url.c:267: undefined reference to `curl_easy_setopt
/src/url.c:204: undefined reference to `curl_easy_cleanup
/src/url.c:284: undefined reference to `curl_multi_add_handle'
collect2: ld returned 1 exit status
make[1]: *** [ircd] Erorrs 1
make[1]: Leaving directory `//src'
make: *** [build] Erorrs2

Info about make:

GNU Make 3.81
This program built for i586-mandriva-linux-gnu
Last edited by Kronan-NET on Wed Nov 15, 2006 3:50 pm, edited 1 time in total.
Kronan-NET
Posts: 2
Joined: Wed Nov 15, 2006 5:47 am

Mandriva...

Post by Kronan-NET »

as I was woundring moer about if the problem layed with in mandriva linux. a began to poke around varius configuration's and i relized tha i had forgoten to configurate mandriva properly. it still run under the default settings.
wax
Posts: 72
Joined: Tue Oct 04, 2005 6:32 am
Location: ByNets@Belarus
Contact:

Post by wax »

Code: Select all

bock@ircserv:~(/home/bock/Unreal3.2)> cat INSTALL.REMOTEINC
**** Remote Includes ****

Setting up UnrealIRCd to work with remote includes is not very difficult. The first step is to
download c-ares. C-ares can be downloaded from <http://daniel.haxx.se/projects/c-ares/>
download the latest version of c-ares and extract the .tar.gz somewhere.

Now, download the latest version of curl, available at <http://curl.haxx.se/download.html>
again, extract the tar.gz somewhere.

Next, go to the Unreal3.2 directory and run the curlinstall script. You run the script
as follows:

./curlinstall ares_path curl_path

Paths should be complete pathnames. If you extracted c-ares to /home/username/c-ares-1.0.0
and curl to /home/username/curl-7.11.0 then you would run:

./curlinstall /home/username/c-ares-1.0.0 /home/username/curl-7.11.0

Lastly, run ./Config. When asked whether to enable remote includes say "yes" and when asked
for the path curl was installed to include the path that is printed out after ./curlinstall
completes. Then simply run make to compile Unreal as usual and remote includes should work
fine.
Post Reply