./netopeerguid.c: In function ‘node_metadata_basic’:
./netopeerguid.c:486:9: error: too few arguments to function ‘ly_ctx_get_module’
mod = ly_ctx_get_module(node->module->ctx, "ietf-netconf-acm", NULL);
^
In file included from /usr/local/include/libnetconf2/session_client.h:22:0,
from /usr/local/include/nc_client.h:32,
from ./netopeerguid.c:67:
/usr/include/libyang/libyang.h:1416:26: note: declared here
const struct lys_module ly_ctx_get_module(const struct ly_ctx ctx, const char name, const char revision, int implemented);
^
./netopeerguid.c: In function ‘node_metadata_type’:
./netopeerguid.c:615:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < type->info.bits.count; ++i) {
^
./netopeerguid.c:641:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < type->info.enums.count; ++i) {
^
./netopeerguid.c:651:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < type->info.ident.count; ++i) {
^
./netopeerguid.c:674:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < type->info.str.pat_count; ++i) {
^
./netopeerguid.c:684:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < type->info.uni.count; ++i) {
^
./netopeerguid.c:730:29: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
In file included from /usr/include/string.h:633:0,
from /usr/include/sys/un.h:37,
from ./netopeerguid.c:56:
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’
if (!module || !type->module_name || !strcmp(type->module_name, module->name)) {
^
./netopeerguid.c:733:41: error: ‘struct lys_type’ has no member named ‘module_name’
asprintf(&str, "%s:%s", type->module_name, type->der->name);
^
./netopeerguid.c: In function ‘libyang_query’:
./netopeerguid.c:2037:13: error: too few arguments to function ‘ly_ctx_get_node’
node = ly_ctx_get_node(nc_session_get_ctx(locked_session->session), NULL, filter);
^
In file included from /usr/local/include/libnetconf2/session_client.h:22:0,
from /usr/local/include/nc_client.h:32,
from ./netopeerguid.c:67:
/usr/include/libyang/libyang.h:1593:24: note: declared here
const struct lys_node ly_ctx_get_node(const struct ly_ctx ctx, const struct lys_node start, const char data_path, int output);
^
./netopeerguid.c:2043:13: error: too few arguments to function ‘ly_ctx_get_module’
module = ly_ctx_get_module(nc_session_get_ctx(locked_session->session), filter, NULL);
^
In file included from /usr/local/include/libnetconf2/session_client.h:22:0,
from /usr/local/include/nc_client.h:32,
from ./netopeerguid.c:67:
/usr/include/libyang/libyang.h:1416:26: note: declared here
const struct lys_module ly_ctx_get_module(const struct ly_ctx ctx, const char name, const char revision, int implemented);
^
./netopeerguid.c: In function ‘clb_print’:
./netopeerguid.c:2140:5: warning: enumeration value ‘NC_VERB_DEBUG_LOWLVL’ not handled in switch [-Wswitch]
switch (level) {
^
make[1]: [netopeerguid] Error 1
make[1]: Leaving directory `/var/www/netopeer-gui/install/netopeerguid/src'
make: [install-recursive] Error 1
./netopeerguid.c: In function ‘node_metadata_basic’: ./netopeerguid.c:486:9: error: too few arguments to function ‘ly_ctx_get_module’ mod = ly_ctx_get_module(node->module->ctx, "ietf-netconf-acm", NULL); ^ In file included from /usr/local/include/libnetconf2/session_client.h:22:0, from /usr/local/include/nc_client.h:32, from ./netopeerguid.c:67: /usr/include/libyang/libyang.h:1416:26: note: declared here const struct lys_module ly_ctx_get_module(const struct ly_ctx ctx, const char name, const char revision, int implemented); ^ ./netopeerguid.c: In function ‘node_metadata_type’: ./netopeerguid.c:615:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < type->info.bits.count; ++i) { ^ ./netopeerguid.c:641:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < type->info.enums.count; ++i) { ^ ./netopeerguid.c:651:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < type->info.ident.count; ++i) { ^ ./netopeerguid.c:674:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < type->info.str.pat_count; ++i) { ^ ./netopeerguid.c:684:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < type->info.uni.count; ++i) { ^ ./netopeerguid.c:730:29: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ In file included from /usr/include/string.h:633:0, from /usr/include/sys/un.h:37, from ./netopeerguid.c:56: ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:730:58: error: ‘struct lys_type’ has no member named ‘module_name’ if (!module || !type->module_name || !strcmp(type->module_name, module->name)) { ^ ./netopeerguid.c:733:41: error: ‘struct lys_type’ has no member named ‘module_name’ asprintf(&str, "%s:%s", type->module_name, type->der->name); ^ ./netopeerguid.c: In function ‘libyang_query’: ./netopeerguid.c:2037:13: error: too few arguments to function ‘ly_ctx_get_node’ node = ly_ctx_get_node(nc_session_get_ctx(locked_session->session), NULL, filter); ^ In file included from /usr/local/include/libnetconf2/session_client.h:22:0, from /usr/local/include/nc_client.h:32, from ./netopeerguid.c:67: /usr/include/libyang/libyang.h:1593:24: note: declared here const struct lys_node ly_ctx_get_node(const struct ly_ctx ctx, const struct lys_node start, const char data_path, int output); ^ ./netopeerguid.c:2043:13: error: too few arguments to function ‘ly_ctx_get_module’ module = ly_ctx_get_module(nc_session_get_ctx(locked_session->session), filter, NULL); ^ In file included from /usr/local/include/libnetconf2/session_client.h:22:0, from /usr/local/include/nc_client.h:32, from ./netopeerguid.c:67: /usr/include/libyang/libyang.h:1416:26: note: declared here const struct lys_module ly_ctx_get_module(const struct ly_ctx ctx, const char name, const char revision, int implemented); ^ ./netopeerguid.c: In function ‘clb_print’: ./netopeerguid.c:2140:5: warning: enumeration value ‘NC_VERB_DEBUG_LOWLVL’ not handled in switch [-Wswitch] switch (level) { ^ make[1]: [netopeerguid] Error 1 make[1]: Leaving directory `/var/www/netopeer-gui/install/netopeerguid/src' make: [install-recursive] Error 1