Closed ericriff closed 1 year ago
It looks like shared builds also fail on Windows
Config
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.runtime=MT
compiler.version=15
os=Windows
os_build=Windows
@ericriff I'm able to not get it to build on my local mac as well, we did just add the option to do a shared build ~ a month ago:
https://github.com/awslabs/amazon-kinesis-video-streams-pic/pull/127/files
I'll look into it.
Yes, I noticed the possibility of building shared is new. TBH I only need linux to work, but I'm reporting it just in case. Thanks for looking into it.
Hi all.
I came across this bug while building this repo on a CI pipeline I don't own, so I can't really do much about it. I'm leaving this log here just in case someone is interested.
Basically if you try to build this on Mac, shared, using clang (tried 10 and 11) it errors out during linking.
Config
Logs
Click to expand log
``` ----Running------ > cd '/Users/jenkins/w/BuildSingleReference@3/.conan/data/aws-kvs-pic/cci.20210705/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="11.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DBUILD_SHARED_LIBS="ON" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/BuildSingleReference@3/.conan/data/aws-kvs-pic/cci.20210705/_/_/package/e992dca89c56300b2901b18c23dbae33f62b3a9e" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DBUILD_DEPENDENCIES="False" -Wno-dev '/Users/jenkins/w/BuildSingleReference@3/.conan/data/aws-kvs-pic/cci.20210705/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e' ----------------- -- The C compiler identification is AppleClang 11.0.0.11000033 -- Check for working C compiler: /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Check for working C compiler: /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- This project seems to be plain C, using 'AppleClang' compiler -- Conan: C++ stdlib: libc++ -- The CXX compiler identification is AppleClang 11.0.0.11000033 -- Check for working CXX compiler: /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- Check for working CXX compiler: /Applications/Xcode-11.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/BuildSingleReference@3/.conan/data/aws-kvs-pic/cci.20210705/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e ----Running------ > cmake --build '/Users/jenkins/w/BuildSingleReference@3/.conan/data/aws-kvs-pic/cci.20210705/_/_/build/e992dca89c56300b2901b18c23dbae33f62b3a9e' '--' '-j4' ----------------- Scanning dependencies of target kvspicState [ 1%] Building C object source_subfolder/CMakeFiles/kvspicState.dir/src/state/src/State.c.o Scanning dependencies of target kvspicClient Scanning dependencies of target kvspicUtils [ 2%] Building C object source_subfolder/CMakeFiles/kvspicClient.dir/src/client/src/AckParser.c.o [ 3%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/Allocators.c.o Scanning dependencies of target kvspic [ 4%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/client/src/AckParser.c.o [ 5%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/Atomics.c.o [ 6%] Linking C shared library ../lib/libkvspicState.dylib [ 7%] Building C object source_subfolder/CMakeFiles/kvspicClient.dir/src/client/src/AuthIntegration.c.o [ 8%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/client/src/AuthIntegration.c.o [ 9%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/Base64.c.o [ 10%] Building C object source_subfolder/CMakeFiles/kvspicClient.dir/src/client/src/Callbacks.c.o [ 11%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/BitField.c.o [ 12%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/client/src/Callbacks.c.o [ 13%] Building C object source_subfolder/CMakeFiles/kvspicClient.dir/src/client/src/Client.c.o [ 15%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/BitReader.c.o [ 16%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/client/src/Client.c.o [ 17%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/Crc32.c.o [ 18%] Building C object source_subfolder/CMakeFiles/kvspicClient.dir/src/client/src/ClientEvent.c.o [ 19%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/Directory.c.o [ 20%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/client/src/ClientEvent.c.o [ 21%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/DoubleLinkedList.c.o [ 22%] Building C object source_subfolder/CMakeFiles/kvspicClient.dir/src/client/src/ClientState.c.o [ 23%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/DynamicLibrary.c.o [ 24%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/client/src/ClientState.c.o [ 25%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/client/src/FrameOrderCoordinator.c.o [ 26%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/Endianness.c.o [ 27%] Building C object source_subfolder/CMakeFiles/kvspicClient.dir/src/client/src/FrameOrderCoordinator.c.o [ 29%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/client/src/InputValidator.c.o [ 30%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/FileIo.c.o [ 31%] Building C object source_subfolder/CMakeFiles/kvspicClient.dir/src/client/src/InputValidator.c.o [ 32%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/FileLogger.c.o [ 33%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/client/src/Stream.c.o [ 34%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/HashTable.c.o [ 35%] Building C object source_subfolder/CMakeFiles/kvspicClient.dir/src/client/src/Stream.c.o [ 36%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/Hex.c.o [ 37%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/client/src/StreamEvent.c.o [ 38%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/InstrumentedAllocators.c.o [ 39%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/Logger.c.o [ 40%] Building C object source_subfolder/CMakeFiles/kvspicClient.dir/src/client/src/StreamEvent.c.o [ 41%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/Mutex.c.o [ 43%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/Semaphore.c.o [ 44%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/client/src/StreamState.c.o [ 45%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/SingleLinkedList.c.o [ 46%] Building C object source_subfolder/CMakeFiles/kvspicClient.dir/src/client/src/StreamState.c.o [ 47%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/duration/src/Duration.c.o [ 48%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/StackQueue.c.o [ 49%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/heap/src/AivHeap.c.o [ 50%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/String.c.o [ 51%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/heap/src/Common.c.o [ 52%] Linking C shared library ../lib/libkvspicClient.dylib [ 53%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/Tags.c.o [ 54%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/heap/src/Heap.c.o [ 55%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/Thread.c.o [ 56%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/heap/src/HybridFileHeap.c.o [ 58%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/heap/src/HybridHeap.c.o [ 59%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/heap/src/SystemHeap.c.o [ 60%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/Time.c.o [ 61%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/TimerQueue.c.o [ 62%] Building C object source_subfolder/CMakeFiles/kvspicUtils.dir/src/utils/src/Version.c.o [ 63%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/mkvgen/src/MkvGenerator.c.o [ 64%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/mkvgen/src/MkvStatics.c.o [ 65%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/mkvgen/src/NalAdapter.c.o [ 66%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/mkvgen/src/SpsParser.c.o [ 67%] Linking C shared library ../lib/libkvspicUtils.dylib [ 68%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/state/src/State.c.o [ 68%] Built target kvspicUtils [ 69%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/trace/src/TraceProfiler.c.o [ 70%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/Allocators.c.o [ 72%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/Atomics.c.o [ 74%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/Base64.c.o [ 74%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/BitField.c.o [ 75%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/BitReader.c.o [ 76%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/Crc32.c.o [ 77%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/Directory.c.o [ 78%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/DoubleLinkedList.c.o [ 80%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/DynamicLibrary.c.o [ 80%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/Endianness.c.o [ 81%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/FileIo.c.o [ 82%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/FileLogger.c.o [ 83%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/HashTable.c.o [ 84%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/Hex.c.o [ 86%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/InstrumentedAllocators.c.o [ 87%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/Logger.c.o [ 88%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/Mutex.c.o [ 89%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/Semaphore.c.o [ 90%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/SingleLinkedList.c.o [ 91%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/StackQueue.c.o [ 92%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/String.c.o [ 93%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/Tags.c.o [ 94%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/Thread.c.o [ 95%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/TimerQueue.c.o [ 96%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/Time.c.o [ 97%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/utils/src/Version.c.o [ 98%] Building C object source_subfolder/CMakeFiles/kvspic.dir/src/view/src/ContentView.c.o [100%] Linking C shared library ../lib/libkvspic.dylib [100%] Built target kvspic aws-kvs-pic/cci.20210705: CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY Undefined symbols for architecture x86_64: "_globalCustomLogPrintFn", referenced from: _stepStateMachine in State.c.o "_globalMemCalloc", referenced from: _createStateMachine in State.c.o "_globalMemFree", referenced from: _freeStateMachine in State.c.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [lib/libkvspicState.0.0.0.dylib] Error 1 make[1]: *** [source_subfolder/CMakeFiles/kvspicState.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Undefined symbols for architecture x86_64: "_acceptStateMachineState", referenced from: _createKinesisVideoStream in Client.c.o _createDeviceResult in ClientEvent.c.o _tagClientResult in ClientEvent.c.o _deviceCertToTokenResult in ClientEvent.c.o _streamFormatChanged in Stream.c.o _setNalAdaptationFlags in Stream.c.o _putFragmentMetadata in Stream.c.o ... "_contentViewAddItem", referenced from: _putFrame in Stream.c.o "_contentViewCheckAvailability", referenced from: _checkForAvailability in Stream.c.o "_contentViewGetAllocationSize", referenced from: _getKinesisVideoMetrics in Client.c.o "_contentViewGetCurrentIndex", referenced from: _streamStartFixupOnReconnect in Stream.c.o _streamFragmentPersistedAck in Stream.c.o _streamFragmentAckEvent in StreamEvent.c.o "_contentViewGetHead", referenced from: _putFrame in Stream.c.o _streamFragmentAckEvent in StreamEvent.c.o "_contentViewGetItemAt", referenced from: _streamStartFixupOnReconnect in Stream.c.o _resetCurrentViewItemStreamStart in Stream.c.o _checkForConnectionStaleness in Stream.c.o _streamFragmentErrorAck in Stream.c.o _streamFragmentAckEvent in StreamEvent.c.o "_contentViewGetItemWithTimestamp", referenced from: _streamFragmentBufferingAck in Stream.c.o _streamFragmentReceivedAck in Stream.c.o _streamFragmentPersistedAck in Stream.c.o _streamFragmentErrorAck in Stream.c.o "_contentViewGetNext", referenced from: _getStreamData in Stream.c.o _getNextBoundaryViewItem in Stream.c.o _getNextViewItem in Stream.c.o _streamFragmentPersistedAck in Stream.c.o _streamFragmentErrorAck in Stream.c.o "_contentViewGetTail", referenced from: _getStreamData in Stream.c.o _streamFragmentAckEvent in StreamEvent.c.o "_contentViewGetWindowAllocationSize", referenced from: _stopStream in Stream.c.o _getAvailableViewSize in Stream.c.o _putFrame in Stream.c.o _getStreamData in Stream.c.o _getStreamMetrics in Stream.c.o _streamFragmentPersistedAck in Stream.c.o "_contentViewGetWindowDuration", referenced from: _stopStream in Stream.c.o _getAvailableViewSize in Stream.c.o _putFrame in Stream.c.o _getStreamData in Stream.c.o _getStreamMetrics in Stream.c.o _streamFragmentPersistedAck in Stream.c.o "_contentViewGetWindowItemCount", referenced from: _streamStartFixupOnReconnect in Stream.c.o "_contentViewRemoveAll", referenced from: _resetStream in Stream.c.o "_contentViewRollbackCurrent", referenced from: _getStreamData in Stream.c.o "_contentViewSetCurrentIndex", referenced from: _getStreamData in Stream.c.o _streamFragmentPersistedAck in Stream.c.o _streamFragmentErrorAck in Stream.c.o "_contentViewTimestampInRange", referenced from: _streamFragmentAckEvent in StreamEvent.c.o "_contentViewTrimTail", referenced from: _streamFragmentPersistedAck in Stream.c.o "_contentViewTrimTailItems", referenced from: _putFrame in Stream.c.o _handleAvailability in Stream.c.o "_createContentView", referenced from: _createStream in Stream.c.o "_createMkvGenerator", referenced from: _createStream in Stream.c.o _createPackager in Stream.c.o _setNalAdaptationFlags in Stream.c.o "_createStateMachine", referenced from: _createKinesisVideoClient in Client.c.o _createStream in Stream.c.o "_freeContentView", referenced from: _freeStream in Stream.c.o "_freeMkvGenerator", referenced from: _freeStream in Stream.c.o _setNalAdaptationFlags in Stream.c.o "_freeStateMachine", referenced from: _freeKinesisVideoClientInternal in Client.c.o _freeStream in Stream.c.o "_getStateMachineState", referenced from: _createDeviceResult in ClientEvent.c.o _tagClientResult in ClientEvent.c.o _deviceCertToTokenResult in ClientEvent.c.o _describeStreamResult in StreamEvent.c.o _createStreamResult in StreamEvent.c.o _getStreamingTokenResult in StreamEvent.c.o _getStreamingEndpointResult in StreamEvent.c.o ... "_globalConditionVariableBroadcast", referenced from: _kinesisVideoStreamDefaultBroadcastConditionVariable in Callbacks.c.o "_globalConditionVariableCreate", referenced from: _kinesisVideoStreamDefaultCreateConditionVariable in Callbacks.c.o "_globalConditionVariableFree", referenced from: _kinesisVideoStreamDefaultFreeConditionVariable in Callbacks.c.o "_globalConditionVariableSignal", referenced from: _kinesisVideoStreamDefaultSignalConditionVariable in Callbacks.c.o "_globalConditionVariableWait", referenced from: _kinesisVideoStreamDefaultWaitConditionVariable in Callbacks.c.o "_globalCreateMutex", referenced from: _kinesisVideoStreamDefaultCreateMutex in Callbacks.c.o "_globalCustomLogPrintFn", referenced from: _checkIntermittentProducerCallback in Client.c.o _putKinesisVideoFrame in Client.c.o _createKinesisVideoClient in Client.c.o _freeKinesisVideoClientInternal in Client.c.o _createKinesisVideoClientSync in Client.c.o _freeKinesisVideoClient in Client.c.o _getKinesisVideoMetrics in Client.c.o ... "_globalFreeMutex", referenced from: _kinesisVideoStreamDefaultFreeMutex in Callbacks.c.o "_globalGetTime", referenced from: _kinesisVideoStreamDefaultGetCurrentTime in Callbacks.c.o _checkIntermittentProducerCallback in Client.c.o "_globalLockMutex", referenced from: _kinesisVideoStreamDefaultLockMutex in Callbacks.c.o "_globalMemAlignAlloc", referenced from: _createKinesisVideoClient in Client.c.o _setContentStoreAllocator in Client.c.o _freeKinesisVideoClientInternal in Client.c.o "_globalMemAlloc", referenced from: _createKinesisVideoClient in Client.c.o _setContentStoreAllocator in Client.c.o _freeKinesisVideoClientInternal in Client.c.o _frameOrderCoordinatorPutFrame in FrameOrderCoordinator.c.o _createStream in Stream.c.o _logStreamInfo in Stream.c.o _generateEosMetadata in Stream.c.o ... "_globalMemCalloc", referenced from: _createKinesisVideoClient in Client.c.o _setContentStoreAllocator in Client.c.o _freeKinesisVideoClientInternal in Client.c.o _createFrameOrderCoordinator in FrameOrderCoordinator.c.o _createStream in Stream.c.o "_globalMemFree", referenced from: _createKinesisVideoClient in Client.c.o _setContentStoreAllocator in Client.c.o _freeKinesisVideoClientInternal in Client.c.o _createFrameOrderCoordinator in FrameOrderCoordinator.c.o _freeFrameOrderCoordinator in FrameOrderCoordinator.c.o _putEarliestFrame in FrameOrderCoordinator.c.o _logStreamInfo in Stream.c.o ... "_globalTryLockMutex", referenced from: _kinesisVideoStreamDefaultTryLockMutex in Callbacks.c.o "_globalUnlockMutex", referenced from: _kinesisVideoStreamDefaultUnlockMutex in Callbacks.c.o "_heapAlloc", referenced from: _contentStoreMemAlloc in Client.c.o _contentStoreMemAlignAlloc in Client.c.o _contentStoreMemCalloc in Client.c.o _streamStartFixupOnReconnect in Stream.c.o _checkForAvailability in Stream.c.o "_heapDebugCheckAllocator", referenced from: _freeKinesisVideoClientInternal in Client.c.o "_heapFree", referenced from: _viewItemRemoved in Client.c.o _contentStoreMemFree in Client.c.o _putFrame in Stream.c.o _streamStartFixupOnReconnect in Stream.c.o "_heapGetAllocSize", referenced from: _contentStoreMemFree in Client.c.o "_heapGetSize", referenced from: _getKinesisVideoMetrics in Client.c.o _checkForAvailability in Stream.c.o "_heapInitialize", referenced from: _createKinesisVideoClient in Client.c.o "_heapMap", referenced from: _contentStoreMemAlloc in Client.c.o _contentStoreMemAlignAlloc in Client.c.o _contentStoreMemCalloc in Client.c.o _putFrame in Stream.c.o _getStreamData in Stream.c.o _streamStartFixupOnReconnect in Stream.c.o _resetCurrentViewItemStreamStart in Stream.c.o ... "_heapRelease", referenced from: _freeKinesisVideoClientInternal in Client.c.o "_heapUnmap", referenced from: _contentStoreMemFree in Client.c.o _putFrame in Stream.c.o _getStreamData in Stream.c.o _streamStartFixupOnReconnect in Stream.c.o _resetCurrentViewItemStreamStart in Stream.c.o "_hexEncode", referenced from: _logStreamInfo in Stream.c.o "_loggerSetLogLevel", referenced from: _createKinesisVideoClient in Client.c.o "_mkvgenGenerateHeader", referenced from: _streamStartFixupOnReconnect in Stream.c.o "_mkvgenGenerateTag", referenced from: _createStream in Stream.c.o _generateEosMetadata in Stream.c.o _packageNotSentMetadata in Stream.c.o _packageStreamMetadata in Stream.c.o _putFragmentMetadata in Stream.c.o "_mkvgenGetCurrentTimestamps", referenced from: _putFrame in Stream.c.o "_mkvgenGetTrackInfo", referenced from: _putFrame in Stream.c.o "_mkvgenPackageFrame", referenced from: _putFrame in Stream.c.o "_mkvgenResetGenerator", referenced from: _createStream in Stream.c.o _generateEosMetadata in Stream.c.o _putFrame in Stream.c.o _resetStream in Stream.c.o "_mkvgenSetCodecPrivateData", referenced from: _streamFormatChanged in Stream.c.o "_mkvgenTimecodeToTimestamp", referenced from: _streamFragmentAckEvent in StreamEvent.c.o "_packageTags", referenced from: _createKinesisVideoClient in Client.c.o _createStream in Stream.c.o "_resetStateMachineRetryCount", referenced from: _resetStream in Stream.c.o "_semaphoreAcquire", referenced from: _putKinesisVideoFrame in Client.c.o _getKinesisVideoMetrics in Client.c.o _getKinesisVideoStreamMetrics in Client.c.o _stopKinesisVideoStreams in Client.c.o _stopKinesisVideoStream in Client.c.o _stopKinesisVideoStreamSync in Client.c.o _createKinesisVideoStream in Client.c.o ... "_semaphoreCreate", referenced from: _createKinesisVideoClient in Client.c.o _createStream in Stream.c.o "_semaphoreFree", referenced from: _freeKinesisVideoClientInternal in Client.c.o _freeStream in Stream.c.o "_semaphoreLock", referenced from: _freeKinesisVideoClientInternal in Client.c.o _shutdownStream in Stream.c.o "_semaphoreRelease", referenced from: _putKinesisVideoFrame in Client.c.o _getKinesisVideoMetrics in Client.c.o _getKinesisVideoStreamMetrics in Client.c.o _stopKinesisVideoStreams in Client.c.o _stopKinesisVideoStream in Client.c.o _stopKinesisVideoStreamSync in Client.c.o _createKinesisVideoStream in Client.c.o ... "_semaphoreWaitUntilClear", referenced from: _freeKinesisVideoClientInternal in Client.c.o _shutdownStream in Stream.c.o "_setStateMachineCurrentState", referenced from: _resetStream in Stream.c.o "_stackQueueClear", referenced from: _freeFrameOrderCoordinator in FrameOrderCoordinator.c.o "_stackQueueCreate", referenced from: _createFrameOrderCoordinator in FrameOrderCoordinator.c.o _createStream in Stream.c.o "_stackQueueDequeue", referenced from: _putEarliestFrame in FrameOrderCoordinator.c.o _freeStream in Stream.c.o _freeStackQueue in Stream.c.o _packageNotSentMetadata in Stream.c.o _packageStreamMetadata in Stream.c.o _resetStream in Stream.c.o "_stackQueueEnqueue", referenced from: _frameOrderCoordinatorPutFrame in FrameOrderCoordinator.c.o _appendValidatedMetadata in Stream.c.o _packageStreamMetadata in Stream.c.o _putStreamResult in StreamEvent.c.o "_stackQueueFree", referenced from: _freeFrameOrderCoordinator in FrameOrderCoordinator.c.o _freeStream in Stream.c.o _freeStackQueue in Stream.c.o "_stackQueueGetAt", referenced from: _stopStream in Stream.c.o _putFrame in Stream.c.o _packageStreamMetadata in Stream.c.o _streamTerminatedEvent in StreamEvent.c.o "_stackQueueGetCount", referenced from: _freeStream in Stream.c.o _freeStackQueue in Stream.c.o _stopStream in Stream.c.o _packageNotSentMetadata in Stream.c.o _putFrame in Stream.c.o _packageStreamMetadata in Stream.c.o _getStreamData in Stream.c.o ... "_stackQueueGetIterator", referenced from: _stopStream in Stream.c.o _checkForNotSentMetadata in Stream.c.o _packageNotSentMetadata in Stream.c.o _putFrame in Stream.c.o _getStreamUploadInfoWithState in Stream.c.o _getStreamData in Stream.c.o _getStreamUploadInfo in Stream.c.o ... "_stackQueueIteratorGetItem", referenced from: _stopStream in Stream.c.o _checkForNotSentMetadata in Stream.c.o _packageNotSentMetadata in Stream.c.o _putFrame in Stream.c.o _getStreamUploadInfoWithState in Stream.c.o _getStreamData in Stream.c.o _getStreamUploadInfo in Stream.c.o ... "_stackQueueIteratorNext", referenced from: _stopStream in Stream.c.o _checkForNotSentMetadata in Stream.c.o _packageNotSentMetadata in Stream.c.o _putFrame in Stream.c.o _getStreamUploadInfoWithState in Stream.c.o _getStreamData in Stream.c.o _getStreamUploadInfo in Stream.c.o ... "_stackQueuePeek", referenced from: _audioVideoFrameTimestampComparator in FrameOrderCoordinator.c.o "_stackQueueRemoveItem", referenced from: _getStreamData in Stream.c.o _deleteStreamUploadInfo in Stream.c.o _putFragmentMetadata in Stream.c.o "_stepStateMachine", referenced from: _createKinesisVideoClient in Client.c.o _createDeviceResult in ClientEvent.c.o _tagClientResult in ClientEvent.c.o _deviceCertToTokenResult in ClientEvent.c.o _executeAuthClientState in ClientState.c.o _executeProvisionClientState in ClientState.c.o _executeTagClientState in ClientState.c.o ... "_strtoui64", referenced from: _processAckValue in AckParser.c.o "_timerQueueAddTimer", referenced from: _createKinesisVideoClient in Client.c.o "_timerQueueCreate", referenced from: _createKinesisVideoClient in Client.c.o "_timerQueueFree", referenced from: _freeKinesisVideoClientInternal in Client.c.o "_timerQueueShutdown", referenced from: _freeKinesisVideoClientInternal in Client.c.o "_validateTags", referenced from: _validateDeviceInfo in InputValidator.c.o _validateClientTags in InputValidator.c.o _validateStreamInfo in InputValidator.c.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [lib/libkvspicClient.0.0.0.dylib] Error 1 make[1]: *** [source_subfolder/CMakeFiles/kvspicClient.dir/all] Error 2 make: *** [all] Error 2 ```