netopeer2
netopeer2 copied to clipboard
netopeer2 Installation Failed
when i try to install netopeer2 i got an issue, please Help Thanks
Cloning into 'Netopeer2'...
remote: Enumerating objects: 109, done.
remote: Counting objects: 100% (109/109), done.
remote: Compressing objects: 100% (100/100), done.
remote: Total 109 (delta 21), reused 45 (delta 7), pack-reused 0 (from 0)
Receiving objects: 100% (109/109), 192.87 KiB | 1.89 MiB/s, done.
Resolving deltas: 100% (21/21), done.
Note: switching to 'c596ed5635ca0013b62785c1733e61818b5ebfc6'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
-- The C compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- libnetconf2 was compiled with support of up to 6 threads
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.0.2")
-- Found LibSSH: /usr/local/include (found suitable version "0.10.90", minimum required is "0.7.1")
-- Found LibNETCONF2: /usr/local/lib/libnetconf2.so
-- Looking for NC_ENABLED_SSH
-- Looking for NC_ENABLED_SSH - found
-- Looking for NC_ENABLED_TLS
-- Looking for NC_ENABLED_TLS - found
-- Looking for vdprintf
-- Looking for vdprintf - found
-- Looking for asprintf
-- Looking for asprintf - found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for get_current_dir_name
-- Looking for get_current_dir_name - found
-- Looking for strndup
-- Looking for strndup - found
-- Looking for getline
-- Looking for getline - found
-- Looking for strdupa
-- Looking for strdupa - found
-- Looking for strchrnul
-- Looking for strchrnul - found
-- Found CURL: /usr/local/lib/cmake/CURL/CURLConfig.cmake (found version "7.72.0-DEV")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for stdatomic.h
-- Looking for stdatomic.h - found
-- Found LibYANG: /usr/local/lib/libyang.so (found version "1.9.2")
-- Found Sysrepo: /usr/local/lib/libsysrepo.so
-- Missing tools (devscripts, debhelper package) for building DEB package.
-- Missing tools (rpm package) for building RPM package.
-- Looking for eaccess
-- Looking for eaccess - found
-- Looking for mkstemps
-- Looking for mkstemps - found
-- roff2html not found, html version of man pages cannot be generated!
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
NP2SRV_DATA_CHANGE_TIMEOUT
NP2SRV_DATA_CHANGE_WAIT
-- Build files have been written to: /home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/build
[ 5%] Building C object CMakeFiles/serverobj.dir/src/common.c.o
[ 11%] Building C object CMakeFiles/compat.dir/compat/compat.c.o
[ 11%] Built target compat
[ 16%] Building C object cli/CMakeFiles/netopeer2-cli.dir/main.c.o
[ 22%] Building C object cli/CMakeFiles/netopeer2-cli.dir/commands.c.o
[ 27%] Building C object CMakeFiles/serverobj.dir/src/netconf.c.o
[ 33%] Building C object CMakeFiles/serverobj.dir/src/netconf_monitoring.c.o
[ 38%] Building C object CMakeFiles/serverobj.dir/src/netconf_acm.c.o
[ 44%] Building C object cli/CMakeFiles/netopeer2-cli.dir/completion.c.o
[ 50%] Building C object CMakeFiles/serverobj.dir/src/netconf_nmda.c.o
[ 55%] Building C object cli/CMakeFiles/netopeer2-cli.dir/configuration.c.o
[ 61%] Building C object CMakeFiles/serverobj.dir/src/log.c.o
[ 66%] Building C object CMakeFiles/serverobj.dir/src/netconf_server.c.o
[ 72%] Building C object cli/CMakeFiles/netopeer2-cli.dir/linenoise/linenoise.c.o
[ 77%] Linking C executable ../netopeer2-cli
[ 83%] Building C object CMakeFiles/serverobj.dir/src/netconf_server_ssh.c.o
[ 83%] Built target netopeer2-cli
[ 88%] Building C object CMakeFiles/serverobj.dir/src/netconf_server_tls.c.o
[ 88%] Built target serverobj
[ 94%] Building C object CMakeFiles/netopeer2-server.dir/src/main.c.o
[100%] Linking C executable netopeer2-server
/usr/bin/ld: CMakeFiles/serverobj.dir/src/common.c.o: in function `np2srv_url_setcap':
/home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:202: undefined reference to `curl_version_info'
/usr/bin/ld: CMakeFiles/serverobj.dir/src/common.c.o: in function `url_open':
/home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:294: undefined reference to `curl_global_init'
/usr/bin/ld: /home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:295: undefined reference to `curl_easy_init'
/usr/bin/ld: /home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:296: undefined reference to `curl_easy_setopt'
/usr/bin/ld: /home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:297: undefined reference to `curl_easy_setopt'
/usr/bin/ld: /home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:298: undefined reference to `curl_easy_setopt'
/usr/bin/ld: /home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:299: undefined reference to `curl_easy_setopt'
/usr/bin/ld: /home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:300: undefined reference to `curl_easy_perform'
/usr/bin/ld: /home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:311: undefined reference to `curl_easy_cleanup'
/usr/bin/ld: /home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:312: undefined reference to `curl_global_cleanup'
/usr/bin/ld: CMakeFiles/serverobj.dir/src/common.c.o: in function `op_export_url':
/home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:377: undefined reference to `curl_global_init'
/usr/bin/ld: /home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:378: undefined reference to `curl_easy_init'
/usr/bin/ld: /home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:379: undefined reference to `curl_easy_setopt'
/usr/bin/ld: /home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:380: undefined reference to `curl_easy_setopt'
/usr/bin/ld: /home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:381: undefined reference to `curl_easy_setopt'
/usr/bin/ld: /home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:382: undefined reference to `curl_easy_setopt'
/usr/bin/ld: /home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:383: undefined reference to `curl_easy_setopt'
/usr/bin/ld: CMakeFiles/serverobj.dir/src/common.c.o:/home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:384: more undefined references to `curl_easy_setopt' follow
/usr/bin/ld: CMakeFiles/serverobj.dir/src/common.c.o: in function `op_export_url':
/home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:385: undefined reference to `curl_easy_perform'
/usr/bin/ld: /home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:396: undefined reference to `curl_easy_cleanup'
/usr/bin/ld: /home/interns/O-DU_High/o-du-l2/build/netconf/Netopeer2/src/common.c:397: undefined reference to `curl_global_cleanup'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/netopeer2-server.dir/build.make:121: netopeer2-server] Error 1
make[1]: *** [CMakeFiles/Makefile2:177: CMakeFiles/netopeer2-server.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
-e ***** NETOPEER2 INSTALLATION FAILED *****