Open zhangshouyin opened 10 months ago
Describe the bug [ 95%] Built target kvsappcli Consolidate compiler generated dependencies of target kvs_with_webrtc [ 96%] Linking C executable ../../bin/kvs_with_webrtc /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/lib/libkvspicUtils.a(Time.c.o): In function generateTimestampStrInMilliseconds': /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download/dependency/libkvspic/kvspic-src/src/utils/src/Time.c:48: undefined reference toclock_gettime' /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download/dependency/libkvspic/kvspic-src/src/utils/src/Time.c:48: undefined reference to clock_gettime' /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/lib/libkvspicUtils.a(Time.c.o): In functiondefaultGetTime': /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download/dependency/libkvspic/kvspic-src/src/utils/src/Time.c:109: undefined reference to clock_gettime' /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download/dependency/libkvspic/kvspic-src/src/utils/src/Time.c:109: undefined reference toclock_gettime' collect2: error: ld returned 1 exit status make[2]: [samples/kvs-with-webrtc/CMakeFiles/kvs_with_webrtc.dir/build.make:174: bin/kvs_with_webrtc] Error 1 make[1]: [CMakeFiles/Makefile2:581: samples/kvs-with-webrtc/CMakeFiles/kvs_with_webrtc.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
generateTimestampStrInMilliseconds': /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download/dependency/libkvspic/kvspic-src/src/utils/src/Time.c:48: undefined reference to
clock_gettime' /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/lib/libkvspicUtils.a(Time.c.o): In function
clock_gettime' /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download/dependency/libkvspic/kvspic-src/src/utils/src/Time.c:109: undefined reference to
To Reproduce Steps to reproduce the behavior:
Screenshots attach below
Environments (please complete the following information):
Describe the bug [ 95%] Built target kvsappcli Consolidate compiler generated dependencies of target kvs_with_webrtc [ 96%] Linking C executable ../../bin/kvs_with_webrtc /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/lib/libkvspicUtils.a(Time.c.o): In function
generateTimestampStrInMilliseconds': /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download/dependency/libkvspic/kvspic-src/src/utils/src/Time.c:48: undefined reference to
clock_gettime' /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download/dependency/libkvspic/kvspic-src/src/utils/src/Time.c:48: undefined reference toclock_gettime' /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/lib/libkvspicUtils.a(Time.c.o): In function
defaultGetTime': /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download/dependency/libkvspic/kvspic-src/src/utils/src/Time.c:109: undefined reference toclock_gettime' /home/ubuntu/embedfix/amazon-kinesis-video-streams-producer-embedded-c/libraries/amazon/amazon-kinesis-video-streams-webrtc-sdk-c/webrtc/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download/dependency/libkvspic/kvspic-src/src/utils/src/Time.c:109: undefined reference to
clock_gettime' collect2: error: ld returned 1 exit status make[2]: [samples/kvs-with-webrtc/CMakeFiles/kvs_with_webrtc.dir/build.make:174: bin/kvs_with_webrtc] Error 1 make[1]: [CMakeFiles/Makefile2:581: samples/kvs-with-webrtc/CMakeFiles/kvs_with_webrtc.dir/all] Error 2 make: *** [Makefile:136: all] Error 2To Reproduce Steps to reproduce the behavior:
Screenshots attach below
Environments (please complete the following information):