Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x86固件编译出错,求助 #780

Closed
ddvcx opened this issue Nov 9, 2018 · 1 comment
Closed

x86固件编译出错,求助 #780

ddvcx opened this issue Nov 9, 2018 · 1 comment

Comments

@ddvcx
Copy link

ddvcx commented Nov 9, 2018

全程翻墙,换了几个linux版本都是这里错误
make[4]: Leaving directory '/home/d/lede/build_dir/target-x86_64_musl/hostapd-wpad-full-internal/hostapd-2018-05-21-62566bc2/wpa_supplicant'
export MAKEFLAGS=""; x86_64-openwrt-linux-musl-gcc -o /home/d/lede/build_dir/target-x86_64_musl/hostapd-wpad-full-internal/hostapd-2018-05-21-62566bc2/wpad -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -iremap/home/d/lede/build_dir/target-x86_64_musl/hostapd-wpad-full-internal/hostapd-2018-05-21-62566bc2:hostapd-2018-05-21-62566bc2 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -flto ./files/multicall.c /home/d/lede/build_dir/target-x86_64_musl/hostapd-wpad-full-internal/hostapd-2018-05-21-62566bc2/hostapd/hostapd_multi.a /home/d/lede/build_dir/target-x86_64_musl/hostapd-wpad-full-internal/hostapd-2018-05-21-62566bc2/wpa_supplicant/wpa_supplicant_multi.a -L/home/d/lede/staging_dir/target-x86_64_musl/usr/lib -L/home/d/lede/staging_dir/target-x86_64_musl/lib -L/home/d/lede/staging_dir/toolchain-x86_64_gcc-7.3.0_musl/usr/lib -L/home/d/lede/staging_dir/toolchain-x86_64_gcc-7.3.0_musl/lib -znow -zrelro -Wl,--gc-sections -flto=jobserver -fuse-linker-plugin -lubox -lubus
/home/d/lede/tmp/ccUHEvcM.ltrans12.ltrans.o: In function ap_sta_add': <artificial>:(.text.ap_sta_add+0x19e): undefined reference to sta_track_claim_taxonomy_info'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:619: /home/d/lede/build_dir/target-x86_64_musl/hostapd-wpad-full-internal/hostapd-2018-05-21-62566bc2/.built] Error 1
make[3]: Leaving directory '/home/d/lede/package/network/services/hostapd'
time: package/network/services/hostapd/wpad-full-internal/compile#32.41#5.29#44.28
make[2]: *** [package/Makefile:109: package/network/services/hostapd/compile] Error 2
make[2]: Leaving directory '/home/d/lede'
make[1]: *** [package/Makefile:103: /home/d/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/d/lede'
make: *** [/home/d/lede/include/toplevel.mk:218:world] 错误 2
d@linux:~/lede$

@choushui007
Copy link

Applying /home/ce6093/lede/target/linux/ramips/patches-4.14/0040-nand-hack.patch using plaintext:
patching file drivers/mtd/nand/nand_base.c
Hunk #3 FAILED at 2765.
1 out of 3 hunks FAILED -- saving rejects to file drivers/mtd/nand/nand_base.c.rej
patching file include/linux/mtd/rawnand.h
Hunk #1 FAILED at 885.
Hunk #2 succeeded at 897 (offset 4 lines).
1 out of 2 hunks FAILED -- saving rejects to file include/linux/mtd/rawnand.h.rej
Patch failed! Please fix /home/ce6093/lede/target/linux/ramips/patches-4.14/0040-nand-hack.patch!
Makefile:26: recipe for target '/home/ce6093/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/linux-4.14.78/.prepared_b1277342d9306c10636cd282065fd546' failed
make[4]: *** [/home/ce6093/lede/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7620/linux-4.14.78/.prepared_b1277342d9306c10636cd282065fd546] Error 1
make[4]: Leaving directory '/home/ce6093/lede/target/linux/ramips'
Makefile:13: recipe for target 'compile' failed
make[3]: *** [compile] Error 2
make[3]: Leaving directory '/home/ce6093/lede/target/linux'
time: target/linux/compile#9.78#12.49#42.50
target/Makefile:23: recipe for target 'target/linux/compile' failed
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory '/home/ce6093/lede'
target/Makefile:18: recipe for target '/home/ce6093/lede/staging_dir/target-mipsel_24kc_musl/stamp/.target_compile' failed
make[1]: *** [/home/ce6093/lede/staging_dir/target-mipsel_24kc_musl/stamp/.target_compile] Error 2
make[1]: Leaving directory '/home/ce6093/lede'
Build failed - please re-run with -j1 to see the real error message
/home/ce6093/lede/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants