Hi
I am testing the milkv-duo256m board and trying to run pppd
. On the kernel enabled pppd, and the build is successful. However, when I try to enable the pppd
package on the root filesystem, I get the following error:
2024-07-31T00:30:12 164 | struct ethhdr {
2024-07-31T00:30:12 | ^~~~~~
2024-07-31T00:30:12 In file included from pppoe.h:94,
2024-07-31T00:30:12 from common.c:20:
2024-07-31T00:30:12 /home/work/buildroot-2021.05/output/milkv-duo256m-spinand_musl_riscv64/host/riscv64-buildroot-linux-musl/sysroot/usr/include/netinet/if_ether.h:114:8: error: redefinition of 'struct ethhdr'
2024-07-31T00:30:12 114 | struct ethhdr {
2024-07-31T00:30:12 | ^~~~~~
2024-07-31T00:30:12 In file included from pppoe.h:84,
2024-07-31T00:30:12 from common.c:20:
2024-07-31T00:30:12 /home/work/buildroot-2021.05/output/milkv-duo256m-spinand_musl_riscv64/host/riscv64-buildroot-linux-musl/sysroot/usr/include/linux/if_ether.h:164:8: note: originally defined here
2024-07-31T00:30:12 164 | struct ethhdr {
2024-07-31T00:30:12 | ^~~~~~
2024-07-31T00:30:12 make[4]: *** [Makefile:60: if.o] Error 1
2024-07-31T00:30:12 make[4]: *** Waiting for unfinished jobs....
2024-07-31T00:30:12 plugin.c: In function 'PPPOEConnectDevice':```