You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure and build with QEMU, an error occurs in chip/lm3s_ethernet.c.
The error details are as follows.
CC: chip/lm3s_ethernet.c chip/lm3s_ethernet.c: In function 'tiva_transmit': chip/lm3s_ethernet.c:496:22: error: 'struct netif' has no member named 'd_buf' dbuf = priv->ld_dev.d_buf; ^ chip/lm3s_ethernet.c: In function 'tiva_receive': chip/lm3s_ethernet.c:585:22: error: 'struct netif' has no member named 'd_buf' dbuf = priv->ld_dev.d_buf; ^ chip/lm3s_ethernet.c:189:49: error: 'struct netif' has no member named 'd_buf' #define ETHBUF ((struct eth_hdr_s *)priv->ld_dev.d_buf) ^ chip/lm3s_ethernet.c:688:7: note: in expansion of macro 'ETHBUF' if (ETHBUF->type == HTONS(ETHTYPE_IP)) { ^~~~~~ chip/lm3s_ethernet.c:698:15: error: too few arguments to function 'ethernetif_input' int res = ethernetif_input(&priv->ld_dev); ^~~~~~~~~~~~~~~~ In file included from chip/lm3s_ethernet.c:77:0: /root/tizenrt/os/include/tinyara/net/ethernet.h:103:5: note: declared here int ethernetif_input(struct netif *netif, uint8_t *buf, uint16_t buflen); ^~~~~~~~~~~~~~~~ chip/lm3s_ethernet.c:189:49: error: 'struct netif' has no member named 'd_buf' #define ETHBUF ((struct eth_hdr_s *)priv->ld_dev.d_buf) ^ chip/lm3s_ethernet.c:757:8: note: in expansion of macro 'ETHBUF' if (ETHBUF->type == htons(ETHTYPE_ARP)) { ^~~~~~ chip/lm3s_ethernet.c:766:16: error: too few arguments to function 'ethernetif_input' int res = ethernetif_input(&priv->ld_dev); ^~~~~~~~~~~~~~~~ In file included from chip/lm3s_ethernet.c:77:0: /root/tizenrt/os/include/tinyara/net/ethernet.h:103:5: note: declared here int ethernetif_input(struct netif *netif, uint8_t *buf, uint16_t buflen); ^~~~~~~~~~~~~~~~ In file included from /root/tizenrt/os/net/lwip/src/include/lwip/arch/cc.h:52:0, from /root/tizenrt/os/net/lwip/src/include/lwip/arch.h:60, from /root/tizenrt/os/net/lwip/src/include/lwip/debug.h:52, from /root/tizenrt/os/net/lwip/src/include/lwip/opt.h:63, from /root/tizenrt/os/net/lwip/src/include/lwip/inet.h:60, from /root/tizenrt/os/include/netinet/in.h:66, from /root/tizenrt/os/include/arpa/inet.h:75, from chip/lm3s_ethernet.c:67: chip/lm3s_ethernet.c: In function 'tiva_txpoll': chip/lm3s_ethernet.c:965:26: error: 'struct netif' has no member named 'd_buf' DEBUGASSERT(priv->ld_dev.d_buf != NULL); ^ make[1]: *** [lm3s_ethernet.o] Error 1 Makefile:187: recipe for target 'lm3s_ethernet.o' failed make[1]: Leaving directory '/root/tizenrt/os/arch/arm/src' make: *** [arch/arm/src/libarch.a] Error 2 LibTargets.mk:272: recipe for target 'arch/arm/src/libarch.a' failed
The text was updated successfully, but these errors were encountered:
Configure and build with QEMU, an error occurs in chip/lm3s_ethernet.c.
The error details are as follows.
CC: chip/lm3s_ethernet.c chip/lm3s_ethernet.c: In function 'tiva_transmit': chip/lm3s_ethernet.c:496:22: error: 'struct netif' has no member named 'd_buf' dbuf = priv->ld_dev.d_buf; ^ chip/lm3s_ethernet.c: In function 'tiva_receive': chip/lm3s_ethernet.c:585:22: error: 'struct netif' has no member named 'd_buf' dbuf = priv->ld_dev.d_buf; ^ chip/lm3s_ethernet.c:189:49: error: 'struct netif' has no member named 'd_buf' #define ETHBUF ((struct eth_hdr_s *)priv->ld_dev.d_buf) ^ chip/lm3s_ethernet.c:688:7: note: in expansion of macro 'ETHBUF' if (ETHBUF->type == HTONS(ETHTYPE_IP)) { ^~~~~~ chip/lm3s_ethernet.c:698:15: error: too few arguments to function 'ethernetif_input' int res = ethernetif_input(&priv->ld_dev); ^~~~~~~~~~~~~~~~ In file included from chip/lm3s_ethernet.c:77:0: /root/tizenrt/os/include/tinyara/net/ethernet.h:103:5: note: declared here int ethernetif_input(struct netif *netif, uint8_t *buf, uint16_t buflen); ^~~~~~~~~~~~~~~~ chip/lm3s_ethernet.c:189:49: error: 'struct netif' has no member named 'd_buf' #define ETHBUF ((struct eth_hdr_s *)priv->ld_dev.d_buf) ^ chip/lm3s_ethernet.c:757:8: note: in expansion of macro 'ETHBUF' if (ETHBUF->type == htons(ETHTYPE_ARP)) { ^~~~~~ chip/lm3s_ethernet.c:766:16: error: too few arguments to function 'ethernetif_input' int res = ethernetif_input(&priv->ld_dev); ^~~~~~~~~~~~~~~~ In file included from chip/lm3s_ethernet.c:77:0: /root/tizenrt/os/include/tinyara/net/ethernet.h:103:5: note: declared here int ethernetif_input(struct netif *netif, uint8_t *buf, uint16_t buflen); ^~~~~~~~~~~~~~~~ In file included from /root/tizenrt/os/net/lwip/src/include/lwip/arch/cc.h:52:0, from /root/tizenrt/os/net/lwip/src/include/lwip/arch.h:60, from /root/tizenrt/os/net/lwip/src/include/lwip/debug.h:52, from /root/tizenrt/os/net/lwip/src/include/lwip/opt.h:63, from /root/tizenrt/os/net/lwip/src/include/lwip/inet.h:60, from /root/tizenrt/os/include/netinet/in.h:66, from /root/tizenrt/os/include/arpa/inet.h:75, from chip/lm3s_ethernet.c:67: chip/lm3s_ethernet.c: In function 'tiva_txpoll': chip/lm3s_ethernet.c:965:26: error: 'struct netif' has no member named 'd_buf' DEBUGASSERT(priv->ld_dev.d_buf != NULL); ^ make[1]: *** [lm3s_ethernet.o] Error 1 Makefile:187: recipe for target 'lm3s_ethernet.o' failed make[1]: Leaving directory '/root/tizenrt/os/arch/arm/src' make: *** [arch/arm/src/libarch.a] Error 2 LibTargets.mk:272: recipe for target 'arch/arm/src/libarch.a' failed
The text was updated successfully, but these errors were encountered: