lede
lede copied to clipboard
编译报错 cannot load such file -- optparse
1.关于你要提交的问题
Q:是否搜索了issue (使用 "x" 选择)
- 没有类似的issue
2. 详细叙述
(1) 具体问题
编译报错
(2) 路由器型号和固件版本
x86软路由
(3) 详细日志
fstack-protector-strong -pie SOLIBS = -lz -lpthread -lrt -lrt -ldl -lcrypt -lm LANG = C LC_ALL = C LC_CTYPE = MFLAGS = -w -j1 gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
./tool/file2lastrev.rb:6:in require': cannot load such file -- optparse (LoadError) from ./tool/file2lastrev.rb:6:in
没遇到,如果是具体编译某个包有问题,请贴出包名
我也一样哎
rm -rf ./staging_dir/hostpkg/lib/ruby
rm -rf ./staging_dir/hostpkg/include/ruby-*
rm staging_dir/hostpkg/lib/pkgconfig/ruby-*
rm staging_dir/hostpkg/bin/ruby
make package/ruby/{clean,compile} V=s -j8