"AWS IoT Device SDK for Embedded C" Build on cygwin

0

Hello,

I am trying to build AWS IoT Device SDK for Embedded C source code on cygwin but having problem while running the CMAKE command ..

Does any have build SDK on cygwin..

Let me know if you need more details.

Any help will be appreciated..

Thanks Rakesh Patel

  • Have you tried to build https://github.com/aws/aws-iot-device-sdk-cpp-v2 instead?

  • Hi Rakesh. Can you please edit your question and share the cmake output and error?

  • Hello,

    Thanks for your reply.

    while doing the make command I got below output ..

    Sruhad@DESKTOP-DV22G9L ~/aws-iot-device-sdk-embedded-c/build $ make Consolidate compiler generated dependencies of target aws_iot_defender [ 0%] Built target aws_iot_defender Consolidate compiler generated dependencies of target aws_iot_shadow [ 1%] Built target aws_iot_shadow Consolidate compiler generated dependencies of target aws_iot_jobs [ 3%] Built target aws_iot_jobs Consolidate compiler generated dependencies of target aws_iot_json [ 3%] Built target aws_iot_json Consolidate compiler generated dependencies of target aws_iot_ota [ 3%] Linking C shared library bin/cygaws_iot_ota.dll /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/aws_iot_ota.dir/libraries/aws/ota-for-aws-iot-embedded-sdk/source/ota.c.o:ota.c:(.rdata+0x470): undefined reference to OTA_JsonFileSignatureKey' /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/aws_iot_ota.dir/libraries/aws/ota-for-aws-iot-embedded-sdk/source/ota.c.o:ota.c:(.rdata$.refptr.appFirmwareVersion[.refptr.appFirmwareVersion]+0x0): undefined reference to appFirmwareVersion' /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: CMakeFiles/aws_iot_ota.dir/libraries/aws/ota-for-aws-iot-embedded-sdk/source/ota_interface.c.o:ota_interface.:(.rdata$.refptr.cleanupData_Mqtt[.refptr.cleanupData_Mqtt]+0x0): undefined reference to `cleanupData_Mqtt' /usr/lib/gcc/x86_64-pc-c

  • @MassimilianoAWS

    I am trying that also.

    Actually I want to build in cygwin cross complier. I have ARM base processor and Embedded-Linux OS, and that device software build on Cygwin. I want to build the AWS SDK Embedded C or SDK C++ (Any of one should work) C++ make command output is: Sruhad@DESKTOP-DV22G9L ~/sdk-workspace/aws-iot-device-sdk-cpp-v2-build $ cmake --build . --target install [ 7%] Built target aws-c-common [ 7%] Built target aws-checksums [ 7%] Built target global_target Consolidate compiler generated dependencies of target fipsmodule [ 7%] Building ASM object crt/aws-crt-cpp/crt/aws-lc/crypto/fipsmodule/CMakeFiles/fipsmodule.dir/aesni-gcm-x86_64.S.o /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/as: unrecognized option `--noexecstack' make[2]: *** [crt/aws-crt-cpp/crt/aws-lc/crypto/fipsmodule/CMakeFiles/fipsmodule.dir/build.make:227: crt/aws-crt-cpp/crt/aws-lc/crypto/fipsmodule/CMakeFiles/fipsmodule.dir/aesni-gcm-x86_64.S.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1532: crt/aws-crt-cpp/crt/aws-lc/crypto/fipsmodule/CMakeFiles/fipsmodule.dir/all] Error 2

asked a year ago145 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions