Re: How to write custom recipe to install AWS C SDK from github #yocto #linux #dunfell


Vijay Rakesh Munganda
 

Hi Quentin Schulz,

Thanks for the reply. I had downloaded the SDK into "files" folder of my recipe and given CMakeLists.txt as SRCURI. Is it correct to do like this?

Here is the Error: (It's a long error)

ERROR: aws-1.0-r0 do_configure: Execution of '/home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/aws/1.0-r0/temp/run.do_configure.28296' failed with exit code 1:
-- The C compiler identification is GNU 9.3.0
-- Check for working C compiler: /home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/aws/1.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc
-- Check for working C compiler: /home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/aws/1.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found OpenSSL: /home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/aws/1.0-r0/recipe-sysroot-native/usr/lib/libcrypto.so (found version "1.1.1g")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
Downloading the Amazon Root CA certificate...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Download  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (77) error setting certificate verify locations:
CAfile: /home/bl-docker/rity/bsp/tmp/work/x86_64-linux/curl-native/7.69.1-r0/recipe-sysroot-native/etc/ssl/certs/ca-certificates.crt
CApath: none
Downloading the Baltimore Cybertrust Root CA certificate...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (77) error setting certificate verify locations:
CAfile: /home/bl-docker/rity/bsp/tmp/work/x86_64-linux/curl-native/7.69.1-r0/recipe-sysroot-native/etc/ssl/certs/ca-certificates.crt
CApath: none
CMake Error at demos/defender/defender_demo_json/CMakeLists.txt:6 (include):
include could not find load file:
/home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/aws/1.0-r0/libraries/standard/coreMQTT/mqttFilePaths.cmake
CMake Error at demos/defender/defender_demo_json/CMakeLists.txt:9 (include):
include could not find load file:
/home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/aws/1.0-r0/libraries/standard/backoffAlgorithm/backoffAlgorithmFilePaths.cmake
CMake Error at demos/defender/defender_demo_json/CMakeLists.txt:12 (include):
include could not find load file:
/home/bl-docker/rity/bsp/tmp/work/aarch64-poky-linux/aws/1.0-r0/libraries/standard/coreJSON/jsonFilePaths.cmake (Similar errors continued for few files)

Thanks & Regards,
VR

Join yocto@lists.yoctoproject.org to automatically receive all group messages.