[root@localhost /]# gem install oversip
Building native extensions. This could take a while...
ERROR: Error installing oversip:
ERROR: Failed to build gem native extension.
current directory: /usr/local/lib/ruby/gems/2.6.0/gems/eventmachine-le-1.1.7/ext
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20190304-7007-1iuo2f1.rb extconf.rb
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... no
checking for inotify_init() in sys/inotify.h... yes
checking for writev() in sys/uio.h... yes
checking for rb_wait_for_single_fd()... yes
checking for rb_enable_interrupt()... no
checking for rb_time_new()... yes
checking for sys/event.h... no
checking for epoll_create() in sys/epoll.h... yes
creating Makefile
current directory: /usr/local/lib/ruby/gems/2.6.0/gems/eventmachine-le-1.1.7/ext
make "DESTDIR=" clean
current directory: /usr/local/lib/ruby/gems/2.6.0/gems/eventmachine-le-1.1.7/ext
make "DESTDIR="
compiling binder.cpp
cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-int’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from project.h:148:0,
from binder.cpp:20:
binder.h:35:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long GetBinding() {return Binding;}
^
In file included from project.h:149:0,
from binder.cpp:20:
em.h:87:47: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long InstallOneshotTimer (int);
^
em.h:88:76: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long ConnectToServer (const char *, int, const char *, int);
^
em.h:89:56: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long ConnectToUnixServer (const char *);
^
em.h:91:57: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long CreateTcpServer (const char *, int);
^
em.h:92:60: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long OpenDatagramSocket (const char *, int);
^
em.h:93:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long CreateUnixDomainServer (const char*);
^
em.h:94:36: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long OpenKeyboard();
^
em.h:96:47: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long Socketpair (char* const*);
^
em.h:102:42: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long AttachFD (int, bool);
^
em.h:104:42: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long AttachServerFD (int);
^
em.h:120:45: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long WatchFile (const char*);
^
em.h:129:36: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long WatchPid (int);
^
In file included from project.h:153:0,
from binder.cpp:20:
eventmachine.h:47:61: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_install_oneshot_timer (int seconds);
^
eventmachine.h:48:112: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_connect_to_server (const char *bind_addr, int bind_port, const char *server, int port);
^
eventmachine.h:49:69: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_connect_to_unix_server (const char *server);
^
eventmachine.h:51:73: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_attach_fd (int file_descriptor, int watch_mode);
^
eventmachine.h:53:64: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_attach_server_fd (int file_descriptor);
^
eventmachine.h:68:75: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_create_tcp_server (const char *address, int port);
^
eventmachine.h:69:74: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_create_unix_domain_server (const char *filename);
^
eventmachine.h:70:77: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_open_datagram_socket (const char *server, int port);
^
eventmachine.h:71:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_open_keyboard();
^
In file included from project.h:153:0,
from binder.cpp:20:
eventmachine.h:104:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_popen (char * const*cmd_strings);
^
eventmachine.h:106:60: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_watch_filename (const char *fname);
^
eventmachine.h:109:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_watch_pid (int);
^
cc1plus: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-self-assign" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-parentheses-equality" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-constant-logical-operand" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
compiling cmain.cpp
cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-int’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from project.h:148:0,
from cmain.cpp:20:
binder.h:35:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long GetBinding() {return Binding;}
^
In file included from project.h:149:0,
from cmain.cpp:20:
em.h:87:47: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long InstallOneshotTimer (int);
^
em.h:88:76: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long ConnectToServer (const char *, int, const char *, int);
^
em.h:89:56: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long ConnectToUnixServer (const char *);
^
em.h:91:57: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long CreateTcpServer (const char *, int);
^
em.h:92:60: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long OpenDatagramSocket (const char *, int);
^
em.h:93:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long CreateUnixDomainServer (const char*);
^
em.h:94:36: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long OpenKeyboard();
^
em.h:96:47: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long Socketpair (char* const*);
^
em.h:102:42: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long AttachFD (int, bool);
^
em.h:104:42: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long AttachServerFD (int);
^
em.h:120:45: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long WatchFile (const char*);
^
em.h:129:36: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long WatchPid (int);
^
In file included from project.h:153:0,
from cmain.cpp:20:
eventmachine.h:47:61: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_install_oneshot_timer (int seconds);
^
eventmachine.h:48:112: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_connect_to_server (const char *bind_addr, int bind_port, const char *server, int port);
^
eventmachine.h:49:69: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_connect_to_unix_server (const char *server);
^
eventmachine.h:51:73: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_attach_fd (int file_descriptor, int watch_mode);
^
eventmachine.h:53:64: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_attach_server_fd (int file_descriptor);
^
eventmachine.h:68:75: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_create_tcp_server (const char *address, int port);
^
eventmachine.h:69:74: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_create_unix_domain_server (const char *filename);
^
eventmachine.h:70:77: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_open_datagram_socket (const char *server, int port);
^
eventmachine.h:71:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_open_keyboard();
^
In file included from project.h:153:0,
from cmain.cpp:20:
eventmachine.h:104:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_popen (char * const*cmd_strings);
^
eventmachine.h:106:60: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_watch_filename (const char *fname);
^
eventmachine.h:109:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_watch_pid (int);
^
cmain.cpp:96:71: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
extern "C" const unsigned long evma_install_oneshot_timer (int seconds)
^
cmain.cpp:107:122: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
extern "C" const unsigned long evma_connect_to_server (const char *bind_addr, int bind_port, const char *server, int port)
^
cmain.cpp:117:79: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
extern "C" const unsigned long evma_connect_to_unix_server (const char *server)
^
cmain.cpp:127:83: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
extern "C" const unsigned long evma_attach_fd (int file_descriptor, int watch_mode)
^
cmain.cpp:156:74: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
extern "C" const unsigned long evma_attach_server_fd (int file_descriptor)
^
cmain.cpp:291:85: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
extern "C" const unsigned long evma_create_tcp_server (const char *address, int port)
^
cmain.cpp:301:84: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
extern "C" const unsigned long evma_create_unix_domain_server (const char *filename)
^
cmain.cpp:311:88: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
extern "C" const unsigned long evma_open_datagram_socket (const char *address, int port)
^
cmain.cpp:321:51: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
extern "C" const unsigned long evma_open_keyboard()
^
cmain.cpp:331:70: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
extern "C" const unsigned long evma_watch_filename (const char *fname)
^
cmain.cpp:351:55: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
extern "C" const unsigned long evma_watch_pid (int pid)
^
cmain.cpp:673:68: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
extern "C" const unsigned long evma_popen (char * const*cmd_strings)
^
cc1plus: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-self-assign" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-parentheses-equality" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-constant-logical-operand" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
compiling ed.cpp
cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-int’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from project.h:148:0,
from ed.cpp:20:
binder.h:35:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long GetBinding() {return Binding;}
^
In file included from project.h:149:0,
from ed.cpp:20:
em.h:87:47: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long InstallOneshotTimer (int);
^
em.h:88:76: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long ConnectToServer (const char *, int, const char *, int);
^
em.h:89:56: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long ConnectToUnixServer (const char *);
^
em.h:91:57: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long CreateTcpServer (const char *, int);
^
em.h:92:60: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long OpenDatagramSocket (const char *, int);
^
em.h:93:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long CreateUnixDomainServer (const char*);
^
em.h:94:36: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long OpenKeyboard();
^
em.h:96:47: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long Socketpair (char* const*);
^
em.h:102:42: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long AttachFD (int, bool);
^
em.h:104:42: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long AttachServerFD (int);
^
em.h:120:45: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long WatchFile (const char*);
^
em.h:129:36: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long WatchPid (int);
^
In file included from project.h:153:0,
from ed.cpp:20:
eventmachine.h:47:61: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_install_oneshot_timer (int seconds);
^
eventmachine.h:48:112: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_connect_to_server (const char *bind_addr, int bind_port, const char *server, int port);
^
eventmachine.h:49:69: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_connect_to_unix_server (const char *server);
^
eventmachine.h:51:73: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_attach_fd (int file_descriptor, int watch_mode);
^
eventmachine.h:53:64: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_attach_server_fd (int file_descriptor);
^
eventmachine.h:68:75: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_create_tcp_server (const char *address, int port);
^
eventmachine.h:69:74: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_create_unix_domain_server (const char *filename);
^
eventmachine.h:70:77: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_open_datagram_socket (const char *server, int port);
^
eventmachine.h:71:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_open_keyboard();
^
In file included from project.h:153:0,
from ed.cpp:20:
eventmachine.h:104:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_popen (char * const*cmd_strings);
^
eventmachine.h:106:60: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_watch_filename (const char *fname);
^
eventmachine.h:109:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_watch_pid (int);
^
ed.cpp: In member function ‘void EventableDescriptor::_GenericInboundDispatch(const char*, int)’:
ed.cpp:308:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (proxied < size) {
^
ed.cpp: In member function ‘virtual void AcceptorDescriptor::Read()’:
ed.cpp:1459:66: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
cd->GetEpollEvent()->events = (cd->SelectForRead() ? EPOLLIN : 0) | (cd->SelectForWrite() ? EPOLLOUT : 0);
^
ed.cpp:1459:106: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
cd->GetEpollEvent()->events = (cd->SelectForRead() ? EPOLLIN : 0) | (cd->SelectForWrite() ? EPOLLOUT : 0);
^
In file included from project.h:150:0,
from ed.cpp:20:
ed.h: In constructor ‘DatagramDescriptor::DatagramDescriptor(int, EventMachine_t*)’:
ed.h:310:7: warning: ‘DatagramDescriptor::OutboundDataSize’ will be initialized after [-Wreorder]
int OutboundDataSize;
^
ed.h:296:117: warning: ‘DatagramDescriptor::ERRORHANDLINGTYPE DatagramDescriptor::SendErrorHandling’ [-Wreorder]
enum ERRORHANDLINGTYPE {ERRORHANDLING_KILL = 0, ERRORHANDLING_IGNORE = 1, ERRORHANDLING_REPORT = 2} SendErrorHandling;
^
ed.cpp:1516:1: warning: when initialized here [-Wreorder]
DatagramDescriptor::DatagramDescriptor (int sd, EventMachine_t *parent_em):
^
ed.cpp: In member function ‘virtual void DatagramDescriptor::Write()’:
ed.cpp:1728:64: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
EpollEvent.events = (EPOLLIN | (SelectForWrite() ? EPOLLOUT : 0));
^
ed.cpp: In member function ‘virtual void LoopbreakDescriptor::Write()’:
ed.cpp:1356:6: warning: function might be candidate for attribute ‘noreturn’ [-Wsuggest-attribute=noreturn]
void LoopbreakDescriptor::Write()
^
ed.cpp: In member function ‘virtual void AcceptorDescriptor::Write()’:
ed.cpp:1478:6: warning: function might be candidate for attribute ‘noreturn’ [-Wsuggest-attribute=noreturn]
void AcceptorDescriptor::Write()
^
ed.cpp: In member function ‘virtual void InotifyDescriptor::Write()’:
ed.cpp:2005:6: warning: function might be candidate for attribute ‘noreturn’ [-Wsuggest-attribute=noreturn]
void InotifyDescriptor::Write()
^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-self-assign" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-parentheses-equality" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-constant-logical-operand" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
compiling em.cpp
cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-int’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from project.h:148:0,
from em.cpp:23:
binder.h:35:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long GetBinding() {return Binding;}
^
In file included from project.h:149:0,
from em.cpp:23:
em.h:87:47: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long InstallOneshotTimer (int);
^
em.h:88:76: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long ConnectToServer (const char *, int, const char *, int);
^
em.h:89:56: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long ConnectToUnixServer (const char *);
^
em.h:91:57: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long CreateTcpServer (const char *, int);
^
em.h:92:60: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long OpenDatagramSocket (const char *, int);
^
em.h:93:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long CreateUnixDomainServer (const char*);
^
em.h:94:36: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long OpenKeyboard();
^
em.h:96:47: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long Socketpair (char* const*);
^
em.h:102:42: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long AttachFD (int, bool);
^
em.h:104:42: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long AttachServerFD (int);
^
em.h:120:45: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long WatchFile (const char*);
^
em.h:129:36: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long WatchPid (int);
^
In file included from project.h:153:0,
from em.cpp:23:
eventmachine.h:47:61: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_install_oneshot_timer (int seconds);
^
eventmachine.h:48:112: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_connect_to_server (const char *bind_addr, int bind_port, const char *server, int port);
^
eventmachine.h:49:69: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_connect_to_unix_server (const char *server);
^
eventmachine.h:51:73: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_attach_fd (int file_descriptor, int watch_mode);
^
eventmachine.h:53:64: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_attach_server_fd (int file_descriptor);
^
eventmachine.h:68:75: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_create_tcp_server (const char *address, int port);
^
eventmachine.h:69:74: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_create_unix_domain_server (const char *filename);
^
eventmachine.h:70:77: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_open_datagram_socket (const char *server, int port);
^
eventmachine.h:71:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_open_keyboard();
^
In file included from project.h:153:0,
from em.cpp:23:
eventmachine.h:104:58: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_popen (char * const*cmd_strings);
^
eventmachine.h:106:60: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_watch_filename (const char *fname);
^
eventmachine.h:109:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long evma_watch_pid (int);
^
In file included from project.h:149:0,
from em.cpp:23:
em.h: In constructor ‘EventMachine_t::EventMachine_t(EMCallback)’:
em.h:196:7: warning: ‘EventMachine_t::LoopBreakerWriter’ will be initialized after [-Wreorder]
int LoopBreakerWriter;
^
em.h:172:13: warning: ‘int EventMachine_t::NumCloseScheduled’ [-Wreorder]
int NumCloseScheduled;
^
em.cpp:31:1: warning: when initialized here [-Wreorder]
EventMachine_t::EventMachine_t (EMCallback event_callback):
^
em.cpp: In member function ‘bool EventMachine_t::_RunEpollOnce()’:
em.cpp:551:37: error: ‘rb_thread_select’ was not declared in this scope
EmSelect (0, NULL, NULL, NULL, &tv);
^
em.cpp: In member function ‘int SelectData_t::_Select()’:
em.cpp:810:67: error: ‘rb_thread_select’ was not declared in this scope
return EmSelect (maxsocket+1, &fdreads, &fdwrites, &fderrors, &tv);
^
em.cpp: In member function ‘bool EventMachine_t::_RunSelectOnce()’:
em.cpp:949:40: error: ‘rb_thread_select’ was not declared in this scope
EmSelect (0, NULL, NULL, NULL, &tv);
^
em.cpp: At global scope:
em.cpp:1032:74: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long EventMachine_t::InstallOneshotTimer (int milliseconds)
^
em.cpp:1051:120: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long EventMachine_t::ConnectToServer (const char *bind_addr, int bind_port, const char *server, int port)
^
em.cpp:1237:76: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long EventMachine_t::ConnectToUnixServer (const char *server)
^
em.cpp:1310:70: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long EventMachine_t::AttachFD (int fd, bool watch_mode)
^
em.cpp:1423:66: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long EventMachine_t::AttachServerFD (int sd_accept)
^
em.cpp:1552:82: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long EventMachine_t::CreateTcpServer (const char *server, int port)
^
em.cpp:1635:86: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long EventMachine_t::OpenDatagramSocket (const char *address, int port)
^
em.cpp:1902:81: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long EventMachine_t::CreateUnixDomainServer (const char *filename)
^
em.cpp:2028:73: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long EventMachine_t::Socketpair (char * const*cmd_strings)
^
em.cpp:2092:50: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long EventMachine_t::OpenKeyboard()
^
em.cpp:2116:54: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long EventMachine_t::WatchPid (int pid)
^
em.cpp:2188:65: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
const unsigned long EventMachine_t::WatchFile (const char *fpath)
^
In file included from project.h:50:0,
from em.cpp:23:
em.cpp: In member function ‘void EventMachine_t::_ReadInotifyEvents()’:
em.cpp:2292:44: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
assert(!(returned == 0 || returned == -1 && errno == EINVAL));
^
em.cpp: In member function ‘int SelectData_t::_Select()’:
em.cpp:812:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-self-assign" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-parentheses-equality" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-constant-logical-operand" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
make: *** [em.o] Error 1
make failed, exit code 2
Gem files will remain installed in /usr/local/lib/ruby/gems/2.6.0/gems/eventmachine-le-1.1.7 for inspection.
Results logged to /usr/local/lib/ruby/gems/2.6.0/extensions/x86_64-linux/2.6.0-static/eventmachine-le-1.1.7/gem_make.out