Thanks a lot for quick response. I did not see any error or failure message during compilation. Below is the snapshot of last few lines of compilation.
---------------------------------------------------------------------- Libraries have been installed in:
*** /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/lib***
If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following:
*** - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable***
*** during execution***
*** - add LIBDIR to the 'LD_RUN_PATH' environment variable***
*** during linking***
*** - use the '-Wl,-rpath -Wl,LIBDIR' linker flag***
*** - have your system administrator add LIBDIR to '/etc/ld.so.conf'***
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[4]: Nothing to be done for install-data-am'.*** ***make[4]: Leaving directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/src/libsodium' make[3]: Leaving directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/src/libsodium'*** ***make[2]: Leaving directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/src/libsodium' make[2]: Entering directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/src'*** ***make[3]: Entering directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/src' make[3]: Nothing to be done for install-exec-am'.*** ***make[3]: Nothing to be done for install-data-am'. make[3]: Leaving directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/src'*** ***make[2]: Leaving directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/src' make[1]: Leaving directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/src'*** ***Making install in test*** ***make[1]: Entering directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/test' Making install in default make[2]: Entering directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/test/default'*** ***make[3]: Entering directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/test/default' make[3]: Nothing to be done for install-exec-am'.*** ***make[3]: Nothing to be done for install-data-am'. make[3]: Leaving directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/test/default'*** ***make[2]: Leaving directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/test/default' make[2]: Entering directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/test'*** ***make[3]: Entering directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/test' make[3]: Nothing to be done for install-exec-am'.*** ***make[3]: Nothing to be done for install-data-am'. make[3]: Leaving directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/test'*** ***make[2]: Leaving directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/test' make[1]: Leaving directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/test'*** ***make[1]: Entering directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build' make[2]: Entering directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build'*** ***make[2]: Nothing to be done for install-exec-am'.
*** /usr/bin/mkdir -p '/home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/lib/pkgconfig'***
*** /usr/bin/install -c -m 644 libsodium.pc '/home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build/lib/pkgconfig'*** make[2]: Leaving directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build'*** ***make[1]: Leaving directory /home/arjun/ziti-tunnel-sdk-c/_deps/libsodium-build' CMake Warning at /usr/local/share/cmake-3.19/Modules/CPack.cmake:412 (message):
*** CPack.cmake has already been included!!*** Call Stack (most recent call first):
*** _deps/ziti-sdk-c-src/CMakeLists.txt:66 (include)***
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.5") found components: doxygen missing components: dot Doxygen build started -- Configuring done -- Generating done -- Build files have been written to: /home/arjun/ziti-tunnel-sdk-c [root@testvm ziti-tunnel-sdk-c]# cd programs/ziti-edge-tunnel/ [root@testvm ziti-edge-tunnel]# ls -ltr total 40 -rw-r--r--. 1 root root 11384 Oct 30 00:40 ziti-edge-tunnel.c drwxr-xr-x. 4 root root 75 Oct 30 00:40 netif_driver -rw-r--r--. 1 root root 1535 Oct 30 00:40 dnsmasq_manager.c -rw-r--r--. 1 root root 908 Oct 30 00:40 CMakeLists.txt -rw-r--r--. 1 root root 12642 Oct 30 00:44 Makefile -rw-r--r--. 1 root root 1349 Oct 30 00:44 cmake_install.cmake drwxr-xr-x. 4 root root 130 Oct 30 00:44 CMakeFiles [root@testvm ziti-edge-tunnel]#
I could not see the executable either. Below is the command i used.
Request you to kindly let me know in case of further information and what i could be missing here.
Ah! my bad. Missed out to mention. Tried that, but observed an error.
*/home/arjun/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/include/time.h:57:12: note: expected ‘const time_t *’ {aka ‘const long int *’} but argument is of type ‘int64_t *’ {aka 'long long int '}
struct tm *gmtime (const time_t );
^~~~~~*
[ 87%] Building C object _deps/ziti-sdk-c-build/library/CMakeFiles/ziti.dir/ziti.c.o In file included from /home/arjun/ziti-tunnel-sdk-c/_deps/ziti-sdk-c-src/library/…/inc_internal/zt_internal.h:29,
from /home/arjun/ziti-tunnel-sdk-c/_deps/ziti-sdk-c-src/library/ziti.c:24:*
/home/arjun/ziti-tunnel-sdk-c/_deps/ziti-sdk-c-src/library/…/inc_internal/metrics.h:33:13: fatal error: bits/atomic.h: No such file or directory
@TheLumberjack, unfortunately no. i could figure out bits/atomic.h would be a part of ulibc, though i had compiled the toolchain enabling ulibc, i am not able to find the file.
Any help on this regard would be much appreciated. Kindly do the needful.