找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 679|回复: 6

[k2p] 编译k2p报错了

[复制链接]
( if [ ! -f htop-3.0.2.tar.gz ]; then \
        wget -t5 --timeout=20 --no-check-certificate -O htop-3.0.2.tar.gz https://bintray.com/htop/source/ ... =htop-3.0.2.tar.gz; \
fi )
( if [ ! -d htop-3.0.2 ]; then \
        tar zxf htop-3.0.2.tar.gz; \
fi )

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
make[2]: *** [Makefile:14:extract_test] 错误 2
make[2]: 离开目录“/opt/rt-n56u/trunk/user/htop”
make[1]: *** [Makefile:235:all] 错误 2
make[1]: 离开目录“/opt/rt-n56u/trunk/user”
make: *** [Makefile:202:user_only] 错误 2


请千万不要发布任何涉及时事政 治以及涉政涉爆涉恐类的内容,切记!切记!切记! | 我的恩山、我的无线The best wifi forum is right here.
本站网友
本站网友  发表于 2021-11-18 18:28
[ 本帖最后由 匿名 于 2021-11-18 18:30 编辑 ]\n\ngcc   mksquashfs.o read_fs.o sort.o  -lz -lm -L/opt/rt-n56u/trunk/tools/mksquash_lzma-3.2/lzma443/C/7zip/Compress/LZMA_Alone -L/opt/rt-n56u/trunk/tools/mksquash_lzma-3.2/lzma443/C/7zip/Compress/LZMA_C -lpthread -lunlzma_r -llzma_r -lstdc++ -lz -o mksquashfs
/usr/bin/ld: mksquashfs.o: in function `create_inode':
mksquashfs.c:(.text+0x261a): undefined reference to `major'
/usr/bin/ld: mksquashfs.c:(.text+0x2627): undefined reference to `minor'
collect2: error: ld returned 1 exit status
make[3]: *** [<内置>:mksquashfs] 错误 1
make[3]: 离开目录“/opt/rt-n56u/trunk/tools/mksquash_lzma-3.2/squashfs3.2-r2/squashfs-tools”
make[2]: *** [Makefile:30:all] 错误 2
make[2]: 离开目录“/opt/rt-n56u/trunk/tools/mksquash_lzma-3.2”
make[1]: *** [Makefile:25:install] 错误 2
make[1]: 离开目录“/opt/rt-n56u/trunk/tools”
make: *** [Makefile:164:tools] 错误 2
回复

使用道具 举报

折腾无止境
请千万不要发布任何涉及时事政 治以及涉政涉爆涉恐类的内容,切记!切记!切记! | 我的恩山、我的无线The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
if [ ! -f htop-3.0.2.tar.gz ]; then \
        wget -t5 --timeout=20 --no-check-certificate -O htop-3.0.2.tar.gz https://bintray.com/htop/source/ ... =htop-3.0.2.tar.gz; \
fi )
( if [ ! -d htop-3.0.2 ]; then \
        tar zxf htop-3.0.2.tar.gz; \
fi )
( if [ -f ./config_done ]; then \
        echo "the same configuration"; \
else \
        make configure && touch config_done; \
fi )
make[3]: 进入目录“/opt/rt-n56u/trunk/user/htop”
( cd htop-3.0.2 ; \
./configure \
        --prefix=/usr \
        --enable-unicode \
        HTOP_NCURSESW_CONFIG_SCRIPT="/opt/rt-n56u/trunk/stage/bin/ncursesw6-config" \
        --host=mipsel-linux \
        --build=x86_64-pc-linux-gnu ; \
)
/bin/sh: 2: ./configure: not found
make[3]: *** [Makefile:26:configure] 错误 127
make[3]: 离开目录“/opt/rt-n56u/trunk/user/htop”
make[2]: *** [Makefile:19:config_test] 错误 2
make[2]: 离开目录“/opt/rt-n56u/trunk/user/htop”
make[1]: *** [Makefile:235:all] 错误 2
make[1]: 离开目录“/opt/rt-n56u/trunk/user”
make: *** [Makefile:202:user_only] 错误 2
请千万不要发布任何涉及时事政 治以及涉政涉爆涉恐类的内容,切记!切记!切记! | 我的恩山、我的无线The best wifi forum is right here.
回复

使用道具 举报

下载地址换一下
请千万不要发布任何涉及时事政 治以及涉政涉爆涉恐类的内容,切记!切记!切记! | 我的恩山、我的无线The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
a230 发表于 2021-11-19 20:39
下载地址换一下

  怎么换??
请千万不要发布任何涉及时事政 治以及涉政涉爆涉恐类的内容,切记!切记!切记! | 我的恩山、我的无线The best wifi forum is right here.
回复

使用道具 举报


configure:
        ( cd $(SRC_NAME) ; \
        ./autogen.sh ; \
刚没看清,这里下面加一行,这个报错是没找到configure。要先运行下autogen.sh
请千万不要发布任何涉及时事政 治以及涉政涉爆涉恐类的内容,切记!切记!切记! | 我的恩山、我的无线The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-7 17:33

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表