< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] building repro----dns/AresDns


well well it was my mistake to install ares from debian packages web site.
I removed the package that i downloaded (apt-get remove libares0)....and installed ares from sip/contrib/ares...I didnt know this..sorry for that...
Now repro runs properly....besides if there is anyone who has nice documentation of resiprocate please mail me the docs (especially building user agents using DUM).....atleast the links to the docs...

can we use sip messages to send/recieve files other than media?
I know we can use FTP for transferring any files other than real time media...
but can we do this in SIP?

On Fri, Mar 21, 2008 at 8:55 PM, Byron Campen <bcampen@xxxxxxxxxxxx> wrote:
       Response inline...

> i have successfully built repro in fedora 8 and i had no problems
> with dns/AresDns...
>
> i'm trying to build repro in debian but i get the following error...
>
> ../build/../rutil/obj.debug.Linux.i686/librutil.a(AresDns.o): In
> function `resip ::AresDns::init
> (std::vector<resip::GenericIPAddress, std::allocator<resip::Gener
> icIPAddress> > const&, void (*)(int, int, char const*, int), int,
> int, unsigned int)':
> dns/AresDns.cxx:43: undefined reference to `ares_capabilities'
> dns/AresDns.cxx:63: undefined reference to
> `ares_init_options_with_socket_functi on'
> dns/AresDns.cxx:92: undefined reference to
> `ares_init_options_with_socket_functi on'
> ../build/../rutil/obj.debug.Linux.i686/librutil.a(AresDns.o): In
> function `~Ares Dns':
> dns/AresDns.cxx:126: undefined reference to
> `ares_destroy_suppress_callbacks'
> dns/AresDns.cxx:126: undefined reference to
> `ares_destroy_suppress_callbacks'
> dns/AresDns.cxx:126: undefined reference to
> `ares_destroy_suppress_callbacks'
> collect2: ld returned 1 exit status
> make: *** [bin.debug.Linux.i686/repro] Error 1
> rm obj.debug.Linux.i686/repro.o obj.debug.Linux.i686/repro.d
> debian:/home/abc/abc/resip/repro#
>
>
>
>
>
> i have installed packages "libares0" and "libares-dev"...

       I bet this is actually causing the problem. Resip uses its own
hacked-up copy of ares (you'll find it in contrib), and linking
against an installed copy of plain libares almost certainly won't work.

       I am posting this to resip-devel to ask the question; should we
rename the libraries that our copy of ares generates to avoid this
kind of linker error?

Best regards,
Byron Campen

>
> but I still get the errors.....
> please help.....
> _______________________________________________
> resiprocate-users mailing list
> resiprocate-users@xxxxxxxxxxxxxxx
> List Archive: http://list.resiprocate.org/archive/resiprocate-users/




--
Break the rules before they break you!!!!!