I have been looking to update our Debian 11 OS's to Debian 12, but I have been having issues compiling accel-ppp when it gets to the final steps.
From what I can tell, the error revolves around "/tools/bpf/resolve_btfids/resolve_btfids", I have been trying to find a package to fix this missing dependency, but I have not had any luck.
Does anyone have any suggestions for fixing this?
Thanks!
Last bit of the make output is below.
Code: Select all
/opt/accel-ppp-code/accel-pppd/extra/chap-secrets.c:624:9: warning: ‘SHA1_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
624 | SHA1_Final(c_hash, &sha_ctx);
| ^~~~~~~~~~
/usr/include/openssl/sha.h:51:27: note: declared here
51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
| ^~~~~~~~~~
[ 86%] Linking C shared library libchap-secrets.so
[ 86%] Built target chap-secrets
[ 86%] Building C object accel-pppd/extra/CMakeFiles/logwtmp.dir/logwtmp.c.o
[ 87%] Linking C shared library liblogwtmp.so
[ 87%] Built target logwtmp
[ 88%] Building C object accel-pppd/extra/CMakeFiles/connlimit.dir/connlimit.c.o
[ 89%] Linking C shared library libconnlimit.so
[ 89%] Built target connlimit
[ 90%] Building C object accel-pppd/ipv6/CMakeFiles/ipv6_dhcp.dir/dhcpv6.c.o
[ 91%] Building C object accel-pppd/ipv6/CMakeFiles/ipv6_dhcp.dir/dhcpv6_packet.c.o
[ 92%] Linking C shared library libipv6_dhcp.so
[ 92%] Built target ipv6_dhcp
[ 92%] Building C object accel-pppd/ipv6/CMakeFiles/ipv6_nd.dir/nd.c.o
[ 93%] Linking C shared library libipv6_nd.so
[ 93%] Built target ipv6_nd
[ 94%] Building C object accel-pppd/shaper/CMakeFiles/shaper.dir/shaper.c.o
[ 95%] Building C object accel-pppd/shaper/CMakeFiles/shaper.dir/limiter.c.o
[ 96%] Building C object accel-pppd/shaper/CMakeFiles/shaper.dir/leaf_qdisc.c.o
[ 96%] Building C object accel-pppd/shaper/CMakeFiles/shaper.dir/tc_core.c.o
[ 97%] Linking C shared library libshaper.so
[ 97%] Built target shaper
[ 97%] Building C object accel-cmd/CMakeFiles/accel-cmd.dir/accel_cmd.c.o
[ 98%] Linking C executable accel-cmd
[ 98%] Built target accel-cmd
[ 99%] Generating driver/ipoe.ko
/bin/sh: 1: ./tools/bpf/resolve_btfids/resolve_btfids: not found
make[4]: *** [/usr/src/linux-headers-6.1.0-11-common/scripts/Makefile.modfinal:63: /opt/accel-ppp-code/build/drivers/ipoe/driver/ipoe.ko] Error 127
make[4]: *** Deleting file '/opt/accel-ppp-code/build/drivers/ipoe/driver/ipoe.ko'
make[3]: *** [/usr/src/linux-headers-6.1.0-11-common/Makefile:1954: modules] Error 2
make[2]: *** [drivers/ipoe/CMakeFiles/ipoe_drv.dir/build.make:77: drivers/ipoe/driver/ipoe.ko] Error 2
make[1]: *** [CMakeFiles/Makefile2:1189: drivers/ipoe/CMakeFiles/ipoe_drv.dir/all] Error 2
make: *** [Makefile:156: all] Error 2