-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Cross-Compilation on WSL Ubuntu24.04 for i.MX8M Mini / aarch64 #2061
Comments
Additional Error encountered during the build: Build Command:
Error Logs:Submodule 'tests/cbmc/aws-verification-model-for-libcrypto' (https://github.com/awslabs/aws-verification-model-for-libcrypto.git) registered for path 'crt/aws-crt-cpp/crt/s2n/tests/cbmc/aws-verification-model-for-libcrypto' CMake Deprecation Warning at CMakeLists.txt:17 (cmake_policy): The cmake-policies(7) manual explains that the OLD behaviors of all -- TARGET_ARCH not specified; inferring host OS to be platform compilation target This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonInterp: /usr/bin/python3 (found version "3.12.3") -- Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.3") -- Configuring incomplete, errors occurred! -- Configuring incomplete, errors occurred! |
Please confirm you have already done the following
Please answer the following prompt
Describe the bug
#2060
Details of the bug provided here in the discussion
Expected Behavior
Successfully cross-compiled for i.MX8M Mini
Current Behavior
Compilation errors, Few dependencies / files not present.
Reproduction Steps
Added the below to CMakeLists.txt
SET(CMAKE_SYSTEM_NAME Linux)
SET(CMAKE_SYSTEM_PROCESSOR aarch64)
SET(CMAKE_C_COMPILER aarch64-linux-gnu-gcc)
SET(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++)
WebRTC C SDK version being used
v1.11.0
If it was working in a previous version, which one?
No
Compiler and Version used
aarch64-gemini-linux-gnu-gcc : 9.3.0, gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0, clang version 18.1.3 ,
Operating System and version
Ubuntu 24.04 on WSL (5.15.153.1-microsoft-standard-WSL2)
Platform being used
i.MX8M mini
###Error Logs
-- Build files have been written to: /home/kkharse/MW_Repos/amazon-kinesis-video-streams-webrtc-sdk-c/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download-build
[ 66%] Performing build step for 'libkvsCommonLws-download'
[ 7%] Building C object CMakeFiles/kvsCommonLws.dir/src/source/Common/Auth.c.o
In file included from /home/kkharse/MW_Repos/amazon-kinesis-video-streams-webrtc-sdk-c/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download/src/source/Common/Include_i.h:47,
from /home/kkharse/MW_Repos/amazon-kinesis-video-streams-webrtc-sdk-c/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download/src/source/Common/Auth.c:5:
/home/kkharse/MW_Repos/amazon-kinesis-video-streams-webrtc-sdk-c/open-source/libkvsCommonLws/build/src/libkvsCommonLws-download/src/include/com/amazonaws/kinesis/video/common/Include.h:16:10: fatal error: com/amazonaws/kinesis/video/client/Include.h: No such file or directory
16 | #include <com/amazonaws/kinesis/video/client/Include.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[5]: *** [CMakeFiles/kvsCommonLws.dir/build.make:76: CMakeFiles/kvsCommonLws.dir/src/source/Common/Auth.c.o] Error 1
gmake[4]: *** [CMakeFiles/Makefile2:83: CMakeFiles/kvsCommonLws.dir/all] Error 2
gmake[3]: *** [Makefile:136: all] Error 2
gmake[2]: *** [CMakeFiles/libkvsCommonLws-download.dir/build.make:87: build/src/libkvsCommonLws-download-stamp/libkvsCommonLws-download-build] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/libkvsCommonLws-download.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
CMake Error at CMake/Utilities.cmake:75 (message):
CMake step for libkvsCommonLws failed: 2
Call Stack (most recent call first):
CMakeLists.txt:265 (build_dependency)
-- Configuring incomplete, errors occurred!
The text was updated successfully, but these errors were encountered: