在CMake时添加-ldl等编译选项:TARGET_LINK_LIBRARIES

本文介绍了一个用于Android平台上的动态注入库构建过程。通过设置源文件列表并使用CMake指令添加可执行文件,最终链接到动态库(dl)以实现特定功能。
部署运行你感兴趣的模型镜像
SET(SRC_LIST src/main/cpp/AndroidInjectSo.c
    src/main/cpp/myptrace.c)
add_executable(AndroidInjectSo ${SRC_LIST})
TARGET_LINK_LIBRARIES(AndroidInjectSo dl)

您可能感兴趣的与本文相关的镜像

ACE-Step

ACE-Step

音乐合成
ACE-Step

ACE-Step是由中国团队阶跃星辰(StepFun)与ACE Studio联手打造的开源音乐生成模型。 它拥有3.5B参数量,支持快速高质量生成、强可控性和易于拓展的特点。 最厉害的是,它可以生成多种语言的歌曲,包括但不限于中文、英文、日文等19种语言

See <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/1278/display/redirect> Changes: ------------------------------------------ [...truncated 6.47 MB...] "../lib" This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/midware-1.0> >>> midware 1.0 Building PATH="<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/host/bin>:<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/host/sbin>:/usr/local/bin:/usr/bin" /usr/local/bin/make -j4 -C <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/midware-1.0/> Scanning dependencies of target tpRpcCo Scanning dependencies of target tpRpc Scanning dependencies of target tpNotifyCo [ 2%] Building C object CMakeFiles/tpRpcCo.dir/tpRpc/tpRpcCo.c.o Scanning dependencies of target fepPacket [ 4%] Building C object CMakeFiles/tpRpc.dir/tpRpc/tpRpc.c.o [ 6%] Building C object CMakeFiles/tpNotifyCo.dir/tpNotify/tpNotifyCo.c.o [ 8%] Building C object CMakeFiles/fepPacket.dir/fepPacket/fepPacket.c.o [ 10%] Linking C shared library <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/lib/libtpRpcCo.so> [ 13%] Linking C shared library <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/lib/libtpRpc.so> [ 15%] Building C object CMakeFiles/tpNotifyCo.dir/tpNotify/tpNotifyField.c.o [ 17%] Building C object CMakeFiles/fepPacket.dir/fepPacket/dmpPacket.c.o [ 19%] Linking C shared library <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/lib/libtpNotifyCo.so> [ 21%] Linking C shared library <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/lib/libfepPacket.so> [ 21%] Built target tpRpcCo [ 21%] Built target tpRpc [ 21%] Built target tpNotifyCo Scanning dependencies of target tpConfig Scanning dependencies of target fepPacketCo [ 23%] Building C object CMakeFiles/tpConfig.dir/tpConfig/tpConfig.c.o [ 26%] Building C object CMakeFiles/fepPacketCo.dir/fepPacket/fepPacketCo.c.o [ 26%] Built target fepPacket Scanning dependencies of target tpConfigCo [ 28%] Building C object CMakeFiles/fepPacketCo.dir/fepPacket/dmpPacketCo.c.o [ 30%] Building C object CMakeFiles/tpConfigCo.dir/tpConfig/tpConfigCo.c.o [ 32%] Building C object CMakeFiles/tpConfig.dir/tpConfig/tpConfigField.c.o [ 34%] Building C object CMakeFiles/tpConfigCo.dir/tpConfig/tpConfigField.c.o [ 36%] Linking C shared library <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/lib/libfepPacketCo.so> [ 39%] Building C object CMakeFiles/tpConfigCo.dir/tpConfig/tpConfigCoOld.c.o [ 41%] Building C object CMakeFiles/tpConfig.dir/tpConfig/tpConfigOld.c.o [ 43%] Linking C shared library <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/lib/libtpConfigCo.so> Scanning dependencies of target tpDal [ 45%] Linking C shared library <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/lib/libtpConfig.so> [ 47%] Building C object CMakeFiles/tpDal.dir/tpDal/dalAdo.c.o [ 47%] Built target fepPacketCo [ 50%] Building C object CMakeFiles/tpDal.dir/tpDal/dal.c.o [ 50%] Built target tpConfigCo Scanning dependencies of target tpNotify [ 50%] Built target tpConfig [ 52%] Building C object CMakeFiles/tpDal.dir/tpDal/dalLib.c.o [ 54%] Building C object CMakeFiles/tpNotify.dir/tpNotify/tpNotify.c.o [ 56%] Linking C shared library <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/lib/libtpDal.so> Scanning dependencies of target tpData Scanning dependencies of target fepDal [ 58%] Building C object CMakeFiles/tpNotify.dir/tpNotify/tpNotifyField.c.o [ 60%] Building C object CMakeFiles/tpData.dir/tpData/tpData.c.o [ 63%] Building C object CMakeFiles/fepDal.dir/tpDal/dalAdo.c.o [ 65%] Linking C shared library <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/lib/libtpNotify.so> [ 67%] Building C object CMakeFiles/fepDal.dir/tpDal/dalco.c.o [ 69%] Building C object CMakeFiles/tpData.dir/tpData/tpDataObj.c.o [ 69%] Built target tpDal [ 71%] Building C object CMakeFiles/tpData.dir/tpData/tpDataField.c.o [ 73%] Building C object CMakeFiles/fepDal.dir/tpDal/dalLib.c.o [ 76%] Linking C shared library <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/lib/libtpData.so> Scanning dependencies of target tpDataCo [ 78%] Linking C shared library <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/lib/libfepDal.so> [ 78%] Built target tpNotify [ 80%] Building C object CMakeFiles/tpDataCo.dir/tpData/tpDataCo.c.o Scanning dependencies of target tpState [ 80%] Built target tpData [ 82%] Building C object CMakeFiles/tpDataCo.dir/tpData/tpDataObj.c.o [ 86%] Building C object CMakeFiles/tpState.dir/tpState/tpState.c.o [ 86%] Building C object CMakeFiles/tpDataCo.dir/tpData/tpDataField.c.o [ 86%] Built target fepDal [ 89%] Building C object CMakeFiles/tpState.dir/tpState/tpStateField.c.o [ 91%] Linking C shared library <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/lib/libtpDataCo.so> Scanning dependencies of target tpStateCo [ 93%] Linking C shared library <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/lib/libtpState.so> [ 95%] Building C object CMakeFiles/tpStateCo.dir/tpState/tpStateCo.c.o [ 97%] Building C object CMakeFiles/tpStateCo.dir/tpState/tpStateField.c.o [ 97%] Built target tpDataCo [100%] Linking C shared library <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/lib/libtpStateCo.so> [100%] Built target tpState [100%] Built target tpStateCo >>> midware 1.0 Installing to target PATH="<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/host/bin>:<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/host/sbin>:/usr/local/bin:/usr/bin" /usr/local/bin/make -j4 DESTDIR=<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target> install/fast -C <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/midware-1.0/> Install the project... -- Install configuration: "Release" -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/fepPacketConfig.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libfepPacket.so.1.0> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libfepPacket.so.0> -- Set runtime path of "<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libfepPacket.so.1.0"> to "" -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libfepPacket.so> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libfepPacketCo.so.1.0> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libfepPacketCo.so.0> -- Set runtime path of "<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libfepPacketCo.so.1.0"> to "" -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libfepPacketCo.so> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpConfig.so> -- Set runtime path of "<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpConfig.so"> to "" -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpConfigCo.so> -- Set runtime path of "<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpConfigCo.so"> to "" -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/tpconfigChannelCfg.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/tpconfigCoChannelCfg.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/tpConfigCfg.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/script/diff.py> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/script/dumpDbDataToJson.py> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/script/sed.tcl> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpState.so> -- Set runtime path of "<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpState.so"> to "" -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpStateCo.so> -- Set runtime path of "<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpStateCo.so"> to "" -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/tpStateChannelCfg.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/tpStateCoChannelCfg.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/tpStateCfg.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/dalChannelCfg.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/dalConfig.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpDal.so> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/fepDalChannelCfg.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/fepDalConfig.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libfepDal.so> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/tpDataChannelCfg.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/tpDataCfg.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpData.so> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/tpDataVcCfg.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/tpDataCoCfg.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpDataCo.so> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpRpc.so.1.0> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpRpc.so.0> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpRpc.so> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpRpcCo.so.1.0> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpRpcCo.so.0> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpRpcCo.so> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/tpRpcConfig.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/tpRpcChannelCfg.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/tpRpcCoChannelCfg.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpNotify.so.1.0> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpNotify.so.0> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpNotify.so> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpNotifyCo.so.1.0> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpNotifyCo.so.0> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/lib/libtpNotifyCo.so> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/tpNotifyConfig.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/tpNotifyChannelCfg.json> -- Installing: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/tpNotifyCoChannelCfg.json> -- Up-to-date: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/target/fep/misc/conf/db_config.json> >>> libDcm 1.0 Syncing from source dir >>> <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot >>> /../src/application/libDcm> rsync -au --chmod=u=rwX,go=rX --exclude .svn --exclude .git --exclude .hg --exclude .bzr --exclude CVS <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/../src/application/libDcm/> <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/libDcm-1.0> >>> libDcm 1.0 Configuring (mkdir -p <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/libDcm-1.0/> && cd <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/libDcm-1.0/> && rm -f CMakeCache.txt && PATH="<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/host/bin>:<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/host/sbin>:/usr/local/bin:/usr/bin" <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/host/bin/cmake> <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/libDcm-1.0/> -DCMAKE_TOOLCHAIN_FILE="<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/host/share/buildroot/toolchainfile.cmake"> -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_C_FLAGS="-pthread -lm -lrt -ldl -DHAVE_INET_PTON -g" ) -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/host/bin/aarch64-openwrt-linux-musl-gcc> -- Check for working C compiler: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/host/bin/aarch64-openwrt-linux-musl-gcc> -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/host/bin/aarch64-openwrt-linux-musl-g++> -- Check for working CXX compiler: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/host/bin/aarch64-openwrt-linux-musl-g++> -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Warning (dev) at CMakeLists.txt:22 (LINK_DIRECTORIES): This command specifies the relative path ../lib as a link directory. Policy CMP0015 is not set: link_directories() treats paths relative to the source dir. Run "cmake --help-policy CMP0015" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring done CMake Warning (dev) in CMakeLists.txt: Policy CMP0081 is not set: Relative paths not allowed in LINK_DIRECTORIES target property. Run "cmake --help-policy CMP0081" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Found relative path while evaluating link directories of "libDcm": "../lib" This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) in CMakeLists.txt: Policy CMP0081 is not set: Relative paths not allowed in LINK_DIRECTORIES target property. Run "cmake --help-policy CMP0081" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Found relative path while evaluating link directories of "libDcm": "../lib" This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/libDcm-1.0> >>> libDcm 1.0 Building PATH="<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/host/bin>:<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/host/sbin>:/usr/local/bin:/usr/bin" /usr/local/bin/make -j4 -C <http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/libDcm-1.0/> Scanning dependencies of target libDcm [ 12%] Building C object CMakeFiles/libDcm.dir/libDcm.c.o [ 37%] Building C object CMakeFiles/libDcm.dir/libFileTransfer/fileSyncToDev.c.o [ 50%] Building C object CMakeFiles/libDcm.dir/libStack/libStack.c.o [ 50%] Building C object CMakeFiles/libDcm.dir/libStack/libStackFile.c.o [ 62%] Building C object CMakeFiles/libDcm.dir/libStack/libStackMad.c.o [ 75%] Building C object CMakeFiles/libDcm.dir/libMlag/libMlag.c.o [ 87%] Building C object CMakeFiles/libDcm.dir/libMlag/libMlagFile.c.o In file included from libFileTransfer/fileSyncToDev.c:20:0: ../../../../../../src/generalLib/include/gftl/file_trf.h:306:2: error: unknown type name 'FILE' FILE *fp; ^~~~ CMakeFiles/libDcm.dir/build.make:78: recipe for target 'CMakeFiles/libDcm.dir/libFileTransfer/fileSyncToDev.c.o' failed make[4]: *** [CMakeFiles/libDcm.dir/libFileTransfer/fileSyncToDev.c.o] Error 1 make[4]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:78: recipe for target 'CMakeFiles/libDcm.dir/all' failed make[3]: *** [CMakeFiles/libDcm.dir/all] Error 2 Makefile:132: recipe for target 'all' failed make[2]: *** [all] Error 2 package/tplink/tplink-generic.mk:289: recipe for target '<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/libDcm-1.0/.stamp_built'> failed make[1]: *** [<http://jenkins1.ep.tp-link.com/job/FEP_SOURCE_20240927/ws/buildroot/build/armv8_7.5.0_musl/build/tplink/libDcm-1.0/.stamp_built]> Error 2 Makefile:84: recipe for target '_all' failed make: *** [_all] Error 2 Build step 'Execute shell' marked build as failure Archiving artifacts
最新发布
12-23
评论 3
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值