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
I was trying to build this kernel with some more stuff built as modules, and got this:
CC [M] drivers/net/ethernet/allwinner/sun4i-emac.o
drivers/net/ethernet/allwinner/sun4i-emac.c: In function ‘emac_outblk_32bit’:
drivers/net/ethernet/allwinner/sun4i-emac.c:200:2: error: implicit declaration of function ‘writesl’ [-Werror=implicit-function-declaration]
writesl(reg, data, round_up(count, 4) / 4);
^
drivers/net/ethernet/allwinner/sun4i-emac.c: In function ‘emac_inblk_32bit’:
drivers/net/ethernet/allwinner/sun4i-emac.c:205:2: error: implicit declaration of function ‘readsl’ [-Werror=implicit-function-declaration]
readsl(reg, data, round_up(count, 4) / 4);
^
drivers/net/ethernet/allwinner/sun4i-emac.c: In function ‘emac_start_xmit’:
drivers/net/ethernet/allwinner/sun4i-emac.c:490:2: error: implicit declaration of function ‘dev_consume_skb_any’ [-Werror=implicit-function-declaration]
dev_consume_skb_any(skb);
^
cc1: some warnings being treated as errors
Hi Simon.
I was trying to build this kernel with some more stuff built as modules, and got this:
CC [M] drivers/net/ethernet/allwinner/sun4i-emac.o
drivers/net/ethernet/allwinner/sun4i-emac.c: In function ‘emac_outblk_32bit’:
drivers/net/ethernet/allwinner/sun4i-emac.c:200:2: error: implicit declaration of function ‘writesl’ [-Werror=implicit-function-declaration]
writesl(reg, data, round_up(count, 4) / 4);
^
drivers/net/ethernet/allwinner/sun4i-emac.c: In function ‘emac_inblk_32bit’:
drivers/net/ethernet/allwinner/sun4i-emac.c:205:2: error: implicit declaration of function ‘readsl’ [-Werror=implicit-function-declaration]
readsl(reg, data, round_up(count, 4) / 4);
^
drivers/net/ethernet/allwinner/sun4i-emac.c: In function ‘emac_start_xmit’:
drivers/net/ethernet/allwinner/sun4i-emac.c:490:2: error: implicit declaration of function ‘dev_consume_skb_any’ [-Werror=implicit-function-declaration]
dev_consume_skb_any(skb);
^
cc1: some warnings being treated as errors
tree after:
commit 2d4c3da
Author: Simon Eisenmann simon@longsleep.org
Date: Mon Feb 22 23:23:57 2016 +0100
custom .config file (started with sun50iw1p1smp_linux_defconfig ), but with existing stuff not touched.
Any ideas? Some missing header includes?
I am using gcc 5.3.1-16, and doing native compilation.
The text was updated successfully, but these errors were encountered: