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

FS#2913 - Cannot compile the kernel program under the latest source code #7709

Closed
openwrt-bot opened this issue Mar 22, 2020 · 0 comments
Closed
Labels

Comments

@openwrt-bot
Copy link

xrouterservice:

64_musl/linux-x86_64/oaf-3.0" EXTRA_CFLAGS="" modules
make[3]: Entering directory '/home/sda3/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.24'
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
DESCEND objtool
LINK /home/sda3/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.24/tools/objtool/objtool
/usr/bin/ld: warning: libc.so, needed by /home/sda3/openwrt/staging_dir/target-x86_64_musl/usr/lib/libelf.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /home/sda3/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.24/tools/objtool/objtool: hidden symbol `fstat' in /usr/lib/x86_64-linux-gnu/libc_nonshared.a(fstat.oS) is referenced by DSO
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:49: recipe for target '/home/sda3/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.24/tools/objtool/objtool' failed
make[5]: *** [/home/sda3/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.24/tools/objtool/objtool] Error 1
Makefile:67: recipe for target 'objtool' failed
make[4]: *** [objtool] Error 2
Makefile:1794: recipe for target 'tools/objtool' failed
make[3]: *** [tools/objtool] Error 2
make[3]: Leaving directory '/home/sda3/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.4.24'
Makefile:46: recipe for target '/home/sda3/openwrt/build_dir/target-x86_64_musl/linux-x86_64/oaf-3.0/.built' failed
make[2]: *** [/home/sda3/openwrt/build_dir/target-x86_64_musl/linux-x86_64/oaf-3.0/.built] Error 2
make[2]: Leaving directory '/home/sda3/openwrt/feeds/OpenAppFilter/oaf'
time: package/feeds/OpenAppFilter/oaf/compile#7.06#5.48#12.20
package/Makefile:111: recipe for target 'package/feeds/OpenAppFilter/oaf/compile' failed
make[1]: *** [package/feeds/OpenAppFilter/oaf/compile] Error 2
make[1]: Leaving directory '/home/sda3/openwrt'
/home/sda3/openwrt/include/toplevel.mk:225: recipe for target 'package/feeds/OpenAppFilter/oaf/compile' failed
make: *** [package/feeds/OpenAppFilter/oaf/compile] Error 2

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

No branches or pull requests

1 participant