- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to build my output file after linking all the objs and linking it with my other .a files and the script target.ld... The linking is SUCCESS, its generating the output XXX also. But When I m trying to run/debug in NIOSII IDE using NIOS II Instruction simulator, I am getting the following error message. Fatal Error! : ELF file XXX is not an executable file (option -f<filename>) What might be the problem? Can anyone help? AkhilLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That problem I solved by masking my own makefile with Altera generated makefile. So first it will build my XXX, then it will build the ELF file. So that problem with output file format has gone.
Now what I am doing is I copied the main function of my APP.. and pasted it into the sample Hello eCos World Application and edited the target.ld file with 2 more .a files of my Application and linking. So now the output format is correct. The control is coming to my main function. But when I call any function from the main function.. After 1 or 2 steps its terminating. Now the msg I am getting is [eth_drv_ioctl] Warning: Driver can't set multi-cast mode Thread[cyg_net_init] Init: mbinit(0x00000000) [cyg_net_init] Init: cyg_net_init_devs(0x00000000) Init device 'lan91c111_eth0' [cyg_net_init] Init: loopattach(0x00000000) [cyg_net_init] Init: ifinit(0x00000000) [cyg_net_init] Init: domaininit(0x00000000) [cyg_net_init] Init: cyg_net_add_domain(0x010d3f20) New domain internet at 0x00000000 [cyg_net_init] Init: cyg_net_add_domain(0x010d39c8) New domain route at 0x00000000 [cyg_net_init] Init: call_route_init(0x00000000) [cyg_net_init] Done [eth_drv_ioctl] Warning: Driver can't set multi-cast mode [eth_drv_ioctl] Warning: Driver can't set multi-cast mode BOOTP/DHCP failed on eth0 So again, I am kind of stucked... http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page