Forum Discussion
Altera_Forum
Honored Contributor
19 years agoThat 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