Altera_Forum
Honored Contributor
19 years agoLwIP doens't work with NIOS II 6.0
Hi all,
I've a Standalone LwIP project (download from topic "Tested IP") with NIOS II & QUARTUS 5.1. I've been testing this project with NIOS II & QUARTUS 6.0 and i've got a lot of problems and I couldn't build my project. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif It's related with LAN91C111 code, that can't be reached. I couldn't solve this problem, but if someone got it, please answer this topic. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/rolleyes.gif Next, the errors I founded. Thanks, Nosima **** Incremental build of configuration Debug for project lwip_web_server_0 **** make -s all Compiling echo.c... Compiling fs.c... Compiling fsdata.c... Compiling httpd.c... Compiling dhcp.c... ../lwip-0.7.1/src/core/dhcp.c:1395: warning: 'dhcp_get_option_short' defined but not used Compiling inet.c... Compiling icmp.c... Compiling ip.c... Compiling ip_addr.c... Compiling ip_frag.c... Compiling mem.c... Compiling memp.c... Compiling netif.c... Compiling pbuf.c... Compiling raw.c... Compiling stats.c... Compiling sys.c... Compiling tcp.c... Compiling tcp_in.c... Compiling tcp_out.c... Compiling udp.c... Compiling etharp.c... Compiling loopif.c... ../lwip-0.7.1/src/netif/loopif.c:48: warning: 'loopif_input' defined but not used Compiling lib.c... Compiling lwip_init.c... Compiling lan91c111if.c... ../lwip4hal/netif/lan91c111if.c: In function `low_level_output': ../lwip4hal/netif/lan91c111if.c:76: error: `alt_avalon_lan91c111_if' undeclared (first use in this function) ../lwip4hal/netif/lan91c111if.c:76: error: (Each undeclared identifier is reported only once ../lwip4hal/netif/lan91c111if.c:76: error: for each function it appears in.) ../lwip4hal/netif/lan91c111if.c:76: error: `dev' undeclared (first use in this function) ../lwip4hal/netif/lan91c111if.c: In function `low_level_input': ../lwip4hal/netif/lan91c111if.c:185: error: `alt_avalon_lan91c111_if' undeclared (first use in this function) ../lwip4hal/netif/lan91c111if.c:185: error: `dev' undeclared (first use in this function) ../lwip4hal/netif/lan91c111if.c:194: warning: use of cast expressions as lvalues is deprecated ../lwip4hal/netif/lan91c111if.c: In function `lan91c111if_service': ../lwip4hal/netif/lan91c111if.c:276: error: `alt_avalon_lan91c111_if' undeclared (first use in this function) ../lwip4hal/netif/lan91c111if.c:276: error: `dev' undeclared (first use in this function) ../lwip4hal/netif/lan91c111if.c:276: error: parse error before ')' token ../lwip4hal/netif/lan91c111if.c: In function `low_level_init': ../lwip4hal/netif/lan91c111if.c:303: error: `alt_avalon_lan91c111_if' undeclared (first use in this function) ../lwip4hal/netif/lan91c111if.c:303: error: `dev' undeclared (first use in this function) ../lwip4hal/netif/lan91c111if.c:303: error: parse error before ')' token ../lwip4hal/netif/lan91c111if.c:311: warning: implicit declaration of function `read_mac_address' make: *** [obj/lwip4hal/netif/lan91c111if.o] Error 1 Build completed