We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ByteEnable:
kexec fails to compile
kexec/fs2dt.c:int my_debug; kexec/fs2dt.c: my_debug = 1; kexec/fs2dt.h:int my_debug;
/home/ByteEnable/temp/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-10.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/10.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: kexec/arch/arm/kexec-zImage-arm.o:(.bss.my_debug+0x0): multiple definition of my_debug'; kexec/fs2dt.o:(.bss.my_debug+0x0): first defined here /home/ByteEnable/temp/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-10.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/10.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: kexec/arch/arm/kexec-arm.o:(.bss.my_debug+0x0): multiple definition of my_debug'; kexec/fs2dt.o:(.bss.my_debug+0x0): first defined here collect2: error: ld returned 1 exit status make[4]: *** [kexec/Makefile:110: build/sbin/kexec] Error 1 make[4]: Leaving directory '/home/ByteEnable/temp/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/kexec-tools-2.0.16' make[3]: *** [Makefile:136: /home/ByteEnable/temp/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/kexec-tools-2.0.16/.built] Error 2 make[3]: Leaving directory '/home/ByteEnable/temp/openwrt/package/boot/kexec-tools' time: package/boot/kexec-tools/compile#0.16#0.07#0.00 ERROR: package/boot/kexec-tools failed to build. make[2]: *** [package/Makefile:114: package/boot/kexec-tools/compile] Error 1 make[2]: Leaving directory '/home/ByteEnable/temp/openwrt' make[1]: *** [package/Makefile:108: /home/ByteEnable/temp/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/ByteEnable/temp/openwrt' make: *** [/home/ByteEnable/temp/openwrt/include/toplevel.mk:242: world] Error 2
my_debug'; kexec/fs2dt.o:(.bss.my_debug+0x0): first defined here /home/ByteEnable/temp/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-10.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/10.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: kexec/arch/arm/kexec-arm.o:(.bss.my_debug+0x0): multiple definition of
The text was updated successfully, but these errors were encountered:
Fixed:
--- a/kexec/fs2dt.h +++ b/kexec/fs2dt.h @@ -30,7 +30,7 @@ extern struct bootblock bb[1];
/* Used for enabling printing message from purgatory code Only has implemented for PPC64 */ -int my_debug; +extern int my_debug; extern int dt_no_old_root;
/* Used for enabling printing message from purgatory code
void reserve(unsigned long long where, unsigned long long length);
Sorry, something went wrong.
No branches or pull requests
ByteEnable:
kexec fails to compile
kexec/fs2dt.c:int my_debug;
kexec/fs2dt.c: my_debug = 1;
kexec/fs2dt.h:int my_debug;
/home/ByteEnable/temp/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-10.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/10.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: kexec/arch/arm/kexec-zImage-arm.o:(.bss.my_debug+0x0): multiple definition of
my_debug'; kexec/fs2dt.o:(.bss.my_debug+0x0): first defined here /home/ByteEnable/temp/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-10.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/10.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: kexec/arch/arm/kexec-arm.o:(.bss.my_debug+0x0): multiple definition of
my_debug'; kexec/fs2dt.o:(.bss.my_debug+0x0): first defined herecollect2: error: ld returned 1 exit status
make[4]: *** [kexec/Makefile:110: build/sbin/kexec] Error 1
make[4]: Leaving directory '/home/ByteEnable/temp/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/kexec-tools-2.0.16'
make[3]: *** [Makefile:136: /home/ByteEnable/temp/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/kexec-tools-2.0.16/.built] Error 2
make[3]: Leaving directory '/home/ByteEnable/temp/openwrt/package/boot/kexec-tools'
time: package/boot/kexec-tools/compile#0.16#0.07#0.00
ERROR: package/boot/kexec-tools failed to build.
make[2]: *** [package/Makefile:114: package/boot/kexec-tools/compile] Error 1
make[2]: Leaving directory '/home/ByteEnable/temp/openwrt'
make[1]: *** [package/Makefile:108: /home/ByteEnable/temp/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/ByteEnable/temp/openwrt'
make: *** [/home/ByteEnable/temp/openwrt/include/toplevel.mk:242: world] Error 2
The text was updated successfully, but these errors were encountered: