dfskoll / rp-pppoe

Public repository for RP-PPPoE PPPoE client and server software
https://dianne.skoll.ca/projects/rp-pppoe/
47 stars 15 forks source link

When compiling the OpenWrt-19.07 routing firmware and synchronously updating the rp-pppoe code to the latest, an error is displayed! #12

Closed openwrtdiy closed 2 years ago

openwrtdiy commented 2 years ago

Type 'make install' as root to install the software. mkdir -p /home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/ipkg-install/usr/sbin /usr/bin/install -c -m 755 pppoe /home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/ipkg-install/usr/sbin /usr/bin/install -c -m 755 pppoe-server /home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/ipkg-install/usr/sbin if test -x pppoe-relay ; then /usr/bin/install -c -m 755 pppoe-relay /home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/ipkg-install/usr/sbin; fi if test -x pppoe-sniff; then /usr/bin/install -c -m 755 pppoe-sniff /home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/ipkg-install/usr/sbin; fi /usr/bin/install -c -m 755 ../scripts/pppoe-connect /home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/ipkg-install/usr/sbin /usr/bin/install -c -m 755 ../scripts/pppoe-start /home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/ipkg-install/usr/sbin /usr/bin/install -c -m 755 ../scripts/pppoe-status /home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/ipkg-install/usr/sbin /usr/bin/install -c -m 755 ../scripts/pppoe-stop /home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/ipkg-install/usr/sbin /usr/bin/install -c -m 755 ../scripts/pppoe-setup /home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/ipkg-install/usr/sbin mkdir -p /home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/ipkg-install/usr/share/doc/rp-pppoe-3.15 /usr/bin/install -c -m 644 ../doc/CHANGES /home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/ipkg-install/usr/share/doc/rp-pppoe-3.15 /usr/bin/install -c -m 644 ../doc/KERNEL-MODE-PPPOE /home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/ipkg-install/usr/share/doc/rp-pppoe-3.15 /usr/bin/install -c -m 644 ../doc/HOW-TO-CONNECT /home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/ipkg-install/usr/share/doc/rp-pppoe-3.15 /usr/bin/install -c -m 644 ../doc/LICENSE /home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/ipkg-install/usr/share/doc/rp-pppoe-3.15 /usr/bin/install -c -m 644 ../README /home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/ipkg-install/usr/share/doc/rp-pppoe-3.15 /usr/bin/install: cannot stat '../README': No such file or directory Makefile:151: recipe for target 'install' failed make[4]: [install] Error 1 make[4]: Leaving directory '/home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/src' Makefile:148: recipe for target '/home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/.built' failed make[3]: [/home/kokang/openwrtdiy/build_dir/target-x86_64_musl/rp-pppoe-2022.04.24/.built] Error 2 make[3]: Leaving directory '/home/kokang/openwrtdiy/feeds/packages/net/rp-pppoe' time: package/feeds/packages/rp-pppoe/compile#3.71#1.63#6.74 package/Makefile:111: recipe for target 'package/feeds/packages/rp-pppoe/compile' failed make[2]: [package/feeds/packages/rp-pppoe/compile] Error 2 make[2]: Leaving directory '/home/kokang/openwrtdiy' package/Makefile:107: recipe for target '/home/kokang/openwrtdiy/staging_dir/target-x86_64_musl/stamp/.package_compile' failed make[1]: [/home/kokang/openwrtdiy/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/kokang/openwrtdiy' /home/kokang/openwrtdiy/include/toplevel.mk:225: recipe for target 'world' failed make: *** [world] Error 2

openwrtdiy commented 2 years ago

rp-pppoe: Update to 2022.04.24 https://github.com/openwrtdiy/packages/commit/16c802f85cb9946463db3d839faee6929c2be7f3

openwrtdiy commented 2 years ago

Found the reason! There are two errors:

  1. Rename README.md to README https://github.com/openwrtdiy/rp-pppoe/commit/8e5f93b2686a574fe26a024f386d532e0a769172

  2. There is one less file SERVPOET when compiling https://github.com/openwrtdiy/rp-pppoe/commit/5288ee61239ec543aa2d157eddca81f29c38cf1b

dfskoll commented 2 years ago

Thanks! Fixed in https://github.com/dfskoll/rp-pppoe/commit/dc7e00a1523479552528503bad032de3068da939