Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [/home/ricky/io]$ make Socket
- ./_build/binaries/io_static build.io -a Socket
- --- Socket --------------------------------------------------------------------
- In file included from source/IoEventManager.h:13,
- from source/IoEventManager.c:9:
- source/IoEvent.h:17:19: error: event.h: No such file or directory
- In file included from source/IoEventManager.c:9:
- source/IoEventManager.h:16:20: error: evhttp.h: No such file or directory
- source/IoEventManager.c: In function ‘IoEventManager_proto’:
- source/IoEventManager.c:93: warning: implicit declaration of function ‘event_init’
- source/IoEventManager.c:93: warning: assignment makes pointer from integer without a cast
- source/IoEventManager.c:95: warning: implicit declaration of function ‘evhttp_new’
- source/IoEventManager.c:95: warning: assignment makes pointer from integer without a cast
- source/IoEventManager.c: In function ‘IoEventManager_free’:
- source/IoEventManager.c:133: warning: implicit declaration of function ‘evhttp_free’
- source/IoEventManager.c: In function ‘IoEventManager_rawRemoveEvent_’:
- source/IoEventManager.c:178: warning: implicit declaration of function ‘event_del’
- source/IoEventManager.c: In function ‘IoEvent_handleEvent’:
- source/IoEventManager.c:229: error: ‘EV_TIMEOUT’ undeclared (first use in this function)
- source/IoEventManager.c:229: error: (Each undeclared identifier is reported only once
- source/IoEventManager.c:229: error: for each function it appears in.)
- source/IoEventManager.c: In function ‘IoEventManager_addEvent’:
- source/IoEventManager.c:278: warning: implicit declaration of function ‘event_set’
- source/IoEventManager.c:279: warning: implicit declaration of function ‘event_base_set’
- source/IoEventManager.c:283: warning: implicit declaration of function ‘event_add’
- source/IoEventManager.c: In function ‘IoEventManager_listen’:
- source/IoEventManager.c:318: warning: implicit declaration of function ‘event_loopexit’
- source/IoEventManager.c:319: warning: implicit declaration of function ‘event_base_loop’
- source/IoEventManager.c:319: error: ‘EVLOOP_NONBLOCK’ undeclared (first use in this function)
- source/IoEventManager.c: In function ‘IoEventManager_listenUntilEvent’:
- source/IoEventManager.c:332: error: ‘EVLOOP_ONCE’ undeclared (first use in this function)
- ^^^^^^^^^^ error from command below ^^^^^^^^^^^^^
- 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
- In file included from source/IoEvConnection.c:6:
- source/IoEvConnection.h:17:19: error: event.h: No such file or directory
- source/IoEvConnection.h:18:20: error: evhttp.h: No such file or directory
- source/IoEvConnection.c: In function ‘IoEvConnection_free’:
- source/IoEvConnection.c:66: warning: implicit declaration of function ‘evhttp_connection_free’
- source/IoEvConnection.c: In function ‘IoEvConnection_setTimeout_’:
- source/IoEvConnection.c:79: warning: implicit declaration of function ‘evhttp_connection_set_timeout’
- source/IoEvConnection.c: In function ‘IoEvConnection_setRetries_’:
- source/IoEvConnection.c:86: warning: implicit declaration of function ‘evhttp_connection_set_retries’
- source/IoEvConnection.c: In function ‘IoEvConnection_setLocalAddress_’:
- source/IoEvConnection.c:93: warning: implicit declaration of function ‘evhttp_connection_set_local_address’
- source/IoEvConnection.c: In function ‘IoEvConnection_connect’:
- source/IoEvConnection.c:116: warning: implicit declaration of function ‘evhttp_connection_new’
- source/IoEvConnection.c:117: warning: implicit declaration of function ‘evhttp_connection_set_base’
- source/IoEvConnection.c:118: warning: implicit declaration of function ‘evhttp_connection_set_closecb’
- ^^^^^^^^^^ error from command below ^^^^^^^^^^^^^
- 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
- In file included from source/IoEvent.c:6:
- source/IoEvent.h:17:19: error: event.h: No such file or directory
- source/IoEvent.c: In function ‘IoEvent_proto’:
- source/IoEvent.c:39: error: invalid application of ‘sizeof’ to incomplete type ‘struct event’
- source/IoEvent.c:53: error: ‘EV_READ’ undeclared (first use in this function)
- source/IoEvent.c:53: error: (Each undeclared identifier is reported only once
- source/IoEvent.c:53: error: for each function it appears in.)
- source/IoEvent.c:54: error: ‘EV_WRITE’ undeclared (first use in this function)
- source/IoEvent.c:55: error: ‘EV_SIGNAL’ undeclared (first use in this function)
- source/IoEvent.c: In function ‘IoEvent_rawClone’:
- source/IoEvent.c:65: error: invalid application of ‘sizeof’ to incomplete type ‘struct event’
- In file included from source/IoEvent.c:75:
- source/IoEventManager.h:16:20: error: evhttp.h: No such file or directory
- source/IoEvent.c: In function ‘IoEvent_free’:
- source/IoEvent.c:89: warning: implicit declaration of function ‘event_initialized’
- source/IoEvent.c:89: warning: implicit declaration of function ‘event_pending’
- source/IoEvent.c:92: warning: implicit declaration of function ‘event_del’
- source/IoEvent.c: In function ‘IoEvent_isValid’:
- source/IoEvent.c:127: error: dereferencing pointer to incomplete type
- ^^^^^^^^^^ error from command below ^^^^^^^^^^^^^
- 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
- In file included from source/IoEvRequest.c:6:
- source/IoEvRequest.h:17:19: error: event.h: No such file or directory
- source/IoEvRequest.h:18:20: error: evhttp.h: No such file or directory
- source/IoEvRequest.c:75: warning: ‘struct evhttp_request’ declared inside parameter list
- source/IoEvRequest.c:75: warning: its scope is only this definition or declaration, which is probably not what you want
- source/IoEvRequest.c: In function ‘IoEvRequest_RequestDoneCallback’:
- source/IoEvRequest.c:104: error: dereferencing pointer to incomplete type
- source/IoEvRequest.c:105: error: dereferencing pointer to incomplete type
- source/IoEvRequest.c:110: error: dereferencing pointer to incomplete type
- source/IoEvRequest.c:110: error: dereferencing pointer to incomplete type
- source/IoEvRequest.c:112: error: dereferencing pointer to incomplete type
- source/IoEvRequest.c:116: warning: implicit declaration of function ‘evhttp_find_header’
- source/IoEvRequest.c:116: warning: initialization makes pointer from integer without a cast
- source/IoEvRequest.c: In function ‘IoEvRequest_send’:
- source/IoEvRequest.c:147: error: ‘EVHTTP_REQ_GET’ undeclared (first use in this function)
- source/IoEvRequest.c:147: error: (Each undeclared identifier is reported only once
- source/IoEvRequest.c:147: error: for each function it appears in.)
- source/IoEvRequest.c:152: error: ‘EVHTTP_REQ_POST’ undeclared (first use in this function)
- source/IoEvRequest.c:153: warning: implicit declaration of function ‘evbuffer_add_printf’
- source/IoEvRequest.c:153: error: dereferencing pointer to incomplete type
- source/IoEvRequest.c:160: warning: implicit declaration of function ‘evhttp_request_new’
- source/IoEvRequest.c:164: warning: implicit declaration of function ‘evhttp_add_header’
- source/IoEvRequest.c:164: error: dereferencing pointer to incomplete type
- source/IoEvRequest.c:171: warning: implicit declaration of function ‘evhttp_make_request’
- source/IoEvRequest.c: In function ‘IoEvRequest_encodeUri’:
- source/IoEvRequest.c:187: warning: implicit declaration of function ‘evhttp_encode_uri’
- source/IoEvRequest.c:187: warning: passing argument 2 of ‘IoSeq_newWithCString_’ makes pointer from integer without a cast
- ../../libs/iovm/_build/headers/IoSeq.h:63: note: expected ‘const char *’ but argument is of type ‘int’
- source/IoEvRequest.c: In function ‘IoEvRequest_decodeUri’:
- source/IoEvRequest.c:193: warning: implicit declaration of function ‘evhttp_decode_uri’
- source/IoEvRequest.c:193: warning: passing argument 2 of ‘IoSeq_newWithCString_’ makes pointer from integer without a cast
- ../../libs/iovm/_build/headers/IoSeq.h:63: note: expected ‘const char *’ but argument is of type ‘int’
- source/IoEvRequest.c: In function ‘IoEvRequest_htmlEscape’:
- source/IoEvRequest.c:199: warning: implicit declaration of function ‘evhttp_htmlescape’
- source/IoEvRequest.c:199: warning: passing argument 2 of ‘IoSeq_newWithCString_’ makes pointer from integer without a cast
- ../../libs/iovm/_build/headers/IoSeq.h:63: note: expected ‘const char *’ but argument is of type ‘int’
- ^^^^^^^^^^ error from command below ^^^^^^^^^^^^^
- 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
- /usr/bin/ld: cannot find -levent
- collect2: ld returned 1 exit status
- ^^^^^^^^^^ error from command below ^^^^^^^^^^^^^
- cc -shared -o _build/dll/libIoSocket.so _build/objs/*.o -L/usr/local/lib -L/usr/lib -levent -L../../_build/dll -liovmall
- [/home/ricky/io]$
Add Comment
Please, Sign In to add comment