zippy / ceptr

(a recomposable medium for distributed social computing) || (semantic self-describing protocol stacks)
http://ceptr.org
GNU General Public License v3.0
89 stars 17 forks source link

mac build issues #20

Closed thosmos closed 9 years ago

thosmos commented 9 years ago

I attempted to get it building on a mac with this set of changes: https://github.com/thos37/ceptr/commit/ce84d6f6cb0c7212089f02b5055ba714d2db4f26

But I'm still getting this set of build issues:

➜ ceptr git:(master) make rm -rf ceptrspecs .o ceptr_spec.dSYM gcc -pthread -g -o ceptrspecs spec/.c src/.c In file included from spec/ceptr_specs.c:15: In file included from spec/tree_spec.h:9: spec/http_example.h:496:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ In file included from spec/ceptr_specs.c:21: spec/process_spec.h:292:5: warning: implicit declaration of function '_p_free_context' is invalid in C99 [-Wimplicit-function-declaration] _p_free_context(c); ^ In file included from spec/ceptr_specs.c:26: spec/profile_example.h:153:5: warning: implicit declaration of function '_visdump' is invalid in C99 [-Wimplicit-function-declaration] _visdump(&test_profile_defs,_t_child(r,1),pt); ^ 3 warnings generated. src/process.c:381:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/process.c:694:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] _p_free_elements(Qe e) { ^~~~ src/process.c:696:9: warning: implicit declaration of function '_p_free_context' is invalid in C99 [-Wimplicit-function-declaration] _p_free_context(e->context); ^ src/process.c:701:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/process.c:704:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] _p_free_context(R c) { ^~~~~~~ src/process.c:715:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/process.c:755:18: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void ' [-Wint-conversion] pthread_exit(err); ^~~ /usr/include/pthread.h:320:25: note: passing argument to parameter here void pthread_exit(void *) __dead2; ^ 7 warnings generated. src/receptor.c:457:13: warning: implicit declaration of function '_p_interpolate_from_match' is invalid in C99 [-Wimplicit-function-declaration] _p_interpolate_from_match(params,m,signal_contents); ^ 1 warning generated. ./ceptr_specs Running all tests...

..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Can't open output file test/test.instances!

make: *\ [specs] Interrupt: 2

thosmos commented 9 years ago

Oops, actually, after creating the test output folder, the tests showed that all tests passed:

Running all tests...

................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. All 561 specs pass