Error Message:
fatal error: cannot write PCH file: required memory segment unavailable make[4]: *** [Makefile:1904: arm-eabi/bits/extc++.h.gch/O2g.gch] Error 1 make[4]: Leaving directory ‘/d/gnu/gcc-12.2.0-build/arm-eabi/libstdc+±v3/include’ make[3]: *** [Makefile:576: all-recursive] Error 1 make[3]: Leaving directory ‘/d/gnu/gcc-12.2.0-build/arm-eabi/libstdc+±v3’ make[2]: *** [Makefile:501: all] Error 2 make[2]: Leaving directory ‘/d/gnu/gcc-12.2.0-build/arm-eabi/libstdc+±v3’ make[1]: *** [Makefile:12620: all-target-libstdc+±v3] Error 2
Solution:
Downgrade your GCC pack, because there are some bugs in your current gcc-12.2.0. you can go to the official website or the following link to download it:
Read More:
- [Solved] NIC cannot be generated vf, intel/mellanox, write error: Cannot allocate memory “not enough MMIO resources for SR-IOV”
- Memory error: cannot allocate memory [How to Solve]
- [Solved] fatal error: openssl/hmac.h: No such file or directory
- [Solved] Fatal error: GLOG/logging. H: there is no such file or directory
- Mamjor Install Wechat ERROR: Cannot find the strip binary required for object file stripping.
- [Solved] fatal error: linux/videodev.h: No such file or directory
- Ubuntu install and compile OpenCV3.4.0 fatal error: dynlink_nvcuvid.h: No such file or directory #include <dynlink_nv
- [Solved] pxp_lib.h:19:10: fatal error: linux/pxp_device.h: No such file or directory
- [Solved] fatal error: jemalloc/jemalloc.h: No such file or directory
- [Solved] Denseflow Install Error: fatal error: opencv2/cudaarithm.hpp: No such file or directory
- [Solved] FATAL CONFIG FILE ERROR: Bad directive or wrong number of arguments
- [Solved] ffmpeg Error: fatal error: zlib.h: Not having that file or directory
- [Solved] Failed to execute/bin/bash: resource temporarily unavailable
- [Solved] GCC Compile Error: fatal error: sys/cdefs.h: No such file or directory
- [Solved] Flask Error: RuntimeError: The session is unavailable because no secret key was set.
- Fatal error: sys/cdefs.h: No such file or directory
- [Solved] xml/apr_xml.c:35:19: fatal error: expat.h: No such file or directory #include <expat.h>
- Error: could not fork new process for connection: Resource temporarily unavailable
- How to Solve NPM Error 426 Upgrade Required
- Read and write BMP image with Pure C language