Lỗi config.mk no such file or directory năm 2024
Compiling a project in ModusToolbox could sometimes run into the error: No such file or directory. If you confirm the file does exist and you are using Windows, then you might encounter the Path Length Limitation issue on Windows. Show
What is The Problem?The error looks like this: Linking output file mtb-example-ml-gesture-classification.elf arm-none-eabi-g++.exe: error: ../mtb_shared/ml-tflite-micro/release-v2.0.0/COMPONENT_ML_TFLM_INTERPRETER/COMPONENT_CM4/COMPONENT_IFX_CMSIS_NN/COMPONENT_HARDFP/TOOLCHAIN_GCC_ARM/libtensorflow-microlite.a: No such file or directory The key point is that the file path is noticeably long, especially since it contains relative pathnames "..", which is inflated by its parent path finally. According to Windows Documentation: Maximum Path Length Limitation, the maximum length for a path on Windows is 260 characters by default. But it's usually short for ModusToolbox build system. If 260 characters are exceeded, the file system will reject the path, resulting in the error: No file or directory. How to Solve the Problem?According to the Windows Documentation, You need to run the following command in PowerShell (or the equivalent way documented in that article): Summary: Cannot build firefox with --enable-shared → Build error: coreconf/config.mk: No such file or directory I thinkd the freebl's makefile has did something for --enable-shared. The macro FREEBL_BUILD_SINGLE_SHLIB is for this. The problem is that you didn't check out the Firefox source
tree correctly. You need to follow the instructions in
Bug 308792 has been marked as a duplicate of this bug. You need to log in before you can comment on or make changes to this bug.
Tags for this ThreadBookmarksBookmarksPosting PermissionsHi, i'm trying to synthetize my first custom design. I created two directories: the source files in /src/UART/ and the configuration files in /design/sky130hd/UART. I also modified the Makefile by adding the following line uncommented: DESIGN_CONFIG=./designs/sky130hd/UART/config.mk. Then i tried to run:
To me it seems like that the directories aren't updated. This is the sequence of commands i use to run OpenROAD:
I also tried: |