make[3]: Entering directory '/build/lede-16.12/slaves/phase2/mipsel_mips32r2/build/sdk/feeds/packages/net/softethervpn' # Softether compiles first a tool called hamcorebuilder which is essentially an archiver. Then the compilation calls this archiver to pack all # resource files (*.html, *.config, .txt, readme, languages) it needs to run in an archive file called hamcore.se2. The three executables are then built # and they will have a runtime dependency on this resource archive. By default OpenWRT build process cross compiles all targets in the makefile # generating therefore an error when the archive is generated since the executable is crosscompiled to run on the router and instead it is run # by the build host. The workaround is to compile the archiver with the host environment, generate the hamcore.se2 archive and cross compile everything # again without regenerating the archive. # we clean the last cross compiled version make -C /build/lede-16.12/slaves/phase2/mipsel_mips32r2/build/sdk/build_dir/target-mipsel_mips32r2_musl-1.1.15/v4.21-9613 clean make[4]: Entering directory '/build/lede-16.12/slaves/phase2/mipsel_mips32r2/build/sdk/build_dir/target-mipsel_mips32r2_musl-1.1.15/v4.21-9613' rm -f tmp/objs/Mayaqua/Cfg.o tmp/objs/Mayaqua/Encrypt.o tmp/objs/Mayaqua/FileIO.o tmp/objs/Mayaqua/Internat.o tmp/objs/Mayaqua/Kernel.o tmp/objs/Mayaqua/Mayaqua.o tmp/objs/Mayaqua/Memory.o tmp/objs/Mayaqua/Microsoft.o tmp/objs/Mayaqua/Network.o tmp/objs/Mayaqua/Object.o tmp/objs/Mayaqua/OS.o tmp/objs/Mayaqua/Pack.o tmp/objs/Mayaqua/Secure.o tmp/objs/Mayaqua/Str.o tmp/objs/Mayaqua/Table.o tmp/objs/Mayaqua/TcpIp.o tmp/objs/Mayaqua/Tick64.o tmp/objs/Mayaqua/Tracking.o tmp/objs/Mayaqua/Unix.o tmp/objs/Mayaqua/Win32.o rm -f tmp/objs/Cedar/Account.o tmp/objs/Cedar/Admin.o tmp/objs/Cedar/AzureClient.o tmp/objs/Cedar/AzureServer.o tmp/objs/Cedar/Bridge.o tmp/objs/Cedar/BridgeUnix.o tmp/objs/Cedar/BridgeWin32.o tmp/objs/Cedar/Cedar.o tmp/objs/Cedar/CedarPch.o tmp/objs/Cedar/Client.o tmp/objs/Cedar/CM.o tmp/objs/Cedar/Command.o tmp/objs/Cedar/Connection.o tmp/objs/Cedar/Console.o tmp/objs/Cedar/Database.o tmp/objs/Cedar/DDNS.o tmp/objs/Cedar/EM.o tmp/objs/Cedar/EtherLog.o tmp/objs/Cedar/Hub.o tmp/objs/Cedar/Interop_OpenVPN.o tmp/objs/Cedar/Interop_SSTP.o tmp/objs/Cedar/IPsec.o tmp/objs/Cedar/IPsec_EtherIP.o tmp/objs/Cedar/IPsec_IKE.o tmp/objs/Cedar/IPsec_IkePacket.o tmp/objs/Cedar/IPsec_IPC.o tmp/objs/Cedar/IPsec_L2TP.o tmp/objs/Cedar/IPsec_PPP.o tmp/objs/Cedar/IPsec_Win7.o tmp/objs/Cedar/Layer3.o tmp/objs/Cedar/Link.o tmp/objs/Cedar/Listener.o tmp/objs/Cedar/Logging.o tmp/objs/Cedar/Nat.o tmp/objs/Cedar/NativeStack.o tmp/objs/Cedar/NM.o tmp/objs/Cedar/NullLan.o tmp/objs/Cedar/Protocol.o tmp/objs/Cedar/Radius.o tmp/objs/Cedar/Remote.o tmp/objs/Cedar/Sam.o tmp/objs/Cedar/SecureInfo.o tmp/objs/Cedar/SecureNAT.o tmp/objs/Cedar/SeLowUser.o tmp/objs/Cedar/Server.o tmp/objs/Cedar/Session.o tmp/objs/Cedar/SM.o tmp/objs/Cedar/SW.o tmp/objs/Cedar/UdpAccel.o tmp/objs/Cedar/UT.o tmp/objs/Cedar/VG.o tmp/objs/Cedar/Virtual.o tmp/objs/Cedar/VLan.o tmp/objs/Cedar/VLanUnix.o tmp/objs/Cedar/VLanWin32.o tmp/objs/Cedar/WaterMark.o tmp/objs/Cedar/WebUI.o tmp/objs/Cedar/WinUi.o tmp/objs/Cedar/Wpc.o rm -f tmp/objs/vpnserver.o rm -f tmp/as/vpnserver.a rm -f bin/vpnserver/vpnserver rm -f bin/vpnserver/hamcore.se2 rm -f tmp/objs/vpnclient.o rm -f tmp/as/vpnclient.a rm -f bin/vpnclient/vpnclient rm -f bin/vpnclient/hamcore.se2 rm -f tmp/objs/vpnbridge.o rm -f tmp/as/vpnbridge.a rm -f bin/vpnbridge/vpnbridge rm -f bin/vpnbridge/hamcore.se2 rm -f tmp/objs/vpncmd.o rm -f tmp/as/vpncmd.a rm -f bin/vpncmd/vpncmd rm -f bin/vpncmd/hamcore.se2 rm -f tmp/hamcorebuilder rm -f src/bin/BuiltHamcoreFiles/unix/hamcore.se2 make[4]: Leaving directory '/build/lede-16.12/slaves/phase2/mipsel_mips32r2/build/sdk/build_dir/target-mipsel_mips32r2_musl-1.1.15/v4.21-9613' # we compile the hamcorebuilder utility and generate hamcore archive using host environment make -C /build/lede-16.12/slaves/phase2/mipsel_mips32r2/build/sdk/build_dir/target-mipsel_mips32r2_musl-1.1.15/v4.21-9613 src/bin/BuiltHamcoreFiles/unix/hamcore.se2 make[4]: Entering directory '/build/lede-16.12/slaves/phase2/mipsel_mips32r2/build/sdk/build_dir/target-mipsel_mips32r2_musl-1.1.15/v4.21-9613' cc -DNDEBUG -DVPN_SPEED -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -I./src/ -I./src/Cedar/ -I./src/Mayaqua/ -O2 -fsigned-char -c src/Mayaqua/Cfg.c -o tmp/objs/Mayaqua/Cfg.o In file included from src/Mayaqua/Cfg.c:125:0: ./src/Mayaqua/Mayaqua.h:285:31: fatal error: readline/readline.h: No such file or directory #include ^ compilation terminated. Makefile:64: recipe for target 'tmp/objs/Mayaqua/Cfg.o' failed make[4]: *** [tmp/objs/Mayaqua/Cfg.o] Error 1 make[4]: Leaving directory '/build/lede-16.12/slaves/phase2/mipsel_mips32r2/build/sdk/build_dir/target-mipsel_mips32r2_musl-1.1.15/v4.21-9613' Makefile:131: recipe for target '/build/lede-16.12/slaves/phase2/mipsel_mips32r2/build/sdk/build_dir/target-mipsel_mips32r2_musl-1.1.15/v4.21-9613/.built' failed make[3]: *** [/build/lede-16.12/slaves/phase2/mipsel_mips32r2/build/sdk/build_dir/target-mipsel_mips32r2_musl-1.1.15/v4.21-9613/.built] Error 2 make[3]: Leaving directory '/build/lede-16.12/slaves/phase2/mipsel_mips32r2/build/sdk/feeds/packages/net/softethervpn'