Pokeys Lib install Error

ozisthebest@debian:~/mbosnak-pokeyslib-7a079bad8dbe$ sudo make -f Makefile.noqmake install
[sudo] password for ozisthebest: 
gcc -fPIC   -c -o PoKeysLibCore.o PoKeysLibCore.c
gcc -fPIC   -c -o PoKeysLibCoreSockets.o PoKeysLibCoreSockets.c
gcc -fPIC   -c -o hid-libusb.o hid-libusb.c
gcc -fPIC   -c -o PoKeysLibFastUSB.o PoKeysLibFastUSB.c
gcc -fPIC   -c -o PoKeysLibDeviceData.o PoKeysLibDeviceData.c
gcc -fPIC   -c -o PoKeysLibIO.o PoKeysLibIO.c
gcc -fPIC   -c -o PoKeysLibEncoders.o PoKeysLibEncoders.c
gcc -fPIC   -c -o PoKeysLibMatrixLED.o PoKeysLibMatrixLED.c
gcc -fPIC   -c -o PoKeysLibMatrixKB.o PoKeysLibMatrixKB.c
gcc -fPIC   -c -o PoKeysLibPoNET.o PoKeysLibPoNET.c
gcc -fPIC   -c -o PoKeysLibLCD.o PoKeysLibLCD.c
gcc -fPIC   -c -o PoKeysLibRTC.o PoKeysLibRTC.c
gcc -fPIC   -c -o PoKeysLibEasySensors.o PoKeysLibEasySensors.c
gcc -fPIC   -c -o PoKeysLibI2C.o PoKeysLibI2C.c
gcc -fPIC   -c -o PoKeysLib1Wire.o PoKeysLib1Wire.c
gcc -fPIC   -c -o PoKeysLibSPI.o PoKeysLibSPI.c
gcc -fPIC   -c -o PoKeysLibPulseEngine_v2.o PoKeysLibPulseEngine_v2.c
gcc -fPIC   -c -o PoKeysLibUART.o PoKeysLibUART.c
gcc -fPIC   -c -o PoKeysLibCAN.o PoKeysLibCAN.c
gcc -fPIC   -c -o PoKeysLibFailsafe.o PoKeysLibFailsafe.c
gcc -fPIC   -c -o PoKeysLibWS2812.o PoKeysLibWS2812.c
gcc -fPIC   -c -o PoKeysLibDevicePoKeys57Industrial.o PoKeysLibDevicePoKeys57Industrial.c
PoKeysLibDevicePoKeys57Industrial.c: In function ‘PK57i_SearchDevice’:
PoKeysLibDevicePoKeys57Industrial.c:221:12: warning: implicit declaration of function ‘GetBroadcastAddresses’ [-Wimplicit-function-declaration]
     addr = GetBroadcastAddresses();
            ^~~~~~~~~~~~~~~~~~~~~
PoKeysLibDevicePoKeys57Industrial.c:221:10: warning: assignment to ‘uint32_t *’ {aka ‘unsigned int *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
     addr = GetBroadcastAddresses();
          ^
PoKeysLibDevicePoKeys57Industrial.c:233:51: error: ‘SOCKADDR’ undeclared (first use in this function); did you mean ‘SOCK_RDM’?
         if (sendto(txSocket, SendBuf, BufLen, 0, (SOCKADDR *)&remoteEP, sizeof(remoteEP)) == -1)
                                                   ^~~~~~~~
                                                   SOCK_RDM
PoKeysLibDevicePoKeys57Industrial.c:233:51: note: each undeclared identifier is reported only once for each function it appears in
PoKeysLibDevicePoKeys57Industrial.c:233:61: error: expected expression before ‘)’ token
         if (sendto(txSocket, SendBuf, BufLen, 0, (SOCKADDR *)&remoteEP, sizeof(remoteEP)) == -1)
                                                             ^
PoKeysLibDevicePoKeys57Industrial.c:233:13: error: too few arguments to function ‘sendto’
         if (sendto(txSocket, SendBuf, BufLen, 0, (SOCKADDR *)&remoteEP, sizeof(remoteEP)) == -1)
             ^~~~~~
In file included from PoKeysLibDevicePoKeys57Industrial.c:32:
/usr/include/x86_64-linux-gnu/sys/socket.h:152:16: note: declared here
 extern ssize_t sendto (int __fd, const void *__buf, size_t __n,
                ^~~~~~
make: *** [<builtin>: PoKeysLibDevicePoKeys57Industrial.o] Error 1
ozisthebest@debian:~/mbosnak-pokeyslib-7a079bad8dbe$ sudo halcompile ./pokeys.comp
Traceback (most recent call last):
  File "/usr/bin/halcompile", line 1508, in <module>
    main()
  File "/usr/bin/halcompile", line 1478, in main
    process(f, mode, outfile)
  File "/usr/bin/halcompile", line 1332, in process
    a, b = parse(filename)
  File "/usr/bin/halcompile", line 428, in parse
    f = open(filename).read()
IOError: [Errno 2] No such file or directory: './pokeys.comp'
ozisthebest@debian:~/mbosnak-pokeyslib-7a079bad8dbe$