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

Re: [reSIProcate] Compile error regarding DataLocalSize


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alan,

> On 2006.07.17, at 16:46 , Mark R. Watson wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi,
>>     I'm just getting started using resiprocate for a project.  I'm using
>> gcc-3.3.6[snip]
>> I'm using the latest version available from Subversion (v6398).  I have
>> "-L/usr/local/lib -ldum -lresip -lrutil" on my link line and have
>> confirmed that librutil.a exists in /usr/local/lib and contains
>> DataLocalSize.
>>
>> Has anyone seen this before?  Any help would be much appreciated!
>
> Mark - the first thing that comes to mind; are you compiling reSIProcate
> with the same compiler as your application (I suspect so) and are you
> linking with 'gcc' or 'g++'. Static initialiser problems are frequently
> caused by not linking with the C++ compiler. Let me know if that was the
> problem, otherwise some deeper digging may be required.

Yes, it is the same compiler.  I double-checked the linker and it is
g++.  The funny thing is that I made a tiny test program that just
instantiates a SipStack on the stack and exits.  After fiddling with the
link list, I got it to compile and run.  When I tried replicating these
settings on my real project (which uses automake/autoconf), it wouldn't
work no matter what I changed.  I even made a barebones
automake/autoconf project that instantiates a SipStack and that wouldn't
link either.  Do you know if there's something different about how
automake and company compile things that would cause this?

Thanks,
Mark

> Thanks
> Alan
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEvkIrc4R8R55rtEwRAs3KAJ9GzpbX5QUDGxe/7LHwN1zKWjYY1ACgo5oq
hY/eiqzMhfbrqee0Y0Lo9UM=
=NYJ+
-----END PGP SIGNATURE-----