Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

error running self compiled program

Altera_Forum
Honored Contributor II
1,070 Views

Hello, 

 

I compiled netcat with the nios2 toolchain. configure and make have done well. But when I try to ru the program I get the following error: 

BINFMT: bad magic/rev (0x3000000, need 0x4) 

What does this mean? Where is the problem?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
383 Views

Did you convert it from elf to flat format, using elf2flt?

0 Kudos
Altera_Forum
Honored Contributor II
383 Views

no, http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/huh.gif  

 

the other problem is, when I run make, it runs the compiler for cywin. How can I use the nios toolchain instead?
0 Kudos
Reply