<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>HiŁ¬All,</div><div><br></div><div>I'm running <span style="font-family: arial; white-space: pre-wrap;"> tests in SDK . In sdbusplus, follow the steps:</span></div><div><pre style="width: 1076.34px;">./bootstrap.sh
./configure ${CONFIGURE_FLAGS} --enable-oe-sdk
make check</pre><pre style="width: 1076.34px;">when "make check", It shows next , I don't konw what went wrong, and how to fix it? </pre><pre style="width: 1076.34px;">Making check in .
make[1]: Entering directory `/home/root1/sdbusplus'
CXX sdbusplus/libsdbusplus_la-exception.lo
CXX sdbusplus/libsdbusplus_la-sdbus.lo
CXXLD libsdbusplus.la
make[1]: Leaving directory `/home/root1/sdbusplus'
Making check in tools
make[1]: Entering directory `/home/root1/sdbusplus/tools'
running build
make[1]: Leaving directory `/home/root1/sdbusplus/tools'
Making check in example
make[1]: Entering directory `/home/root1/sdbusplus/example'
../tools/sdbus++ \
-r . -t ../tools/sdbusplus/templates \
interface server-header net.poettering.Calculator > net/poettering/Calculator/server.hpp
../tools/sdbus++ \
-r . -t ../tools/sdbusplus/templates \
interface server-cpp net.poettering.Calculator > net/poettering/Calculator/server.cpp
../tools/sdbus++ \
-r . -t ../tools/sdbusplus/templates \
error exception-header net.poettering.Calculator > net/poettering/Calculator/error.hpp
../tools/sdbus++ \
-r . -t ../tools/sdbusplus/templates \
error exception-cpp net.poettering.Calculator > net/poettering/Calculator/error.cpp
../tools/sdbus++ \
-r . -t ../tools/sdbusplus/templates \
interface markdown net.poettering.Calculator > calculator.md
../tools/sdbus++ \
-r . -t ../tools/sdbusplus/templates \
error markdown net.poettering.Calculator >> calculator.md
make check-am
make[2]: Entering directory `/home/root1/sdbusplus/example'
CXX list_users-list-users.o
CXXLD list-users
CXX calculator_server-calculator-server.o
CXX net/poettering/Calculator/calculator_server-server.o
CXX net/poettering/Calculator/calculator_server-error.o
CXXLD calculator-server
make[2]: Leaving directory `/home/root1/sdbusplus/example'
make[1]: Leaving directory `/home/root1/sdbusplus/example'
Making check in test
make[1]: Entering directory `/home/root1/sdbusplus/test'
make bus_list_names bus_match exception_sdbus_error message_append message_read message_native_types message_types utility_tuple_to_array utility_type_traits vtable_vtable timer
make[2]: Entering directory `/home/root1/sdbusplus/test'
CXX bus/list_names.o
CXXLD bus_list_names
/home/root1/sdk/sysroots/x86_64-oesdk-linux/usr/libexec/arm-openbmc-linux-gnueabi/gcc/arm-openbmc-linux-gnueabi/9.2.0/real-ld: /home/root1/sdk/sysroots/armv5e-openbmc-linux-gnueabi/usr/lib/libgmock_main.a(gmock_main.cc.o): in function `main':
/usr/src/debug/googletest/1.8.1-r0/git/googlemock/src/gmock_main.cc:52: undefined reference to `testing::InitGoogleMock(int*, char**)'
collect2: error: ld returned 1 exit status
make[2]: *** [bus_list_names] Error 1
make[2]: Leaving directory `/home/root1/sdbusplus/test'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/root1/sdbusplus/test'
make: *** [check-recursive] Error 1
</pre></div><div>Johny</div><div>Thanks</div></div><br><br><span title="neteasefooter"><p> </p></span>