Rejey 发表于 2024-3-1 17:06

编译错误,各位大神帮我看看

第一次尝试编译padavan,劳驾诸位帮我看看。。。编译错误怎么解决


libcap-ng Version:      0.8.5
Target:               mipsel-unknown-linux-gnu
Installation prefix:    /
PYTHON_PREFIX:         
Compiler:               /opt/padavan-ng/trunk/../toolchain/out/bin/mipsel-linux-uclibc-gcc -mips32r2 -march=mips32r2 -mtune=24kec
Compiler flags:
                        -Os -fomit-frame-pointer -fno-stack-protector
                        -femit-struct-debug-baseonly
                        -fno-var-tracking -pipe -DEMBED
                        -I/opt/padavan-ng/trunk/stage/include
                        -Dlinux -D__linux__ -Dunix -Wall
                        -Wno-trigraphs -Wno-strict-aliasing
                        -Wno-format-security -Wno-unused-but-set-variable
                        -Wno-unused-const-variable -Wno-format-truncation
                        -Wno-format-overflow -Wno-misleading-indentation
                        -fconserve-stack -fno-strict-overflow
                        -fno-var-tracking-assignments
                        -fno-merge-all-constants -fmerge-constants
                        -fno-stack-check -fno-delete-null-pointer-checks
                        -Wno-pointer-sign -ffunction-sections
                        -fdata-sections -Os -Os
__attr_dealloc_free support:no

make: 离开目录“/opt/padavan-ng/trunk/libs/libcapng”
make -j4 -C libcap-ng-0.8.5
make: 进入目录“/opt/padavan-ng/trunk/libs/libcapng/libcap-ng-0.8.5”
cd . && /bin/bash /opt/padavan-ng/trunk/libs/libcapng/libcap-ng-0.8.5/missing automake-1.16 --gnu
Makefile.am: error: required file './README' not found
bindings/src/Makefile.am:24: warning: variable 'SWIG_SOURCES' is defined but no program or
bindings/src/Makefile.am:24: library has 'SWIG' as canonical name (possible typo)
make: *** 错误 1
make: 离开目录“/opt/padavan-ng/trunk/libs/libcapng/libcap-ng-0.8.5”
make: *** 错误 2
make: 离开目录“/opt/padavan-ng/trunk/libs/libcapng”
make: *** 错误 2
make: 离开目录“/opt/padavan-ng/trunk/libs”
make: *** 错误 2


0x90 发表于 2024-3-1 17:24

本帖最后由 0x90 于 2024-3-1 17:25 编辑

编译错误原因不好找,,,首次编译什么插件都别添加 默认编译一次,,默认还错误就是science不行....编译完以后再加插件.这样才好排查
什么都弄好了 能编译正常了 ,就可以转到github用云编译了

Rejey 发表于 2024-3-1 21:03

0x90 发表于 2024-3-1 17:24
编译错误原因不好找,,,首次编译什么插件都别添加 默认编译一次,,默认还错误就是science不行....编译完以后 ...

这个问题过去了,又卡住了
# Pack final image and write headers
rootfs offset aligned to 0x1147440
*** error: images are too big
页: [1]
查看完整版本: 编译错误,各位大神帮我看看