Created
May 29, 2015 15:57
-
-
Save abinashmeher999/a6964329f4b18948a61d to your computer and use it in GitHub Desktop.
Error on compilation of wrappers
This file contains hidden or 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
| abinashmeher999@JARVIS:~/gsoc/symengine/src/ruby/ext/symengine$ make clean | |
| abinashmeher999@JARVIS:~/gsoc/symengine/src/ruby/ext/symengine$ ls | |
| extconf.h extconf.rb Makefile ruby_basic.c ruby_basic.h symengine.c | |
| abinashmeher999@JARVIS:~/gsoc/symengine/src/ruby/ext/symengine$ ruby extconf.rb checking for main() in -lsymengine... no | |
| creating extconf.h | |
| creating Makefile | |
| abinashmeher999@JARVIS:~/gsoc/symengine/src/ruby/ext/symengine$ ls | |
| extconf.h Makefile ruby_basic.c symengine.c | |
| extconf.rb mkmf.log ruby_basic.h | |
| abinashmeher999@JARVIS:~/gsoc/symengine/src/ruby/ext/symengine$ make VERBOSE=1 | |
| compiling ruby_basic.c | |
| ruby_basic.c:8:14: error: ‘cbasic_alloc’ defined but not used [-Werror=unused-function] | |
| static VALUE cbasic_alloc(VALUE klass){ | |
| ^ | |
| ruby_basic.c:19:14: error: ‘cbasic_init’ defined but not used [-Werror=unused-function] | |
| static VALUE cbasic_init(VALUE self){ | |
| ^ | |
| ruby_basic.c:28:14: error: ‘cbasic_add’ defined but not used [-Werror=unused-function] | |
| static VALUE cbasic_add(VALUE self, VALUE operand2){ | |
| ^ | |
| ruby_basic.c:42:14: error: ‘cbasic_sub’ defined but not used [-Werror=unused-function] | |
| static VALUE cbasic_sub(VALUE self, VALUE operand2){ | |
| ^ | |
| ruby_basic.c:56:14: error: ‘cbasic_mul’ defined but not used [-Werror=unused-function] | |
| static VALUE cbasic_mul(VALUE self, VALUE operand2){ | |
| ^ | |
| ruby_basic.c:70:14: error: ‘cbasic_div’ defined but not used [-Werror=unused-function] | |
| static VALUE cbasic_div(VALUE self, VALUE operand2){ | |
| ^ | |
| ruby_basic.c:84:14: error: ‘cbasic_pow’ defined but not used [-Werror=unused-function] | |
| static VALUE cbasic_pow(VALUE self, VALUE operand2){ | |
| ^ | |
| ruby_basic.c:98:14: error: ‘cbasic_neg’ defined but not used [-Werror=unused-function] | |
| static VALUE cbasic_neg(VALUE self){ | |
| ^ | |
| cc1: all warnings being treated as errors | |
| make: *** [ruby_basic.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment