openwrt / openwrt

This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.
Other
19.63k stars 10.25k forks source link

compile rp-pppoe error #9737

Open youkechat opened 2 years ago

youkechat commented 2 years ago

openwrt-sdk-rockchip-armv8_gcc-11.2.0_musl.Linux-x86_64/staging_dir/target-aarch64_generic_musl/usr/include/pppd/pppd.h:213:29: error: expected '=', ',', ';', 'asm' or 'attribute' before 'P' 213 | typedef void (notify_func) __P((void , int)); | ^~~ /root/src/software/openwrt-sdk-rockchip-armv8_gcc-11.2.0_musl.Linux-x86_64/staging_dir/target-aarch64_generic_musl/usr/include/pppd/pppd.h:214:30: error: expected '=', ',', ';', 'asm' or 'attribute' before '__P' 214 | typedef void (*printer_func) P((void , char , ...));

pepe2k commented 2 years ago

@youkechat please, provide more details about the problem.