#22661: broken /include/pppd/pppd.h affects compilation for some network apps --------------------------+-------------------------------------------- Reporter: hojuruku | Owner: developers Type: defect | Status: new Priority: high | Milestone: Designated Driver (Trunk) Component: base system | Version: Trunk Resolution: | Keywords: pppd headers ppp_defs.h pppd.h --------------------------+--------------------------------------------
Comment (by hojuruku): Patch still work in progress.... Ooops got to get the new ppp_defs.h to be loaded by pppd/main.c also there is an old version of linux/ppp_defs.h loaded in by -I../include This file needs to be loaded up by the Makefile. staging_dir/toolchain- mips_24kc_gcc-5.3.0_musl-1.1.14/include/linux/ppp_defs.h {{{ make[5]: Entering directory '/mnt/staging3/openwrt/build_dir/target- mips_24kc_musl-1.1.14/ppp-default/ppp-2.4.7/pppd' mips-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused- but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap /mnt/staging3/openwrt/build_dir/target- mips_24kc_musl-1.1.14/ppp-default/ppp-2.4.7:ppp-2.4.7 -Wformat -Werror =format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DHAVE_PATHS_H -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DPLUGIN -DPPP_FILTER -DPPP_PRECOMPILED_FILTER -I/mnt/staging3/openwrt/staging_dir /target-mips_24kc_musl-1.1.14/usr/include -DINET6=1 -DMAXOCTETS -c -o main.o main.c main.c: In function 'get_input': main.c:1116:15: error: 'PPP_EAP' undeclared (first use in this function) protocol == PPP_EAP)) { }}} -- Ticket URL: <https://dev.openwrt.org/ticket/22661#comment:2> OpenWrt <http://openwrt.org> Opensource Wireless Router Technology _______________________________________________ openwrt-tickets mailing list openwrt-tickets@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets