Hi,
I tried to compile my code but I got the below linking error...
Linking...
arm-none-eabi-ld: cannot find -lc_nano
arm-none-eabi-ld: cannot find -lnosys
arm-none-eabi-ld: cannot find -lgcc
Usage: python diagMsgCompact.py <Output ELF> <Output string database File> <Input ELF> <input pickle file> <CompactType: Intermediate or Final>
diagMsgCompact.py: error: Specified ELF file does not exist.
Hashing...
Traceback (most recent call last):
File "..\..\..\..\..\build\scripts\createxbl.py", line 708, in <module>
main()
File "..\..\..\..\..\build\scripts\createxbl.py", line 234, in main
zi_oob_enabled)
File "..\..\..\..\..\build\scripts\createxbl.py", line 296, in merge_elfs
mbn_tools.preprocess_elf_file(elf_in_file_name1)
File "C:\Qualcomm\qca4020-or-2-0_qca_oem_sdk-cdb.git\target\build\scripts\mbn_tools.py", line 1995, in preprocess_elf_file
elf_fp = OPEN(elf_file_name, 'rb')
File "C:\Qualcomm\qca4020-or-2-0_qca_oem_sdk-cdb.git\target\build\scripts\mbn_tools.py", line 2197, in OPEN
raise RuntimeError, "The file could not be opened: " + file_name
RuntimeError: The file could not be opened: output\Quartz.elf
18:55:02 Build Finished (took 4m:31s.177ms)
Could you please help?
I tried with new build.bat file, I can't build because it says I use wrong board variant when I choose cdb.
But I can build with old build.bat. Just that I face problem when linking.
Please help.
Regards,
Nelson
From the provided information,
the reason for linking error is specified toolchain/path not available .
Could you please include TOOLLIBPATH and NEWLIBPATH and execute the build command ?
Kindly make sure the new build.bat is compatible to the demo which you are building, you can not use the build.bat from Helloworld_demo to run Onboard_demo.