[Lazarus-es] compilar sockets_laz 0.2

Rafael Bidegain r.bidegain en gmail.com
Vie Ene 17 16:52:44 CET 2020


Hola!
Tengo que desarrollar un cliente Socket, probé instalar Sockets_laz 0.2
Estoy usando:
Lazarus 1.8.2+dfsg-3
FPC: 3.0.4
Ubuntu: 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019
x86_64 x86_64 x86_64 GNU/Linux

La aplicación se va a instalar en una maquina con windows 10.

En principio faltaba la dependencia LCLBase, pero surgieron estos errores.

¿alguna pista para resolverlos?
gracias.

Compilar paquete sockets_laz 0.2: Código de salida 256, Errores: 12,
Advertencias: 1
socketclient.pas(226,14) Error: Identifier not found "shutdown"
socketclient.pas(269,18) Error: identifier idents no member "family"
socketclient.pas(270,18) Error: identifier idents no member "addr"
socketclient.pas(271,18) Error: identifier idents no member "port"
socketclient.pas(272,23) Error: Identifier not found "Socket"
socketclient.pas(275,21) Error: Wrong number of parameters specified for
call to "Connect"
Error: Found declaration: Connect(LongInt;const sockaddr_in;var Text;var
Text):Boolean;
Error: Found declaration: Connect(LongInt;const sockaddr_in;var File;var
File):Boolean;
Error: Found declaration: Connect(LongInt;const ShortString;var Text;var
Text):Boolean;
Error: Found declaration: Connect(LongInt;const ShortString;var File;var
File):Boolean;
socketclient.pas(362,19) Error: Identifier not found "send"
socketclient.pas(502,23) Error: Identifier not found "recv"
socketclient.pas(506,26) Warning: Local variable "c" does not seem to be
initialized


-- 
Rafael Bidegain

Ya que los cuerdos no hablan, hablará el loco.
(The Fool, Padraic Pearse)

# yo quiero educación libre. ¡YA!
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus-es/attachments/20200117/5b95b885/attachment.html>


Más información sobre la lista de distribución Lazarus-es