yahoo / UDPing

UDPing measures latency and packet loss across a link.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

does not compile on MacOS

mo8Zomo0 opened this issue · comments

commented

I was not able to compile it under MacOS 10.14.6 (dev tools should be installed and homebrew works fine for example)

UDPing$ make
cd src; make
g++ -I../include -I /home/y/include -g -c -o options.o options.cc
g++ -I../include -I /home/y/include -g -c -o delay.o delay.cc
In file included from delay.cc:13:
../include/delay.h:9:39: error: unknown type name 'sighandler_t'
void setIntervalTimer (int keepalive, sighandler_t handler);
^
delay.cc:52:39: error: unknown type name 'sighandler_t'
void setIntervalTimer (int keepalive, sighandler_t handler) {
^
2 errors generated.
make[1]: *** [delay.o] Error 1
make: *** [local] Error 2

I was about to try to compile it and request brew to accept a formulae but found your post ;/

Please send any update on this.