Latest securebridge won't compile on Linux
Posted: Mon 10 Feb 2014 18:22
Getting this error with the latest 6.2 on Lazarus 1.0.14:
(prior I was using version 5.x on linux)
/home/snorkel/laz_components/sbridge/Source/CRSocketImpl.inc(317,16) Error: Duplicate identifier "Socket"
Ok, so I renamed the socket function to _socket, then I get this:
/home/snorkel/laz_components/sbridge/Source/CRSocketImpl.inc(416,24) Hint: Local variable "Hints" does not seem to be initialized
/home/snorkel/laz_components/sbridge/Source/CRSocketImpl.inc(20,16) Hint: Local type "PPAddrInfo" is not used
/home/snorkel/laz_components/sbridge/Source/ScSSHSocket.pas(72,25) Error: Identifier not found "PSockAddr"
/home/snorkel/laz_components/sbridge/Source/ScSSHSocket.pas(72,25) Error: Error in type definition
/home/snorkel/laz_components/sbridge/Source/ScSSHSocket.pas(74,43) Error: Identifier not found "PSockAddr"
/home/snorkel/laz_components/sbridge/Source/ScSSHSocket.pas(80,25) Error: Identifier not found "PSockAddr"
/home/snorkel/laz_components/sbridge/Source/ScSSHSocket.pas(80,25) Error: Error in type definition
/home/snorkel/laz_components/sbridge/Source/ScSSHSocket.pas(86,43) Error: Identifier not found "PSockAddr"
/home/snorkel/laz_components/sbridge/Source/ScSSHSocket.pas(103,1) Fatal: There were 6 errors compiling module, stopping
(prior I was using version 5.x on linux)
/home/snorkel/laz_components/sbridge/Source/CRSocketImpl.inc(317,16) Error: Duplicate identifier "Socket"
Ok, so I renamed the socket function to _socket, then I get this:
/home/snorkel/laz_components/sbridge/Source/CRSocketImpl.inc(416,24) Hint: Local variable "Hints" does not seem to be initialized
/home/snorkel/laz_components/sbridge/Source/CRSocketImpl.inc(20,16) Hint: Local type "PPAddrInfo" is not used
/home/snorkel/laz_components/sbridge/Source/ScSSHSocket.pas(72,25) Error: Identifier not found "PSockAddr"
/home/snorkel/laz_components/sbridge/Source/ScSSHSocket.pas(72,25) Error: Error in type definition
/home/snorkel/laz_components/sbridge/Source/ScSSHSocket.pas(74,43) Error: Identifier not found "PSockAddr"
/home/snorkel/laz_components/sbridge/Source/ScSSHSocket.pas(80,25) Error: Identifier not found "PSockAddr"
/home/snorkel/laz_components/sbridge/Source/ScSSHSocket.pas(80,25) Error: Error in type definition
/home/snorkel/laz_components/sbridge/Source/ScSSHSocket.pas(86,43) Error: Identifier not found "PSockAddr"
/home/snorkel/laz_components/sbridge/Source/ScSSHSocket.pas(103,1) Fatal: There were 6 errors compiling module, stopping