Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

LwIP doens't work with NIOS II 6.0

Hi all,

I&#39;ve a Standalone LwIP project (download from topic "Tested IP") with NIOS II & QUARTUS 5.1. I&#39;ve been testing this project with NIOS II & QUARTUS 6.0 and i&#39;ve got a lot of problems and I couldn&#39;t build my project. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif

It&#39;s related with LAN91C111 code, that can&#39;t be reached.

I couldn&#39;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: &#39;dhcp_get_option_short&#39; 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: &#39;loopif_input&#39; defined but not used

Compiling lib.c...

Compiling lwip_init.c...

Compiling lan91c111if.c...

../lwip4hal/netif/lan91c111if.c: In function `low_level_output&#39;:

../lwip4hal/netif/lan91c111if.c:76: error: `alt_avalon_lan91c111_if&#39; 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&#39; undeclared (first use in this function)

../lwip4hal/netif/lan91c111if.c: In function `low_level_input&#39;:

../lwip4hal/netif/lan91c111if.c:185: error: `alt_avalon_lan91c111_if&#39; undeclared (first use in this function)

../lwip4hal/netif/lan91c111if.c:185: error: `dev&#39; 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&#39;:

../lwip4hal/netif/lan91c111if.c:276: error: `alt_avalon_lan91c111_if&#39; undeclared (first use in this function)

../lwip4hal/netif/lan91c111if.c:276: error: `dev&#39; undeclared (first use in this function)

../lwip4hal/netif/lan91c111if.c:276: error: parse error before &#39;)&#39; token

../lwip4hal/netif/lan91c111if.c: In function `low_level_init&#39;:

../lwip4hal/netif/lan91c111if.c:303: error: `alt_avalon_lan91c111_if&#39; undeclared (first use in this function)

../lwip4hal/netif/lan91c111if.c:303: error: `dev&#39; undeclared (first use in this function)

../lwip4hal/netif/lan91c111if.c:303: error: parse error before &#39;)&#39; token

../lwip4hal/netif/lan91c111if.c:311: warning: implicit declaration of function `read_mac_address&#39;

make: *** [obj/lwip4hal/netif/lan91c111if.o] Error 1

Build completed

11 Replies