Created
January 24, 2015 09:09
-
-
Save kysnm/12cba0caf2b526a764da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% make | |
git submodule init | |
git submodule update | |
cd /tmp/src/trusterd/mruby && cp -f ../build_config.rb . && rake | |
GIT CHECKOUT master | |
Already on 'master' | |
Your branch is up-to-date with 'origin/master'. | |
GIT CHECKOUT master | |
Already on 'master' | |
Your branch is up-to-date with 'origin/master'. | |
GIT CHECKOUT master | |
Already on 'master' | |
Your branch is up-to-date with 'origin/master'. | |
GIT CHECKOUT master | |
Already on 'master' | |
Your branch is up-to-date with 'origin/master'. | |
GIT CHECKOUT master | |
Already on 'master' | |
Your branch is up-to-date with 'origin/master'. | |
GIT CHECKOUT master | |
Already on 'master' | |
Your branch is up-to-date with 'origin/master'. | |
GIT CHECKOUT master | |
Already on 'master' | |
Your branch is up-to-date with 'origin/master'. | |
GIT CHECKOUT master | |
Already on 'master' | |
Your branch is up-to-date with 'origin/master'. | |
CC src/array.c -> build/host/src/array.o | |
CC src/backtrace.c -> build/host/src/backtrace.o | |
CC src/class.c -> build/host/src/class.o | |
CC src/codegen.c -> build/host/src/codegen.o | |
CC src/compar.c -> build/host/src/compar.o | |
CC src/crc.c -> build/host/src/crc.o | |
CC src/debug.c -> build/host/src/debug.o | |
CC src/dump.c -> build/host/src/dump.o | |
CC src/enum.c -> build/host/src/enum.o | |
CC src/error.c -> build/host/src/error.o | |
CC src/etc.c -> build/host/src/etc.o | |
CC src/gc.c -> build/host/src/gc.o | |
CC src/hash.c -> build/host/src/hash.o | |
CC src/init.c -> build/host/src/init.o | |
CC src/kernel.c -> build/host/src/kernel.o | |
CC src/load.c -> build/host/src/load.o | |
CC src/numeric.c -> build/host/src/numeric.o | |
CC src/object.c -> build/host/src/object.o | |
CC src/pool.c -> build/host/src/pool.o | |
CC src/print.c -> build/host/src/print.o | |
CC src/proc.c -> build/host/src/proc.o | |
CC src/range.c -> build/host/src/range.o | |
CC src/state.c -> build/host/src/state.o | |
CC src/string.c -> build/host/src/string.o | |
CC src/symbol.c -> build/host/src/symbol.o | |
CC src/variable.c -> build/host/src/variable.o | |
CC src/version.c -> build/host/src/version.o | |
CC src/vm.c -> build/host/src/vm.o | |
CC tools/mrbc/mrbc.c -> build/host/tools/mrbc/mrbc.o | |
AR build/host/lib/libmruby_core.a | |
LD build/host/bin/mrbc | |
GEN *.rb -> build/host/mrblib/mrblib.c | |
MRBC mrblib/array.rb | |
MRBC mrblib/class.rb | |
MRBC mrblib/compar.rb | |
MRBC mrblib/enum.rb | |
MRBC mrblib/error.rb | |
MRBC mrblib/hash.rb | |
MRBC mrblib/kernel.rb | |
MRBC mrblib/numeric.rb | |
MRBC mrblib/range.rb | |
MRBC mrblib/string.rb | |
CC build/host/mrblib/mrblib.c -> build/host/mrblib/mrblib.o | |
MRBC build/mrbgems/mruby-simplehttp/mrblib/simplehttp.rb | |
CC build/host/mrbgems/mruby-simplehttp/gem_init.c -> build/host/mrbgems/mruby-simplehttp/gem_init.o | |
CC build/mrbgems/mruby-http2/src/mrb_http2.c -> build/host/mrbgems/mruby-http2/src/mrb_http2.o | |
CC build/mrbgems/mruby-http2/src/mrb_http2_client.c -> build/host/mrbgems/mruby-http2/src/mrb_http2_client.o | |
CC build/mrbgems/mruby-http2/src/mrb_http2_config.c -> build/host/mrbgems/mruby-http2/src/mrb_http2_config.o | |
/tmp/src/trusterd/mruby/build/mrbgems/mruby-http2/src/mrb_http2_config.c:39:18: warning: comparison of unsigned expression < 0 is | |
always false [-Wtautological-compare] | |
if (worker < 0 || worker > MRB_HTTP2_WORKER_MAX) { | |
~~~~~~ ^ ~ | |
1 warning generated. | |
CC build/mrbgems/mruby-http2/src/mrb_http2_gzip.c -> build/host/mrbgems/mruby-http2/src/mrb_http2_gzip.o | |
CC build/mrbgems/mruby-http2/src/mrb_http2_request.c -> build/host/mrbgems/mruby-http2/src/mrb_http2_request.o | |
CC build/mrbgems/mruby-http2/src/mrb_http2_server.c -> build/host/mrbgems/mruby-http2/src/mrb_http2_server.o | |
/tmp/src/trusterd/mruby/build/mrbgems/mruby-http2/src/mrb_http2_server.c:1131:7: warning: format specifies type 'long' but the | |
argument has type 'off_t' (aka 'long long') [-Wformat] | |
session_data->app_ctx->r->finfo->st_size); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' | |
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) | |
^ | |
/tmp/src/trusterd/mruby/build/mrbgems/mruby-http2/src/mrb_http2_server.c:1700:9: warning: 'daemon' is deprecated: first deprecated in | |
OS X 10.5 [-Wdeprecated-declarations] | |
if (daemon(0, 0) == -1) { | |
^ | |
/usr/include/stdlib.h:267:6: note: 'daemon' has been explicitly marked deprecated here | |
int daemon(int, int) __DARWIN_1050(daemon) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_5, __IPHONE_2_0, __IPHONE_2_0); | |
^ | |
2 warnings generated. | |
MRBC build/mrbgems/mruby-http2/mrblib/mrb_http2.rb | |
CC build/host/mrbgems/mruby-http2/gem_init.c -> build/host/mrbgems/mruby-http2/gem_init.o | |
CC build/mrbgems/mruby-io/src/file.c -> build/host/mrbgems/mruby-io/src/file.o | |
CC build/mrbgems/mruby-io/src/file_test.c -> build/host/mrbgems/mruby-io/src/file_test.o | |
CC build/mrbgems/mruby-io/src/io.c -> build/host/mrbgems/mruby-io/src/io.o | |
CC build/mrbgems/mruby-io/src/mruby_io_gem.c -> build/host/mrbgems/mruby-io/src/mruby_io_gem.o | |
MRBC build/mrbgems/mruby-io/mrblib/file.rb | |
MRBC build/mrbgems/mruby-io/mrblib/file_constants.rb | |
MRBC build/mrbgems/mruby-io/mrblib/io.rb | |
MRBC build/mrbgems/mruby-io/mrblib/kernel.rb | |
CC build/host/mrbgems/mruby-io/gem_init.c -> build/host/mrbgems/mruby-io/gem_init.o | |
CC build/mrbgems/mruby-dir/src/dir.c -> build/host/mrbgems/mruby-dir/src/dir.o | |
MRBC build/mrbgems/mruby-dir/mrblib/dir.rb | |
CC build/host/mrbgems/mruby-dir/gem_init.c -> build/host/mrbgems/mruby-dir/gem_init.o | |
CC build/mrbgems/mruby-socket/src/socket.c -> build/host/mrbgems/mruby-socket/src/socket.o | |
MRBC build/mrbgems/mruby-socket/mrblib/socket.rb | |
CC build/host/mrbgems/mruby-socket/gem_init.c -> build/host/mrbgems/mruby-socket/gem_init.o | |
CC build/mrbgems/mruby-pack/src/pack.c -> build/host/mrbgems/mruby-pack/src/pack.o | |
/tmp/src/trusterd/mruby/build/mrbgems/mruby-pack/src/pack.c:945:12: warning: assigning to 'const unsigned char *' from 'char *' | |
converts between pointers to integer types with different sign [-Wpointer-sign] | |
sptr = RSTRING_PTR(str) + srcidx; | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/tmp/src/trusterd/mruby/build/mrbgems/mruby-pack/src/pack.c:965:12: warning: assigning to 'const unsigned char *' from 'char *' | |
converts between pointers to integer types with different sign [-Wpointer-sign] | |
sptr = RSTRING_PTR(str) + srcidx; | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | |
2 warnings generated. | |
CC build/host/mrbgems/mruby-pack/gem_init.c -> build/host/mrbgems/mruby-pack/gem_init.o | |
CC build/mrbgems/mruby-onig-regexp/src/mruby_onig_regexp.c -> build/host/mrbgems/mruby-onig-regexp/src/mruby_onig_regexp.o | |
MRBC build/mrbgems/mruby-onig-regexp/mrblib/onig_regexp.rb | |
CC build/host/mrbgems/mruby-onig-regexp/gem_init.c -> build/host/mrbgems/mruby-onig-regexp/gem_init.o | |
CC build/mrbgems/mruby-json/src/mrb_json.c -> build/host/mrbgems/mruby-json/src/mrb_json.o | |
CC build/mrbgems/mruby-json/src/parson.c -> build/host/mrbgems/mruby-json/src/parson.o | |
CC build/host/mrbgems/mruby-json/gem_init.c -> build/host/mrbgems/mruby-json/gem_init.o | |
CC mrbgems/mruby-sprintf/src/kernel.c -> build/host/mrbgems/mruby-sprintf/src/kernel.o | |
CC mrbgems/mruby-sprintf/src/sprintf.c -> build/host/mrbgems/mruby-sprintf/src/sprintf.o | |
MRBC mrbgems/mruby-sprintf/mrblib/string.rb | |
CC build/host/mrbgems/mruby-sprintf/gem_init.c -> build/host/mrbgems/mruby-sprintf/gem_init.o | |
CC mrbgems/mruby-print/src/print.c -> build/host/mrbgems/mruby-print/src/print.o | |
MRBC mrbgems/mruby-print/mrblib/print.rb | |
CC build/host/mrbgems/mruby-print/gem_init.c -> build/host/mrbgems/mruby-print/gem_init.o | |
CC mrbgems/mruby-array-ext/src/array.c -> build/host/mrbgems/mruby-array-ext/src/array.o | |
MRBC mrbgems/mruby-array-ext/mrblib/array.rb | |
CC build/host/mrbgems/mruby-array-ext/gem_init.c -> build/host/mrbgems/mruby-array-ext/gem_init.o | |
MRBC mrbgems/mruby-enum-ext/mrblib/enum.rb | |
CC build/host/mrbgems/mruby-enum-ext/gem_init.c -> build/host/mrbgems/mruby-enum-ext/gem_init.o | |
MRBC mrbgems/mruby-enum-lazy/mrblib/lazy.rb | |
CC build/host/mrbgems/mruby-enum-lazy/gem_init.c -> build/host/mrbgems/mruby-enum-lazy/gem_init.o | |
MRBC mrbgems/mruby-enumerator/mrblib/enumerator.rb | |
CC build/host/mrbgems/mruby-enumerator/gem_init.c -> build/host/mrbgems/mruby-enumerator/gem_init.o | |
CC mrbgems/mruby-eval/src/eval.c -> build/host/mrbgems/mruby-eval/src/eval.o | |
CC build/host/mrbgems/mruby-eval/gem_init.c -> build/host/mrbgems/mruby-eval/gem_init.o | |
CC mrbgems/mruby-exit/src/mruby-exit.c -> build/host/mrbgems/mruby-exit/src/mruby-exit.o | |
CC build/host/mrbgems/mruby-exit/gem_init.c -> build/host/mrbgems/mruby-exit/gem_init.o | |
CC mrbgems/mruby-fiber/src/fiber.c -> build/host/mrbgems/mruby-fiber/src/fiber.o | |
CC build/host/mrbgems/mruby-fiber/gem_init.c -> build/host/mrbgems/mruby-fiber/gem_init.o | |
CC mrbgems/mruby-hash-ext/src/hash-ext.c -> build/host/mrbgems/mruby-hash-ext/src/hash-ext.o | |
MRBC mrbgems/mruby-hash-ext/mrblib/hash.rb | |
CC build/host/mrbgems/mruby-hash-ext/gem_init.c -> build/host/mrbgems/mruby-hash-ext/gem_init.o | |
CC mrbgems/mruby-kernel-ext/src/kernel.c -> build/host/mrbgems/mruby-kernel-ext/src/kernel.o | |
CC build/host/mrbgems/mruby-kernel-ext/gem_init.c -> build/host/mrbgems/mruby-kernel-ext/gem_init.o | |
CC mrbgems/mruby-math/src/math.c -> build/host/mrbgems/mruby-math/src/math.o | |
CC build/host/mrbgems/mruby-math/gem_init.c -> build/host/mrbgems/mruby-math/gem_init.o | |
CC mrbgems/mruby-numeric-ext/src/numeric_ext.c -> build/host/mrbgems/mruby-numeric-ext/src/numeric_ext.o | |
MRBC mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb | |
CC build/host/mrbgems/mruby-numeric-ext/gem_init.c -> build/host/mrbgems/mruby-numeric-ext/gem_init.o | |
CC mrbgems/mruby-object-ext/src/object.c -> build/host/mrbgems/mruby-object-ext/src/object.o | |
MRBC mrbgems/mruby-object-ext/mrblib/object.rb | |
CC build/host/mrbgems/mruby-object-ext/gem_init.c -> build/host/mrbgems/mruby-object-ext/gem_init.o | |
CC mrbgems/mruby-objectspace/src/mruby_objectspace.c -> build/host/mrbgems/mruby-objectspace/src/mruby_objectspace.o | |
CC build/host/mrbgems/mruby-objectspace/gem_init.c -> build/host/mrbgems/mruby-objectspace/gem_init.o | |
CC mrbgems/mruby-proc-ext/src/proc.c -> build/host/mrbgems/mruby-proc-ext/src/proc.o | |
MRBC mrbgems/mruby-proc-ext/mrblib/proc.rb | |
CC build/host/mrbgems/mruby-proc-ext/gem_init.c -> build/host/mrbgems/mruby-proc-ext/gem_init.o | |
CC mrbgems/mruby-random/src/mt19937ar.c -> build/host/mrbgems/mruby-random/src/mt19937ar.o | |
CC mrbgems/mruby-random/src/random.c -> build/host/mrbgems/mruby-random/src/random.o | |
CC build/host/mrbgems/mruby-random/gem_init.c -> build/host/mrbgems/mruby-random/gem_init.o | |
CC mrbgems/mruby-range-ext/src/range.c -> build/host/mrbgems/mruby-range-ext/src/range.o | |
CC build/host/mrbgems/mruby-range-ext/gem_init.c -> build/host/mrbgems/mruby-range-ext/gem_init.o | |
CC mrbgems/mruby-string-ext/src/string.c -> build/host/mrbgems/mruby-string-ext/src/string.o | |
MRBC mrbgems/mruby-string-ext/mrblib/string.rb | |
CC build/host/mrbgems/mruby-string-ext/gem_init.c -> build/host/mrbgems/mruby-string-ext/gem_init.o | |
CC mrbgems/mruby-string-utf8/src/string.c -> build/host/mrbgems/mruby-string-utf8/src/string.o | |
CC build/host/mrbgems/mruby-string-utf8/gem_init.c -> build/host/mrbgems/mruby-string-utf8/gem_init.o | |
CC mrbgems/mruby-struct/src/struct.c -> build/host/mrbgems/mruby-struct/src/struct.o | |
MRBC mrbgems/mruby-struct/mrblib/struct.rb | |
CC build/host/mrbgems/mruby-struct/gem_init.c -> build/host/mrbgems/mruby-struct/gem_init.o | |
CC mrbgems/mruby-symbol-ext/src/symbol.c -> build/host/mrbgems/mruby-symbol-ext/src/symbol.o | |
MRBC mrbgems/mruby-symbol-ext/mrblib/symbol.rb | |
CC build/host/mrbgems/mruby-symbol-ext/gem_init.c -> build/host/mrbgems/mruby-symbol-ext/gem_init.o | |
CC mrbgems/mruby-time/src/time.c -> build/host/mrbgems/mruby-time/src/time.o | |
MRBC mrbgems/mruby-time/mrblib/time.rb | |
CC build/host/mrbgems/mruby-time/gem_init.c -> build/host/mrbgems/mruby-time/gem_init.o | |
MRBC mrbgems/mruby-toplevel-ext/mrblib/toplevel.rb | |
CC build/host/mrbgems/mruby-toplevel-ext/gem_init.c -> build/host/mrbgems/mruby-toplevel-ext/gem_init.o | |
CC build/host/mrbgems/gem_init.c -> build/host/mrbgems/gem_init.o | |
AR build/host/lib/libmruby.a | |
CC mrbgems/mruby-bin-mirb/tools/mirb/mirb.c -> build/host/mrbgems/mruby-bin-mirb/tools/mirb/mirb.o | |
LD build/host/bin/mirb | |
Undefined symbols for architecture x86_64: | |
"_SSL_CTX_set_next_proto_select_cb", referenced from: | |
_mrb_http2_init_ssl_ctx in libmruby.a(mrb_http2_client.o) | |
"_SSL_CTX_set_next_protos_advertised_cb", referenced from: | |
_mrb_http2_create_ssl_ctx in libmruby.a(mrb_http2_server.o) | |
ld: symbol(s) not found for architecture x86_64 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
Undefined symbols for architecture x86_64: | |
"_SSL_CTX_set_next_proto_select_cb", referenced from: | |
_mrb_http2_init_ssl_ctx in libmruby.a(mrb_http2_client.o) | |
"_SSL_CTX_set_next_protos_advertised_cb", referenced from: | |
_mrb_http2_create_ssl_ctx in libmruby.a(mrb_http2_server.o) | |
ld: symbol(s) not found for architecture x86_64 | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
rake aborted! | |
Command failed with status (1): [gcc -L/usr/local/opt/readline/lib -L"/User...] | |
/tmp/src/trusterd/mruby/tasks/mruby_build_commands.rake:31:in `_run' | |
/tmp/src/trusterd/mruby/tasks/mruby_build_commands.rake:36:in `rescue in _run' | |
/tmp/src/trusterd/mruby/tasks/mruby_build_commands.rake:32:in `_run' | |
/tmp/src/trusterd/mruby/tasks/mruby_build_commands.rake:180:in `run' | |
/tmp/src/trusterd/mruby/Rakefile:71:in `block (4 levels) in <top (required)>' | |
Tasks: TOP => default => all => /tmp/src/trusterd/mruby/bin/mirb => /tmp/src/trusterd/mruby/build/host/bin/mirb | |
(See full trace by running task with --trace) | |
make: *** [trusterd] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
% sw_vers
ProductName: Mac OS X
ProductVersion: 10.9.5
BuildVersion: 13F34