[jitsi-dev] Re: [jitsi~svn:8256] Missing LocalhostRetriever.dll for Windows x86.


#1

Seb,

I'm afraid the new binaries of LocalhostRetriever are not good because
I get the following exception and my SIP account fails to connect:

java.lang.UnsatisfiedLinkError:
net.java.sip.communicator.impl.netaddr.Win32LocalhostRetriever.getSourceForDestination([B)[B
  at net.java.sip.communicator.impl.netaddr.Win32LocalhostRetriever.getSourceForDestination(Native
Method)
  at net.java.sip.communicator.impl.netaddr.NetworkAddressManagerServiceImpl.getLocalHost(NetworkAddressManagerServiceImpl.java:149)
  at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getLocalViaHeaders(ProtocolProviderServiceSipImpl.java:1199)
  at net.java.sip.communicator.impl.protocol.sip.SipMessageFactory.createRegisterRequest(SipMessageFactory.java:1052)
  at net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.register(SipRegistrarConnection.java:231)
  at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.register(ProtocolProviderServiceSipImpl.java:449)
  at net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)

I believe you need the linker --kill-at argument (i.e. -Wl,--kill-at
to gcc) in order to properly export the JNI functions.

Regards,
Lyubomir


#2

Hi Lyubomir,

Thanks, I will recompile binaries.

···

--
Seb

On 17/02/2011 08:34, Lyubomir Marinov wrote:

Seb,

I'm afraid the new binaries of LocalhostRetriever are not good because
I get the following exception and my SIP account fails to connect:

java.lang.UnsatisfiedLinkError:
net.java.sip.communicator.impl.netaddr.Win32LocalhostRetriever.getSourceForDestination([B)[B
  at net.java.sip.communicator.impl.netaddr.Win32LocalhostRetriever.getSourceForDestination(Native
Method)
  at net.java.sip.communicator.impl.netaddr.NetworkAddressManagerServiceImpl.getLocalHost(NetworkAddressManagerServiceImpl.java:149)
  at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getLocalViaHeaders(ProtocolProviderServiceSipImpl.java:1199)
  at net.java.sip.communicator.impl.protocol.sip.SipMessageFactory.createRegisterRequest(SipMessageFactory.java:1052)
  at net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.register(SipRegistrarConnection.java:231)
  at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.register(ProtocolProviderServiceSipImpl.java:449)
  at net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)

I believe you need the linker --kill-at argument (i.e. -Wl,--kill-at
to gcc) in order to properly export the JNI functions.

Regards,
Lyubomir