[rabbitmq-discuss] error building public umbrella

Rob Woolfson rob at bsdsoftware.co.il
Thu Jun 28 14:33:45 BST 2012


I followed the instructions doing make checkout followed by make all.

I get this error:
make -f all-packages.mk all-packages VERSION=0.0.0
make[1]: Entering directory
`/home/vish/javasource/rabbitmq/rabbitmq-public-umbrella'
cc -Wall -pedantic -std=c99 -O2 -shared -fpic -lev -lJudy  -o
hstcp/c_src/libhstcp.so hstcp/c_src/hstcp.c
hstcp/c_src/hstcp.c:22:18: error: Judy.h: No such file or directory
hstcp/c_src/hstcp.c:26:16: error: ev.h: No such file or directory
hstcp/c_src/hstcp.c:111: error: expected specifier-qualifier-list
before ‘ev_async’
hstcp/c_src/hstcp.c:130: error: expected specifier-qualifier-list
before ‘Pvoid_t’
hstcp/c_src/hstcp.c:131: warning: struct has no members
hstcp/c_src/hstcp.c:138: error: expected specifier-qualifier-list before ‘ev_io’
hstcp/c_src/hstcp.c:152: error: expected specifier-qualifier-list before ‘ev_io’
hstcp/c_src/hstcp.c: In function ‘await_non_null’:
hstcp/c_src/hstcp.c:301: error: ‘HstcpData’ has no member named ‘command_mutex’
hstcp/c_src/hstcp.c:303: error: ‘HstcpData’ has no member named ‘cond’
hstcp/c_src/hstcp.c:303: error: ‘HstcpData’ has no member named ‘command_mutex’
hstcp/c_src/hstcp.c:304: error: ‘HstcpData’ has no member named ‘command_mutex’
hstcp/c_src/hstcp.c: In function ‘command_enqueue_and_notify’:
hstcp/c_src/hstcp.c:374: error: ‘HstcpData’ has no member named ‘queue_mutex’
hstcp/c_src/hstcp.c:376: error: ‘Word_t’ undeclared (first use in this function)
hstcp/c_src/hstcp.c:376: error: (Each undeclared identifier is
reported only once
hstcp/c_src/hstcp.c:376: error: for each function it appears in.)
hstcp/c_src/hstcp.c:376: error: expected ‘;’ before ‘index’
hstcp/c_src/hstcp.c:378: warning: implicit declaration of function ‘JLL’
hstcp/c_src/hstcp.c:378: error: ‘HstcpData’ has no member named ‘command_queue’
hstcp/c_src/hstcp.c:380: error: lvalue required as left operand of assignment
hstcp/c_src/hstcp.c:382: warning: wrong type argument to increment
hstcp/c_src/hstcp.c:382: error: lvalue required as increment operand
hstcp/c_src/hstcp.c:383: warning: implicit declaration of function ‘JLI’
hstcp/c_src/hstcp.c:383: error: ‘HstcpData’ has no member named ‘command_queue’
hstcp/c_src/hstcp.c:385: error: ‘HstcpData’ has no member named ‘queue_mutex’
hstcp/c_src/hstcp.c:386: warning: implicit declaration of function
‘ev_async_send’
hstcp/c_src/hstcp.c:386: error: ‘HstcpData’ has no member named ‘async_watcher’
hstcp/c_src/hstcp.c: In function ‘command_dequeue’:
hstcp/c_src/hstcp.c:390: error: ‘HstcpData’ has no member named ‘queue_mutex’
hstcp/c_src/hstcp.c:392: error: ‘Word_t’ undeclared (first use in this function)
hstcp/c_src/hstcp.c:392: error: expected ‘;’ before ‘index’
hstcp/c_src/hstcp.c:394: warning: implicit declaration of function ‘JLF’
hstcp/c_src/hstcp.c:394: error: ‘HstcpData’ has no member named ‘command_queue’
hstcp/c_src/hstcp.c:398: warning: implicit declaration of function ‘JLD’
hstcp/c_src/hstcp.c:398: error: ‘HstcpData’ has no member named ‘command_queue’
hstcp/c_src/hstcp.c:402: error: ‘HstcpData’ has no member named ‘queue_mutex’
hstcp/c_src/hstcp.c: In function ‘async_socket_write’:
hstcp/c_src/hstcp.c:710: error: ‘HstcpData’ has no member named ‘sockets_mutex’
hstcp/c_src/hstcp.c:711: warning: implicit declaration of function ‘JLG’
hstcp/c_src/hstcp.c:711: error: ‘HstcpData’ has no member named ‘sockets’
hstcp/c_src/hstcp.c:716: error: ‘SocketEntry’ has no member named ‘pid’
hstcp/c_src/hstcp.c:717: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:718: error: ‘HstcpData’ has no member named ‘sockets_mutex’
hstcp/c_src/hstcp.c:719: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:722: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:724: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:729: error: ‘HstcpData’ has no member named ‘iov_max’
hstcp/c_src/hstcp.c:729: error: ‘HstcpData’ has no member named ‘iov_max’
hstcp/c_src/hstcp.c:737: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:745: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:762: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:763: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:795: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:824: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:832: error: ‘HstcpData’ has no member named ‘sockets_mutex’
hstcp/c_src/hstcp.c: In function ‘socket_write’:
hstcp/c_src/hstcp.c:852: error: ‘HstcpData’ has no member named ‘cond’
hstcp/c_src/hstcp.c:852: error: ‘HstcpData’ has no member named ‘command_mutex’
hstcp/c_src/hstcp.c: In function ‘socket_set_options’:
hstcp/c_src/hstcp.c:870: error: ‘HstcpData’ has no member named ‘sockets_mutex’
hstcp/c_src/hstcp.c:872: error: ‘HstcpData’ has no member named ‘sockets’
hstcp/c_src/hstcp.c:874: error: ‘SocketEntry’ has no member named ‘pid’
hstcp/c_src/hstcp.c:876: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:877: error: ‘HstcpData’ has no member named ‘sockets_mutex’
hstcp/c_src/hstcp.c:878: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:879: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:880: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:881: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:887: error: ‘HstcpData’ has no member named ‘sockets_mutex’
hstcp/c_src/hstcp.c: In function ‘check_watermarks’:
hstcp/c_src/hstcp.c:898: error: ‘HstcpData’ has no member named ‘sockets_mutex’
hstcp/c_src/hstcp.c:899: error: ‘HstcpData’ has no member named ‘sockets’
hstcp/c_src/hstcp.c:903: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:904: error: ‘HstcpData’ has no member named ‘sockets_mutex’
hstcp/c_src/hstcp.c:906: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:907: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:908: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:909: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:910: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:911: error: ‘SocketEntry’ has no member named ‘pid’
hstcp/c_src/hstcp.c:912: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:914: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:915: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:916: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:917: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:918: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:919: error: ‘SocketEntry’ has no member named ‘pid’
hstcp/c_src/hstcp.c:920: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:922: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:923: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:924: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:925: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:926: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:928: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:929: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:930: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:931: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:932: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:935: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:937: error: ‘HstcpData’ has no member named ‘sockets_mutex’
hstcp/c_src/hstcp.c: At top level:
hstcp/c_src/hstcp.c:941: error: expected ‘)’ before ‘ev_io’
hstcp/c_src/hstcp.c:942: error: expected ‘)’ before ‘ev_io’
hstcp/c_src/hstcp.c:943: error: expected ‘)’ before ‘ev_io’
hstcp/c_src/hstcp.c: In function ‘socket_entry_alloc’:
hstcp/c_src/hstcp.c:951: error: ‘SocketEntry’ has no member named ‘serial’
hstcp/c_src/hstcp.c:951: error: ‘HstcpData’ has no member named
‘socket_entry_serial’
hstcp/c_src/hstcp.c:953: error: ‘SocketEntry’ has no member named ‘pid’
hstcp/c_src/hstcp.c:955: error: ‘SocketEntry’ has no member named ‘watcher’
hstcp/c_src/hstcp.c:955: error: ‘ev_io’ undeclared (first use in this function)
hstcp/c_src/hstcp.c:955: error: expected expression before ‘)’ token
hstcp/c_src/hstcp.c:956: error: ‘SocketEntry’ has no member named ‘watcher’
hstcp/c_src/hstcp.c: In function ‘listen_socket_create’:
hstcp/c_src/hstcp.c:966: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:966: error: ‘Pvoid_t’ undeclared (first use in
this function)
hstcp/c_src/hstcp.c:967: warning: implicit declaration of function ‘ev_io_init’
hstcp/c_src/hstcp.c:967: error: ‘SocketEntry’ has no member named ‘watcher’
hstcp/c_src/hstcp.c:967: error: ‘hstcp_ev_listen_cb’ undeclared (first
use in this function)
hstcp/c_src/hstcp.c:967: error: ‘EV_READ’ undeclared (first use in
this function)
hstcp/c_src/hstcp.c:968: error: ‘SocketEntry’ has no member named ‘watcher’
hstcp/c_src/hstcp.c: In function ‘connected_socket_create’:
hstcp/c_src/hstcp.c:977: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:978: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:979: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:980: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:981: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:982: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:984: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:986: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:988: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:989: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:990: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:991: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:992: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:996: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:996: error: ‘ev_io’ undeclared (first use in this function)
hstcp/c_src/hstcp.c:996: error: expected expression before ‘)’ token
hstcp/c_src/hstcp.c:997: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:1000: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:1000: error: ‘hstcp_ev_socket_write_cb’ undeclared
(first use in this function)
hstcp/c_src/hstcp.c:1001: error: ‘EV_WRITE’ undeclared (first use in
this function)
hstcp/c_src/hstcp.c:1002: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:1005: error: ‘SocketEntry’ has no member named ‘watcher’
hstcp/c_src/hstcp.c:1005: error: ‘hstcp_ev_socket_read_cb’ undeclared
(first use in this function)
hstcp/c_src/hstcp.c:1005: error: ‘EV_READ’ undeclared (first use in
this function)
hstcp/c_src/hstcp.c:1006: error: ‘SocketEntry’ has no member named ‘watcher’
hstcp/c_src/hstcp.c: In function ‘socket_entry_destroy’:
hstcp/c_src/hstcp.c:1021: error: ‘HstcpData’ has no member named ‘sockets_mutex’
hstcp/c_src/hstcp.c:1022: error: ‘HstcpData’ has no member named ‘sockets’
hstcp/c_src/hstcp.c:1026: error: ‘SocketEntry’ has no member named ‘serial’
hstcp/c_src/hstcp.c:1026: error: ‘SocketEntry’ has no member named ‘serial’
hstcp/c_src/hstcp.c:1028: error: ‘Word_t’ undeclared (first use in
this function)
hstcp/c_src/hstcp.c:1028: error: expected ‘;’ before ‘freed’
hstcp/c_src/hstcp.c:1031: error: ‘HstcpData’ has no member named ‘sockets’
hstcp/c_src/hstcp.c:1033: warning: implicit declaration of function ‘ev_io_stop’
hstcp/c_src/hstcp.c:1033: error: ‘SocketEntry’ has no member named ‘watcher’
hstcp/c_src/hstcp.c:1034: error: ‘SocketEntry’ has no member named ‘watcher’
hstcp/c_src/hstcp.c:1040: error: expected ‘;’ before ‘index’
hstcp/c_src/hstcp.c:1042: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:1045: warning: implicit declaration of function ‘JLN’
hstcp/c_src/hstcp.c:1045: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:1047: warning: implicit declaration of function ‘JLFA’
hstcp/c_src/hstcp.c:1047: error: ‘freed’ undeclared (first use in this function)
hstcp/c_src/hstcp.c:1047: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:1048: error: ‘HstcpData’ has no member named ‘sockets_mutex’
hstcp/c_src/hstcp.c:1055: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:1056: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:1058: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:1059: error: ‘HstcpData’ has no member named ‘sockets_mutex’
hstcp/c_src/hstcp.c:1060: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:1061: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:1062: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:1063: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:1064: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:1065: error: ‘SocketEntry’ has no member named ‘socket’
hstcp/c_src/hstcp.c:1073: error: ‘HstcpData’ has no member named ‘sockets_mutex’
hstcp/c_src/hstcp.c: At top level:
hstcp/c_src/hstcp.c: At top level:
hstcp/c_src/hstcp.c:1078: error: expected ‘)’ before ‘ev_io’
hstcp/c_src/hstcp.c:1109: error: expected ‘)’ before ‘ev_io’
hstcp/c_src/hstcp.c:1217: error: expected ‘)’ before ‘ev_io’
hstcp/c_src/hstcp.c:1286: error: expected ‘)’ before ‘ev_async’
hstcp/c_src/hstcp.c: In function ‘hstcp_ev_start’:
hstcp/c_src/hstcp.c:1582: error: ‘HstcpData’ has no member named ‘command_mutex’
hstcp/c_src/hstcp.c:1584: warning: implicit declaration of function
‘ev_loop_new’
hstcp/c_src/hstcp.c:1584: warning: assignment makes pointer from
integer without a cast
hstcp/c_src/hstcp.c:1588: error: ‘HstcpData’ has no member named ‘async_watcher’
hstcp/c_src/hstcp.c:1588: error: ‘ev_async’ undeclared (first use in
this function)
hstcp/c_src/hstcp.c:1588: error: expected expression before ‘)’ token
hstcp/c_src/hstcp.c:1589: error: ‘HstcpData’ has no member named ‘async_watcher’
hstcp/c_src/hstcp.c:1592: warning: implicit declaration of function
‘ev_async_init’
hstcp/c_src/hstcp.c:1592: error: ‘HstcpData’ has no member named ‘async_watcher’
hstcp/c_src/hstcp.c:1592: error: ‘hstcp_ev_async_cb’ undeclared (first
use in this function)
hstcp/c_src/hstcp.c:1593: error: ‘HstcpData’ has no member named ‘async_watcher’
hstcp/c_src/hstcp.c:1594: warning: implicit declaration of function
‘ev_async_start’
hstcp/c_src/hstcp.c:1594: error: ‘HstcpData’ has no member named ‘async_watcher’
hstcp/c_src/hstcp.c:1596: error: ‘HstcpData’ has no member named ‘cond’
hstcp/c_src/hstcp.c:1597: error: ‘HstcpData’ has no member named ‘command_mutex’
hstcp/c_src/hstcp.c:1599: warning: implicit declaration of function ‘ev_loop’
hstcp/c_src/hstcp.c: In function ‘hstcp_start’:
hstcp/c_src/hstcp.c:1776: error: ‘HstcpData’ has no member named ‘command_mutex’
hstcp/c_src/hstcp.c:1777: error: ‘HstcpData’ has no member named ‘command_mutex’
hstcp/c_src/hstcp.c:1779: error: ‘HstcpData’ has no member named ‘queue_mutex’
hstcp/c_src/hstcp.c:1780: error: ‘HstcpData’ has no member named ‘queue_mutex’
hstcp/c_src/hstcp.c:1782: error: ‘HstcpData’ has no member named ‘command_queue’
hstcp/c_src/hstcp.c:1782: error: ‘Pvoid_t’ undeclared (first use in
this function)
hstcp/c_src/hstcp.c:1784: error: ‘HstcpData’ has no member named ‘cond’
hstcp/c_src/hstcp.c:1785: error: ‘HstcpData’ has no member named ‘cond’
hstcp/c_src/hstcp.c:1788: error: ‘HstcpData’ has no member named ‘sockets’
hstcp/c_src/hstcp.c:1789: error: ‘HstcpData’ has no member named ‘sockets_mutex’
hstcp/c_src/hstcp.c:1790: error: ‘HstcpData’ has no member named ‘sockets_mutex’
hstcp/c_src/hstcp.c:1793: error: ‘HstcpData’ has no member named ‘iov_max’
hstcp/c_src/hstcp.c:1795: error: ‘HstcpData’ has no member named ‘iov_max’
hstcp/c_src/hstcp.c:1799: error: ‘HstcpData’ has no member named ‘iov_max’
hstcp/c_src/hstcp.c:1799: error: ‘HstcpData’ has no member named ‘iov_max’
hstcp/c_src/hstcp.c:1799: error: ‘HstcpData’ has no member named ‘iov_max’
hstcp/c_src/hstcp.c:1801: error: ‘HstcpData’ has no member named
‘socket_entry_serial’
hstcp/c_src/hstcp.c: In function ‘hstcp_stop’:
hstcp/c_src/hstcp.c:1834: error: ‘HstcpData’ has no member named ‘async_watcher’
hstcp/c_src/hstcp.c:1836: error: ‘HstcpData’ has no member named ‘command_mutex’
hstcp/c_src/hstcp.c:1837: error: ‘HstcpData’ has no member named ‘queue_mutex’
hstcp/c_src/hstcp.c:1838: error: ‘HstcpData’ has no member named ‘cond’
hstcp/c_src/hstcp.c:1840: error: ‘HstcpData’ has no member named ‘sockets_mutex’
hstcp/c_src/hstcp.c:1841: error: ‘Word_t’ undeclared (first use in
this function)
hstcp/c_src/hstcp.c:1841: error: expected ‘;’ before ‘freed’
hstcp/c_src/hstcp.c:1842: error: ‘freed’ undeclared (first use in this function)
hstcp/c_src/hstcp.c:1842: error: ‘HstcpData’ has no member named ‘sockets’
hstcp/c_src/hstcp.c:1843: error: ‘HstcpData’ has no member named ‘command_queue’
make[1]: *** [hstcp/c_src/libhstcp.so] Error 1
make[1]: Leaving directory
`/home/vish/javasource/rabbitmq/rabbitmq-public-umbrella'
make: *** [all] Error 2


what have I dont wrong?

-- 
Rob


More information about the rabbitmq-discuss mailing list