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
{{ message }}
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
[ 3%] Building CXX object CMakeFiles/mctpd.dir/src/main.cpp.o
In file included from /home/xconn-tw1/TEST/mctpd/include/mctp_device.hpp:19,
from /home/xconn-tw1/TEST/mctpd/include/mctp_endpoint.hpp:19,
from /home/xconn-tw1/TEST/mctpd/include/mctp_bridge.hpp:19,
from /home/xconn-tw1/TEST/mctpd/include/MCTPBinding.hpp:3,
from /home/xconn-tw1/TEST/mctpd/src/main.cpp:1:
/home/xconn-tw1/TEST/mctpd/include/mctp_dbus_interfaces.hpp:26:10: fatal error: xyz/openbmc_project/Inventory/Decorator/LocationCode/server.hpp: No such file or directory
26 | #include <xyz/openbmc_project/Inventory/Decorator/LocationCode/server.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/mctpd.dir/build.make:82: CMakeFiles/mctpd.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:260: CMakeFiles/mctpd.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
(1) I can't find any directory named "LocationCode" ?
(2) I try to remove "smbus" part in configuration/mctp_config.json, recreate "build" directory, cmake and make. But the question still appears. What should I do if I only need PCIe interface or SMBus ?
Thanks !!
The text was updated successfully, but these errors were encountered:
...failed updating 4 targets...
...skipped 20 targets...
gmake[2]: *** [CMakeFiles/Boost.dir/build.make:86: Boost-prefix/src/Boost-stamp/Boost-build] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:97: CMakeFiles/Boost.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
-- Configuring done
CMake Error at CMakeLists.txt:155 (add_executable):
Target "test-mctpd" links to target "GTest::gmock" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I follow the steps to build in mctpd/:
But there is error message in step 4 :
[ 3%] Building CXX object CMakeFiles/mctpd.dir/src/main.cpp.o
In file included from /home/xconn-tw1/TEST/mctpd/include/mctp_device.hpp:19,
from /home/xconn-tw1/TEST/mctpd/include/mctp_endpoint.hpp:19,
from /home/xconn-tw1/TEST/mctpd/include/mctp_bridge.hpp:19,
from /home/xconn-tw1/TEST/mctpd/include/MCTPBinding.hpp:3,
from /home/xconn-tw1/TEST/mctpd/src/main.cpp:1:
/home/xconn-tw1/TEST/mctpd/include/mctp_dbus_interfaces.hpp:26:10: fatal error: xyz/openbmc_project/Inventory/Decorator/LocationCode/server.hpp: No such file or directory
26 | #include <xyz/openbmc_project/Inventory/Decorator/LocationCode/server.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/mctpd.dir/build.make:82: CMakeFiles/mctpd.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:260: CMakeFiles/mctpd.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
(1) I can't find any directory named "LocationCode" ?
(2) I try to remove "smbus" part in configuration/mctp_config.json, recreate "build" directory, cmake and make. But the question still appears. What should I do if I only need PCIe interface or SMBus ?
Thanks !!
The text was updated successfully, but these errors were encountered: