Forum Discussion
Altera_Forum
Honored Contributor
21 years agoI'm getting closer...
I have rebuilt elf2flt, but I still get an error. Here are the steps I took to rebuild the elf2flt tool: I copied nios2-gnutools/src/binutils-build/bfd/bfd.h nios2-gnutools/src/binutils-build/bfd/libbfd.a nios2-gnutools/src/binutils-build/libiberty/libiberty.a into my elf2flt directory. I then ran the following configure command: ./configure --target=nios2-elf --with-bfd-include-dir=. --with-libbfd=./libbfd.a --with-libiberty=./libiberty.a This configures without errors. I then run make. This succeeds. If I use the resulting elf2flt binary to try and convert the cpuload.elf file I created, it provides the following error? ERROR: text=0xaf0 overlaps data=0x0 ? Does this have something to do with the linker script? I apologize for my ignorance. I've never dealt with an elf image and linkers that much until now. I am grateful for your help.