[openamq-dev] Ruby Wrapper for WireAPI

Carl Bourne cbourne at intellect.co.uk
Sun Apr 27 21:27:52 CEST 2008


Hi,

Does anybody have some instructions on building the Ruby Wrapper for WireAPI. I've tried on both MAC OSX and Linux (Ubuntu) but it fails on both with the following error:-

Best Regards,

Carl Bourne

cc -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -I/usr/local/OpenAMQ/include/  -g -fPIC -O2 -fno-strict-aliasing -pipe  -c amq_client.c
amq_client.c:31:17: error: asl.h: No such file or directory
amq_client.c:32:35: error: amq_client_connection.h: No such file or directory
amq_client.c:33:32: error: amq_client_session.h: No such file or directory
amq_client.c:34:30: error: amq_client_agent.h: No such file or directory
amq_client.c:35:26: error: amq_exchange.h: No such file or directory
In file included from amq_client.c:40:
amq_content.h: In function ‘cont_content_basic_destroy’:
amq_content.h:34: error: ‘amq_content_basic_t’ undeclared (first use in this function)
amq_content.h:34: error: (Each undeclared identifier is reported only once
amq_content.h:34: error: for each function it appears in.)
amq_content.h:34: error: ‘content’ undeclared (first use in this function)
amq_content.h:35: error: expected expression before ‘)’ token
amq_content.h: In function ‘cont_content_basic_set_message_id’:
amq_content.h:42: error: ‘amq_content_basic_t’ undeclared (first use in this function)
amq_content.h:42: error: ‘content’ undeclared (first use in this function)
amq_content.h:43: error: ‘icl_shortstr_t’ undeclared (first use in this function)
amq_content.h:43: error: expected ‘;’ before ‘message_id_t’
amq_content.h:44: error: expected expression before ‘)’ token
amq_content.h:47: error: ‘message_id_t’ undeclared (first use in this function)
amq_content.h: In function ‘cont_content_basic_set_body’:
amq_content.h:58: error: ‘amq_content_basic_t’ undeclared (first use in this function)
amq_content.h:58: error: ‘content’ undeclared (first use in this function)
amq_content.h:60: error: expected expression before ‘)’ token
amq_content.h: In function ‘cont_content_basic_get_body’:
amq_content.h:68: error: ‘amq_content_basic_t’ undeclared (first use in this function)
amq_content.h:68: error: ‘content’ undeclared (first use in this function)
amq_content.h:71: error: expected expression before ‘)’ token
In file included from amq_client.c:41:
amq_session.h: In function ‘ses_alive’:
amq_session.h:35: error: ‘amq_client_session_t’ undeclared (first use in this function)
amq_session.h:35: error: ‘session’ undeclared (first use in this function)
amq_session.h:36: error: expected expression before ‘)’ token
amq_session.h: In function ‘ses_error_text’:
amq_session.h:42: error: ‘amq_client_session_t’ undeclared (first use in this function)
amq_session.h:42: error: ‘session’ undeclared (first use in this function)
amq_session.h:43: error: expected expression before ‘)’ token
amq_session.h: In function ‘ses_reply_text’:
amq_session.h:49: error: ‘amq_client_session_t’ undeclared (first use in this function)
amq_session.h:49: error: ‘session’ undeclared (first use in this function)
amq_session.h:50: error: expected expression before ‘)’ token
amq_session.h: In function ‘ses_reply_code’:
amq_session.h:56: error: ‘amq_client_session_t’ undeclared (first use in this function)
amq_session.h:56: error: ‘session’ undeclared (first use in this function)
amq_session.h:57: error: expected expression before ‘)’ token
amq_session.h: In function ‘ses_queue’:
amq_session.h:63: error: ‘amq_client_session_t’ undeclared (first use in this function)
amq_session.h:63: error: ‘session’ undeclared (first use in this function)
amq_session.h:64: error: expected expression before ‘)’ token
amq_session.h: In function ‘ses_exchange’:
amq_session.h:70: error: ‘amq_client_session_t’ undeclared (first use in this function)
amq_session.h:70: error: ‘session’ undeclared (first use in this function)
amq_session.h:71: error: expected expression before ‘)’ token
amq_session.h: In function ‘ses_message_count’:
amq_session.h:77: error: ‘amq_client_session_t’ undeclared (first use in this function)
amq_session.h:77: error: ‘session’ undeclared (first use in this function)
amq_session.h:78: error: expected expression before ‘)’ token
amq_session.h: In function ‘ses_client_session_destroy’:
amq_session.h:84: error: ‘amq_client_session_t’ undeclared (first use in this function)
amq_session.h:84: error: ‘session’ undeclared (first use in this function)
amq_session.h:85: error: expected expression before ‘)’ token
amq_session.h: In function ‘ses_client_session_wait’:
amq_session.h:93: error: ‘amq_client_session_t’ undeclared (first use in this function)
amq_session.h:93: error: ‘session’ undeclared (first use in this function)
amq_session.h:94: error: expected expression before ‘)’ token
amq_session.h: In function ‘ses_client_session_exchange_declare’:
amq_session.h:116: error: ‘amq_client_session_t’ undeclared (first use in this function)
amq_session.h:116: error: ‘session’ undeclared (first use in this function)
amq_session.h:117: error: expected expression before ‘)’ token
amq_session.h: In function ‘ses_client_session_queue_declare’:
amq_session.h:131: error: ‘amq_client_session_t’ undeclared (first use in this function)
amq_session.h:131: error: ‘session’ undeclared (first use in this function)
amq_session.h:132: error: expected expression before ‘)’ token
amq_session.h: In function ‘ses_client_session_queue_bind’:
amq_session.h:143: error: ‘amq_client_session_t’ undeclared (first use in this function)
amq_session.h:143: error: ‘session’ undeclared (first use in this function)
amq_session.h:147: error: expected expression before ‘)’ token
amq_session.h: In function ‘ses_client_session_basic_consume’:
amq_session.h:161: error: ‘amq_client_session_t’ undeclared (first use in this function)
amq_session.h:161: error: ‘session’ undeclared (first use in this function)
amq_session.h:164: error: expected expression before ‘)’ token
amq_session.h: In function ‘ses_client_session_basic_publish’:
amq_session.h:179: error: ‘amq_client_session_t’ undeclared (first use in this function)
amq_session.h:179: error: ‘_session’ undeclared (first use in this function)
amq_session.h:180: error: ‘amq_content_basic_t’ undeclared (first use in this function)
amq_session.h:180: error: ‘_content’ undeclared (first use in this function)
amq_session.h:181: error: expected expression before ‘)’ token
amq_session.h:182: error: expected expression before ‘)’ token
amq_session.h: In function ‘ses_client_session_basic_arrived’:
amq_session.h:193: error: ‘amq_client_session_t’ undeclared (first use in this function)
amq_session.h:193: error: ‘session’ undeclared (first use in this function)
amq_session.h:194: error: ‘amq_content_basic_t’ undeclared (first use in this function)
amq_session.h:194: error: ‘content’ undeclared (first use in this function)
amq_session.h:195: error: expected expression before ‘)’ token
In file included from amq_client.c:42:
amq_connection.h: In function ‘con_client_connection_destroy’:
amq_connection.h:36: error: ‘amq_client_connection_t’ undeclared (first use in this function)
amq_connection.h:36: error: ‘connection’ undeclared (first use in this function)
amq_connection.h:37: error: expected expression before ‘)’ token
amq_connection.h: In function ‘con_alive’:
amq_connection.h:44: error: ‘amq_client_connection_t’ undeclared (first use in this function)
amq_connection.h:44: error: ‘connection’ undeclared (first use in this function)
amq_connection.h:45: error: expected expression before ‘)’ token
amq_connection.h: In function ‘con_silent’:
amq_connection.h:51: error: ‘amq_client_connection_t’ undeclared (first use in this function)
amq_connection.h:51: error: ‘connection’ undeclared (first use in this function)
amq_connection.h:52: error: expected expression before ‘)’ token
amq_connection.h: In function ‘con_error_text’:
amq_connection.h:58: error: ‘amq_client_connection_t’ undeclared (first use in this function)
amq_connection.h:58: error: ‘connection’ undeclared (first use in this function)
amq_connection.h:59: error: expected expression before ‘)’ token
amq_connection.h: In function ‘con_reply_text’:
amq_connection.h:65: error: ‘amq_client_connection_t’ undeclared (first use in this function)
amq_connection.h:65: error: ‘connection’ undeclared (first use in this function)
amq_connection.h:66: error: expected expression before ‘)’ token
amq_connection.h: In function ‘con_reply_code’:
amq_connection.h:72: error: ‘amq_client_connection_t’ undeclared (first use in this function)
amq_connection.h:72: error: ‘connection’ undeclared (first use in this function)
amq_connection.h:73: error: expected expression before ‘)’ token
amq_connection.h: In function ‘con_version_major’:
amq_connection.h:79: error: ‘amq_client_connection_t’ undeclared (first use in this function)
amq_connection.h:79: error: ‘connection’ undeclared (first use in this function)
amq_connection.h:80: error: expected expression before ‘)’ token
amq_connection.h: In function ‘con_version_minor’:
amq_connection.h:86: error: ‘amq_client_connection_t’ undeclared (first use in this function)
amq_connection.h:86: error: ‘connection’ undeclared (first use in this function)
amq_connection.h:87: error: expected expression before ‘)’ token
amq_connection.h: In function ‘con_server_product’:
amq_connection.h:93: error: ‘amq_client_connection_t’ undeclared (first use in this function)
amq_connection.h:93: error: ‘connection’ undeclared (first use in this function)
amq_connection.h:94: error: expected expression before ‘)’ token
amq_connection.h: In function ‘con_server_version’:
amq_connection.h:100: error: ‘amq_client_connection_t’ undeclared (first use in this function)
amq_connection.h:100: error: ‘connection’ undeclared (first use in this function)
amq_connection.h:101: error: expected expression before ‘)’ token
amq_connection.h: In function ‘con_server_platform’:
amq_connection.h:107: error: ‘amq_client_connection_t’ undeclared (first use in this function)
amq_connection.h:107: error: ‘connection’ undeclared (first use in this function)
amq_connection.h:108: error: expected expression before ‘)’ token
amq_connection.h: In function ‘con_server_copyright’:
amq_connection.h:114: error: ‘amq_client_connection_t’ undeclared (first use in this function)
amq_connection.h:114: error: ‘connection’ undeclared (first use in this function)
amq_connection.h:115: error: expected expression before ‘)’ token
amq_connection.h: In function ‘con_server_information’:
amq_connection.h:121: error: ‘amq_client_connection_t’ undeclared (first use in this function)
amq_connection.h:121: error: ‘connection’ undeclared (first use in this function)
amq_connection.h:122: error: expected expression before ‘)’ token
amq_connection.h: In function ‘con_client_session_new’:
amq_connection.h:128: error: ‘amq_client_connection_t’ undeclared (first use in this function)
amq_connection.h:128: error: ‘connection’ undeclared (first use in this function)
amq_connection.h:129: error: ‘amq_client_session_t’ undeclared (first use in this function)
amq_connection.h:129: error: ‘session’ undeclared (first use in this function)
amq_connection.h:132: error: expected expression before ‘)’ token
amq_client.c: In function ‘om_init’:
amq_client.c:54: error: ‘TRUE’ undeclared (first use in this function)
amq_client.c: In function ‘om_client_connection_auth_plain’:
amq_client.c:63: error: ‘icl_longstr_t’ undeclared (first use in this function)
amq_client.c:63: error: ‘auth_data’ undeclared (first use in this function)
amq_client.c: In function ‘om_client_connection_new’:
amq_client.c:96: error: ‘icl_longstr_t’ undeclared (first use in this function)
amq_client.c:96: error: ‘auth_data’ undeclared (first use in this function)
amq_client.c:97: error: ‘amq_client_connection_t’ undeclared (first use in this function)
amq_client.c:97: error: ‘connection’ undeclared (first use in this function)
amq_client.c:105: error: expected expression before ‘)’ token
amq_client.c: In function ‘om_content_basic_new’:
amq_client.c:118: error: ‘amq_content_basic_t’ undeclared (first use in this function)
amq_client.c:118: error: ‘content’ undeclared (first use in this function)
make: *** [amq_client.o] Error 1


More information about the openamq-dev mailing list