poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

poked does not compile on windows


From: Hannes Domani
Subject: poked does not compile on windows
Date: Tue, 13 Feb 2024 19:45:28 +0000 (UTC)

 Hello


When trying to compile poked on windows, I get these errors:

../../../poke.git/poked/usock.c:32:10: fatal error: poll.h: No such file or 
directory
   32 | #include <poll.h>
      |          ^~~~~~~~
compilation terminated.
../../../poke.git/poked/poked.c: In function 'poked_options_init':
../../../poke.git/poked/poked.c:580:27: warning: implicit declaration of 
function 'getuid'; did you mean 'getpid'? [-Wimplicit-function-declaration]
  580 |                     (long)getuid ()) == -1)
      |                           ^~~~~~
      |                           getpid
../../../poke.git/poked/poked.c: In function 'main':
../../../poke.git/poked/poked.c:626:20: error: 'SIGPIPE' undeclared (first use 
in this function); did you mean 'SIGFPE'?
  626 |     sigaddset (&s, SIGPIPE);
      |                    ^~~~~~~
      |                    SIGFPE
../../../poke.git/poked/poked.c:626:20: note: each undeclared identifier is 
reported only once for each function it appears in

So I suggest disabling building it if these functions are not available (and
maybe make a configure option --disable-poked if you don't need it).


Regards
Hannes


reply via email to

[Prev in Thread] Current Thread [Next in Thread]