Guest User

Untitled

a guest
Apr 25th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.63 KB | None | 0 0
  1. [/home/ricky/io]$ make Socket
  2. ./_build/binaries/io_static build.io -a Socket
  3. --- Socket --------------------------------------------------------------------
  4. In file included from source/IoEventManager.h:13,
  5. from source/IoEventManager.c:9:
  6. source/IoEvent.h:17:19: error: event.h: No such file or directory
  7. In file included from source/IoEventManager.c:9:
  8. source/IoEventManager.h:16:20: error: evhttp.h: No such file or directory
  9. source/IoEventManager.c: In function ‘IoEventManager_proto’:
  10. source/IoEventManager.c:93: warning: implicit declaration of function ‘event_init’
  11. source/IoEventManager.c:93: warning: assignment makes pointer from integer without a cast
  12. source/IoEventManager.c:95: warning: implicit declaration of function ‘evhttp_new’
  13. source/IoEventManager.c:95: warning: assignment makes pointer from integer without a cast
  14. source/IoEventManager.c: In function ‘IoEventManager_free’:
  15. source/IoEventManager.c:133: warning: implicit declaration of function ‘evhttp_free’
  16. source/IoEventManager.c: In function ‘IoEventManager_rawRemoveEvent_’:
  17. source/IoEventManager.c:178: warning: implicit declaration of function ‘event_del’
  18. source/IoEventManager.c: In function ‘IoEvent_handleEvent’:
  19. source/IoEventManager.c:229: error: ‘EV_TIMEOUT’ undeclared (first use in this function)
  20. source/IoEventManager.c:229: error: (Each undeclared identifier is reported only once
  21. source/IoEventManager.c:229: error: for each function it appears in.)
  22. source/IoEventManager.c: In function ‘IoEventManager_addEvent’:
  23. source/IoEventManager.c:278: warning: implicit declaration of function ‘event_set’
  24. source/IoEventManager.c:279: warning: implicit declaration of function ‘event_base_set’
  25. source/IoEventManager.c:283: warning: implicit declaration of function ‘event_add’
  26. source/IoEventManager.c: In function ‘IoEventManager_listen’:
  27. source/IoEventManager.c:318: warning: implicit declaration of function ‘event_loopexit’
  28. source/IoEventManager.c:319: warning: implicit declaration of function ‘event_base_loop’
  29. source/IoEventManager.c:319: error: ‘EVLOOP_NONBLOCK’ undeclared (first use in this function)
  30. source/IoEventManager.c: In function ‘IoEventManager_listenUntilEvent’:
  31. source/IoEventManager.c:332: error: ‘EVLOOP_ONCE’ undeclared (first use in this function)
  32. ^^^^^^^^^^ error from command below ^^^^^^^^^^^^^
  33. cc -Os -g -Wall -pipe -fno-strict-aliasing -DSANE_POPEN -DIOBINDINGS -I../../libs/basekit/_build/headers -I../../libs/iovm/_build/headers -I../../libs/garbagecollector/_build/headers -I../../libs/coroutine/_build/headers -I/usr/local/include -I/usr/include -I. -fPIC -c -o _build/objs/IoEventManager.o source/IoEventManager.c
  34.  
  35.  
  36. In file included from source/IoEvConnection.c:6:
  37. source/IoEvConnection.h:17:19: error: event.h: No such file or directory
  38. source/IoEvConnection.h:18:20: error: evhttp.h: No such file or directory
  39. source/IoEvConnection.c: In function ‘IoEvConnection_free’:
  40. source/IoEvConnection.c:66: warning: implicit declaration of function ‘evhttp_connection_free’
  41. source/IoEvConnection.c: In function ‘IoEvConnection_setTimeout_’:
  42. source/IoEvConnection.c:79: warning: implicit declaration of function ‘evhttp_connection_set_timeout’
  43. source/IoEvConnection.c: In function ‘IoEvConnection_setRetries_’:
  44. source/IoEvConnection.c:86: warning: implicit declaration of function ‘evhttp_connection_set_retries’
  45. source/IoEvConnection.c: In function ‘IoEvConnection_setLocalAddress_’:
  46. source/IoEvConnection.c:93: warning: implicit declaration of function ‘evhttp_connection_set_local_address’
  47. source/IoEvConnection.c: In function ‘IoEvConnection_connect’:
  48. source/IoEvConnection.c:116: warning: implicit declaration of function ‘evhttp_connection_new’
  49. source/IoEvConnection.c:117: warning: implicit declaration of function ‘evhttp_connection_set_base’
  50. source/IoEvConnection.c:118: warning: implicit declaration of function ‘evhttp_connection_set_closecb’
  51. ^^^^^^^^^^ error from command below ^^^^^^^^^^^^^
  52. cc -Os -g -Wall -pipe -fno-strict-aliasing -DSANE_POPEN -DIOBINDINGS -I../../libs/basekit/_build/headers -I../../libs/iovm/_build/headers -I../../libs/garbagecollector/_build/headers -I../../libs/coroutine/_build/headers -I/usr/local/include -I/usr/include -I. -fPIC -c -o _build/objs/IoEvConnection.o source/IoEvConnection.c
  53.  
  54.  
  55. In file included from source/IoEvent.c:6:
  56. source/IoEvent.h:17:19: error: event.h: No such file or directory
  57. source/IoEvent.c: In function ‘IoEvent_proto’:
  58. source/IoEvent.c:39: error: invalid application of ‘sizeof’ to incomplete type ‘struct event’
  59. source/IoEvent.c:53: error: ‘EV_READ’ undeclared (first use in this function)
  60. source/IoEvent.c:53: error: (Each undeclared identifier is reported only once
  61. source/IoEvent.c:53: error: for each function it appears in.)
  62. source/IoEvent.c:54: error: ‘EV_WRITE’ undeclared (first use in this function)
  63. source/IoEvent.c:55: error: ‘EV_SIGNAL’ undeclared (first use in this function)
  64. source/IoEvent.c: In function ‘IoEvent_rawClone’:
  65. source/IoEvent.c:65: error: invalid application of ‘sizeof’ to incomplete type ‘struct event’
  66. In file included from source/IoEvent.c:75:
  67. source/IoEventManager.h:16:20: error: evhttp.h: No such file or directory
  68. source/IoEvent.c: In function ‘IoEvent_free’:
  69. source/IoEvent.c:89: warning: implicit declaration of function ‘event_initialized’
  70. source/IoEvent.c:89: warning: implicit declaration of function ‘event_pending’
  71. source/IoEvent.c:92: warning: implicit declaration of function ‘event_del’
  72. source/IoEvent.c: In function ‘IoEvent_isValid’:
  73. source/IoEvent.c:127: error: dereferencing pointer to incomplete type
  74. ^^^^^^^^^^ error from command below ^^^^^^^^^^^^^
  75. cc -Os -g -Wall -pipe -fno-strict-aliasing -DSANE_POPEN -DIOBINDINGS -I../../libs/basekit/_build/headers -I../../libs/iovm/_build/headers -I../../libs/garbagecollector/_build/headers -I../../libs/coroutine/_build/headers -I/usr/local/include -I/usr/include -I. -fPIC -c -o _build/objs/IoEvent.o source/IoEvent.c
  76.  
  77.  
  78. In file included from source/IoEvRequest.c:6:
  79. source/IoEvRequest.h:17:19: error: event.h: No such file or directory
  80. source/IoEvRequest.h:18:20: error: evhttp.h: No such file or directory
  81. source/IoEvRequest.c:75: warning: ‘struct evhttp_request’ declared inside parameter list
  82. source/IoEvRequest.c:75: warning: its scope is only this definition or declaration, which is probably not what you want
  83. source/IoEvRequest.c: In function ‘IoEvRequest_RequestDoneCallback’:
  84. source/IoEvRequest.c:104: error: dereferencing pointer to incomplete type
  85. source/IoEvRequest.c:105: error: dereferencing pointer to incomplete type
  86. source/IoEvRequest.c:110: error: dereferencing pointer to incomplete type
  87. source/IoEvRequest.c:110: error: dereferencing pointer to incomplete type
  88. source/IoEvRequest.c:112: error: dereferencing pointer to incomplete type
  89. source/IoEvRequest.c:116: warning: implicit declaration of function ‘evhttp_find_header’
  90. source/IoEvRequest.c:116: warning: initialization makes pointer from integer without a cast
  91. source/IoEvRequest.c: In function ‘IoEvRequest_send’:
  92. source/IoEvRequest.c:147: error: ‘EVHTTP_REQ_GET’ undeclared (first use in this function)
  93. source/IoEvRequest.c:147: error: (Each undeclared identifier is reported only once
  94. source/IoEvRequest.c:147: error: for each function it appears in.)
  95. source/IoEvRequest.c:152: error: ‘EVHTTP_REQ_POST’ undeclared (first use in this function)
  96. source/IoEvRequest.c:153: warning: implicit declaration of function ‘evbuffer_add_printf’
  97. source/IoEvRequest.c:153: error: dereferencing pointer to incomplete type
  98. source/IoEvRequest.c:160: warning: implicit declaration of function ‘evhttp_request_new’
  99. source/IoEvRequest.c:164: warning: implicit declaration of function ‘evhttp_add_header’
  100. source/IoEvRequest.c:164: error: dereferencing pointer to incomplete type
  101. source/IoEvRequest.c:171: warning: implicit declaration of function ‘evhttp_make_request’
  102. source/IoEvRequest.c: In function ‘IoEvRequest_encodeUri’:
  103. source/IoEvRequest.c:187: warning: implicit declaration of function ‘evhttp_encode_uri’
  104. source/IoEvRequest.c:187: warning: passing argument 2 of ‘IoSeq_newWithCString_’ makes pointer from integer without a cast
  105. ../../libs/iovm/_build/headers/IoSeq.h:63: note: expected ‘const char *’ but argument is of type ‘int’
  106. source/IoEvRequest.c: In function ‘IoEvRequest_decodeUri’:
  107. source/IoEvRequest.c:193: warning: implicit declaration of function ‘evhttp_decode_uri’
  108. source/IoEvRequest.c:193: warning: passing argument 2 of ‘IoSeq_newWithCString_’ makes pointer from integer without a cast
  109. ../../libs/iovm/_build/headers/IoSeq.h:63: note: expected ‘const char *’ but argument is of type ‘int’
  110. source/IoEvRequest.c: In function ‘IoEvRequest_htmlEscape’:
  111. source/IoEvRequest.c:199: warning: implicit declaration of function ‘evhttp_htmlescape’
  112. source/IoEvRequest.c:199: warning: passing argument 2 of ‘IoSeq_newWithCString_’ makes pointer from integer without a cast
  113. ../../libs/iovm/_build/headers/IoSeq.h:63: note: expected ‘const char *’ but argument is of type ‘int’
  114. ^^^^^^^^^^ error from command below ^^^^^^^^^^^^^
  115. cc -Os -g -Wall -pipe -fno-strict-aliasing -DSANE_POPEN -DIOBINDINGS -I../../libs/basekit/_build/headers -I../../libs/iovm/_build/headers -I../../libs/garbagecollector/_build/headers -I../../libs/coroutine/_build/headers -I/usr/local/include -I/usr/include -I. -fPIC -c -o _build/objs/IoEvRequest.o source/IoEvRequest.c
  116.  
  117.  
  118. /usr/bin/ld: cannot find -levent
  119. collect2: ld returned 1 exit status
  120. ^^^^^^^^^^ error from command below ^^^^^^^^^^^^^
  121. cc -shared -o _build/dll/libIoSocket.so _build/objs/*.o -L/usr/local/lib -L/usr/lib -levent -L../../_build/dll -liovmall
  122.  
  123.  
  124.  
  125. [/home/ricky/io]$
Add Comment
Please, Sign In to add comment