Skip to content

Instantly share code, notes, and snippets.

@chirino
Created February 5, 2014 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chirino/8823091 to your computer and use it in GitHub Desktop.
Save chirino/8823091 to your computer and use it in GitHub Desktop.
Proton build fails on OS X 10.9
[ 81%] Building C object proton-c/bindings/perl/CMakeFiles/cproton_perl.dir/perlPERL_wrap.c.o
In file included from /Users/chirino/sandbox/qpid-proton/proton-c/bindings/perl/perlPERL_wrap.c:1585:
In file included from /Users/chirino/sandbox/qpid-proton/proton-c/include/proton/engine.h:31:
In file included from /Users/chirino/sandbox/qpid-proton/proton-c/include/proton/codec.h:26:
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/object.h:74:11: error: unknown type name 'bool'
PN_EXTERN bool pn_equals(void *a, void *b);
^
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/object.h:85:11: error: unknown type name 'bool'
PN_EXTERN bool pn_list_remove(pn_list_t *list, void *value);
^
In file included from /Users/chirino/sandbox/qpid-proton/proton-c/bindings/perl/perlPERL_wrap.c:1585:
In file included from /Users/chirino/sandbox/qpid-proton/proton-c/include/proton/engine.h:31:
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/codec.h:74:5: error: unknown type name 'bool'
bool as_bool;
^
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/codec.h:111:11: error: unknown type name 'bool'
PN_EXTERN bool pn_data_next(pn_data_t *data);
^
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/codec.h:112:11: error: unknown type name 'bool'
PN_EXTERN bool pn_data_prev(pn_data_t *data);
^
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/codec.h:113:11: error: unknown type name 'bool'
PN_EXTERN bool pn_data_enter(pn_data_t *data);
^
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/codec.h:114:11: error: unknown type name 'bool'
PN_EXTERN bool pn_data_exit(pn_data_t *data);
^
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/codec.h:115:11: error: unknown type name 'bool'
PN_EXTERN bool pn_data_lookup(pn_data_t *data, const char *name);
^
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/codec.h:126:50: error: unknown type name 'bool'
PN_EXTERN int pn_data_put_array(pn_data_t *data, bool described, pn_type_t type);
^
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/codec.h:129:49: error: unknown type name 'bool'
PN_EXTERN int pn_data_put_bool(pn_data_t *data, bool b);
^
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/codec.h:154:11: error: unknown type name 'bool'
PN_EXTERN bool pn_data_is_array_described(pn_data_t *data);
^
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/codec.h:156:11: error: unknown type name 'bool'
PN_EXTERN bool pn_data_is_described(pn_data_t *data);
^
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/codec.h:157:11: error: unknown type name 'bool'
PN_EXTERN bool pn_data_is_null(pn_data_t *data);
^
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/codec.h:158:11: error: unknown type name 'bool'
PN_EXTERN bool pn_data_get_bool(pn_data_t *data);
^
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/codec.h:187:11: error: unknown type name 'bool'
PN_EXTERN bool pn_data_restore(pn_data_t *data, pn_handle_t point);
^
In file included from /Users/chirino/sandbox/qpid-proton/proton-c/bindings/perl/perlPERL_wrap.c:1585:
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/engine.h:455:11: error: unknown type name 'bool'
PN_EXTERN bool pn_transport_quiesced(pn_transport_t *transport);
^
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/engine.h:472:11: error: unknown type name 'bool'
PN_EXTERN bool pn_link_is_sender(pn_link_t *link);
^
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/engine.h:473:11: error: unknown type name 'bool'
PN_EXTERN bool pn_link_is_receiver(pn_link_t *link);
^
/Users/chirino/sandbox/qpid-proton/proton-c/include/proton/engine.h:482:11: error: unknown type name 'bool'
PN_EXTERN bool pn_link_advance(pn_link_t *link);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [proton-c/bindings/perl/CMakeFiles/cproton_perl.dir/perlPERL_wrap.c.o] Error 1
make[1]: *** [proton-c/bindings/perl/CMakeFiles/cproton_perl.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment