You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make test
....
...
libtool: compile: g++ -DPACKAGE_NAME="yuma123" -DPACKAGE_TARNAME="yuma123" -DPACKAGE_VERSION="2.14" "-DPACKAGE_STRING="yuma123 2.14"" -DPACKAGE_BUGREPORT="[email protected]" -DPACKAGE_URL="" -DPACKAGE="yuma123" -DVERSION="2.14" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -I. -DBOOST_TEST_DYN_LINK -std=c++0x -I /usr/include/libxml2 -I ../../netconf -I ../../netconf/src/yangcli/ -I../../netconf/src/agt -I../../netconf/src/mgr -I../../netconf/src/ncx -I../../netconf/src/platform -I../../netconf/src/ydump -g -O0 -MT ../../netconf/test/support/msg-util/libyumatest_la-NCMessageBuilder.lo -MD -MP -MF ../../netconf/test/support/msg-util/.deps/libyumatest_la-NCMessageBuilder.Tpo -c ../../netconf/test/support/msg-util/NCMessageBuilder.cpp -fPIC -DPIC -o ../../netconf/test/support/msg-util/.libs/libyumatest_la-NCMessageBuilder.o
In file included from ../../netconf/src/ncx/xml_util.h:85,
from ../../netconf/test/support/msg-util/NCMessageBuilder.cpp:7:
../../netconf/src/ncx/xmlns.h:80:11: error: ‘xmlChar’ does not name a type
80 | const xmlChar *name;
| ^~~~~~~
../../netconf/src/ncx/xmlns.h:86:5: error: ‘xmlChar’ does not name a type
86 | xmlChar *ns_pfix;
| ^~~~~~~
../../netconf/src/ncx/xmlns.h:87:5: error: ‘xmlChar’ does not name a type
87 | xmlChar *ns_name;
| ^~~~~~~
../../netconf/src/ncx/xmlns.h:88:5: error: ‘xmlChar’ does not name a type
88 | xmlChar *ns_module;
| ^~~~~~~
../../netconf/src/ncx/xmlns.h:97:5: error: ‘xmlChar’ does not name a type
97 | xmlChar *nm_pfix;
| ^~~~~~~
../../netconf/src/ncx/xmlns.h:157:30: error: ‘xmlChar’ does not name a type
157 | xmlns_register_ns (const xmlChar *ns,
| ^~~~~~~
../../netconf/src/ncx/xmlns.h:158:16: error: ‘xmlChar’ does not name a type
libxml-2.0 is found by pkg-config. I even hardcoded the path but still it gives error.
#/usr/bin/pkg-config --cflags-only-I libxml-2.0
-I/usr/include/libxml2
The text was updated successfully, but these errors were encountered:
The libboost-test based framework is the legacy test system which manages the testcases in test/integ-tests and test/sys-tests. The majority of testcases that are actively used are under test/netconfd and test/yangcli and do not use libboost-test.
That said I looked into the compilation issues and fixed some caused by changes in the libxml2 compilation flags and paths: 02203ea
However the current state still fails with some libboost specific issues. e.g. libyumatest.so: undefined reference to typeinfo for boost::unit_test::output::plain_report_formatter'`
Thanks a lot for replying back.
I was able to get test/ compiling after a bit of struggle.
You have confirmed my understanding of where test/ stands right now.
I'm getting this error:
make test
....
...
libtool: compile: g++ -DPACKAGE_NAME="yuma123" -DPACKAGE_TARNAME="yuma123" -DPACKAGE_VERSION="2.14" "-DPACKAGE_STRING="yuma123 2.14"" -DPACKAGE_BUGREPORT="[email protected]" -DPACKAGE_URL="" -DPACKAGE="yuma123" -DVERSION="2.14" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -I. -DBOOST_TEST_DYN_LINK -std=c++0x -I /usr/include/libxml2 -I ../../netconf -I ../../netconf/src/yangcli/ -I../../netconf/src/agt -I../../netconf/src/mgr -I../../netconf/src/ncx -I../../netconf/src/platform -I../../netconf/src/ydump -g -O0 -MT ../../netconf/test/support/msg-util/libyumatest_la-NCMessageBuilder.lo -MD -MP -MF ../../netconf/test/support/msg-util/.deps/libyumatest_la-NCMessageBuilder.Tpo -c ../../netconf/test/support/msg-util/NCMessageBuilder.cpp -fPIC -DPIC -o ../../netconf/test/support/msg-util/.libs/libyumatest_la-NCMessageBuilder.o
In file included from ../../netconf/src/ncx/xml_util.h:85,
from ../../netconf/test/support/msg-util/NCMessageBuilder.cpp:7:
../../netconf/src/ncx/xmlns.h:80:11: error: ‘xmlChar’ does not name a type
80 | const xmlChar *name;
| ^~~~~~~
../../netconf/src/ncx/xmlns.h:86:5: error: ‘xmlChar’ does not name a type
86 | xmlChar *ns_pfix;
| ^~~~~~~
../../netconf/src/ncx/xmlns.h:87:5: error: ‘xmlChar’ does not name a type
87 | xmlChar *ns_name;
| ^~~~~~~
../../netconf/src/ncx/xmlns.h:88:5: error: ‘xmlChar’ does not name a type
88 | xmlChar *ns_module;
| ^~~~~~~
../../netconf/src/ncx/xmlns.h:97:5: error: ‘xmlChar’ does not name a type
97 | xmlChar *nm_pfix;
| ^~~~~~~
../../netconf/src/ncx/xmlns.h:157:30: error: ‘xmlChar’ does not name a type
157 | xmlns_register_ns (const xmlChar *ns,
| ^~~~~~~
../../netconf/src/ncx/xmlns.h:158:16: error: ‘xmlChar’ does not name a type
libxml-2.0 is found by pkg-config. I even hardcoded the path but still it gives error.
#/usr/bin/pkg-config --cflags-only-I libxml-2.0
-I/usr/include/libxml2
The text was updated successfully, but these errors were encountered: