nios工程,在eclipse工程中报错recipe for target ‘test.elf‘ failed
2023-09-11 14:20:47 时间
目前我遇到了这个是导致这个错误的一个原因,并不是一定能解决的。
在eclipse中编译工程,发现报错
make: *** [test.elf] Error 1
Makefile:1013: recipe for target 'test.elf' failed
但是关键点是,eclipse没有给出现这个问题的具体原因,我就通过查找log文件,发现
文件中有这样几句话:
section `.rodata' will not fit in region `cpu_ram'
section `.rwdata' is not within region `cpu_ram'
section `.bss' is not within region `cpu_ram'等,
然后就发现原来是部分ram不足导致的,
接下来我不愿意动quartus部分的设置,就对eclipse进行的更改;
右键选择BSP工程-选择popertise-选择NIOS II BSP popertise,取消support C++,勾选Reduced device dirvers和small C library,还可以选择优化等级(一般Level 2),改了之后编译通过了。
以上就是我解决这个报错的经验。别看就这一点东西,纠结了我一天。
相关文章
- [Android] Eclipse错误:Conversion to Dalvik format failed with error 1
- [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)
- JAVA Eclipse 启动 Eclipse 弹出“Failed to load the JNI shared library jvm_dll”怎么办
- [转]迄今为止最优的Eclipse运行性能调优 ,含eclipse.ini
- AHCI: Failed to attach drive to Port1 (VERR_GENERAL_FAILURE).
- Eclipse和Maven的结合使用--Please make sure the -vm option in eclipse.ini
- Create view failed with ORA-01031:insufficient privileges
- 解决Spring Boot OTS parsing error: Failed to convert WOFF 2.0
- Centos下apache启动时httpd: apr_sockaddr_info_get() failed for 报错
- eclipse failed to create the java virtual machine 问题图文解析
- WSL(Linux子系统) gedit 报错 failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)
- rpmdb: BDB0113 Thread/process 18616/139854252218432 failed: BDB1507 Thread died in Berkeley DB libra
- The request failed with HTTP status 401: Unauthorized
- [FAQ] MEMORY ALLOC FAILED: mmap with HUGETLB failed, attempting without it (you should fix your kernel)
- Failed to install the following Android SDK packages
- Installation failed with message INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.datab.cn signatures
- android 解决报错 installation failed with message Failed to finalize session : INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed parse during installPackageLI: Failed to read manifest from /xx/xx/xx.apk
- kafka.common.KafkaException: Failed to acquire lock on file .lock in /tmp/kafka-logs. A Kafka instance in another process or thread is using this directory.
- git 解决push报错:[rejected] master -> master (fetch first) error: failed to push some refs to
- 使用SVN clang: error: linker command failed with exit code 1 (use -v to see invocation)
- 启动 Eclipse 弹出“Failed to load the JNI shared library jvm.dll”错误的解决方法!
- git push上传报错remote Incorrect username or password ( access token)fatal: Authentication failed for
- 【异常】Flyway failed to initialize: none of the following migration scripts locations could be found
- 嵌入式linux开发,rtc时钟探测报错:rtc-ds1307: probe of 1-0068 failed with error -5