Page 1 of 1

Latest Sbridge and Lazarus not installing

Posted: Thu 06 Nov 2014 20:42
by snorkel
When I try to install the lazarus package it errors out at:

/home/snorkel/laz_components/sbridge/Source/ScSSHSocket.pas(86,27) Error: Identifier not found "PSockAddrIn"

This is with the sbridge version from October 1st

Thanks

Re: Latest Sbridge and Lazarus not installing

Posted: Fri 07 Nov 2014 11:14
by ViktorV
To solve the problem, please replace the following lines in the ScSSHSocket.pas module:

Code: Select all

{$IFDEF POSIX}
  PSockAddrIn = Psockaddr_in;
{$ENDIF}
with

Code: Select all

{$IFNDEF MSWINDOWS}
  PSockAddrIn = Psockaddr_in;
{$ENDIF}