|
本帖最后由 725216 于 2023-12-5 20:37 编辑
因为作者的github上下载的luci安装时依赖报错,只能自己编译,不要关注7620,7621和7620都试过,只是复制了7620的报错日志
make[5]: Entering directory '/home/rxy/7620/build_dir/target-mipsel_24kec+dsp_uClibc-1.0.x/ruby-2.5.1/ext/bigdecimal'
compiling bigdecimal.c
In file included from ../.././include/ruby/missing.h:23:0,
from ../.././include/ruby/defines.h:154,
from ../.././include/ruby/ruby.h:29,
from bigdecimal.h:14,
from bigdecimal.c:13:
bigdecimal.h:97:1: error: static declaration of '__finite' follows non-static declaration
finite(double)
^
../.././include/ruby/missing.h:105:17: note: previous declaration of '__finite' was here
RUBY_EXTERN int finite(double);
^
In file included from bigdecimal.c:13:0:
bigdecimal.h: In function '__finite':
bigdecimal.h:97:1: error: parameter name omitted
finite(double)
^
In file included from ../.././include/ruby/missing.h:23:0,
from ../.././include/ruby/defines.h:154,
from ../.././include/ruby/ruby.h:29,
from bigdecimal.h:14,
from bigdecimal.c:13:
bigdecimal.h:99:19: error: 'n' undeclared (first use in this function)
return !isnan(n) && !isinf(n);
^
bigdecimal.h:99:19: note: each undeclared identifier is reported only once for each function it appears in
Makefile:283: recipe for target 'bigdecimal.o' failed
make[5]: *** [bigdecimal.o] Error 1
make[5]: Leaving directory '/home/rxy/7620/build_dir/target-mipsel_24kec+dsp_uClibc-1.0.x/ruby-2.5.1/ext/bigdecimal'
exts.mk:272: recipe for target 'ext/bigdecimal/all' failed
make[4]: *** [ext/bigdecimal/all] Error 2
make[4]: Leaving directory '/home/rxy/7620/build_dir/target-mipsel_24kec+dsp_uClibc-1.0.x/ruby-2.5.1'
uncommon.mk:240: recipe for target 'build-ext' failed
make[3]: *** [build-ext] Error 2
make[3]: Leaving directory '/home/rxy/7620/build_dir/target-mipsel_24kec+dsp_uClibc-1.0.x/ruby-2.5.1'
Makefile:740: recipe for target '/home/rxy/7620/build_dir/target-mipsel_24kec+dsp_uClibc-1.0.x/ruby-2.5.1/.built' failed
make[2]: *** [/home/rxy/7620/build_dir/target-mipsel_24kec+dsp_uClibc-1.0.x/ruby-2.5.1/.built] Error 2
make[2]: Leaving directory '/home/rxy/7620/feeds/packages/lang/ruby'
package/Makefile:105: recipe for target 'package/feeds/packages/ruby/compile' failed
make[1]: *** [package/feeds/packages/ruby/compile] Error 2
make[1]: Leaving directory '/home/rxy/7620'
|
|