Closed certabitmh closed 1 year ago
Hi, are the librt headers available in your buildroot? It is odd that rt is being pulled in when only building shadow; I'll look into this.
What platform is the host?
Ubuntu x86, target is arm based
Von: Archit Gupta @.> Gesendet: Saturday, October 15, 2022 12:58:12 AM An: aws/aws-iot-device-sdk-embedded-C @.> Cc: Markus Hammer | CertaBit Engineering @.>; Author @.> Betreff: Re: [aws/aws-iot-device-sdk-embedded-C] cross compile: RT_LIB causes build to fail (Issue #1820)
What platform is the host?
— Reply to this email directly, view it on GitHubhttps://github.com/aws/aws-iot-device-sdk-embedded-C/issues/1820#issuecomment-1279560874, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJNK5TNC4AUN324ZCA2YUEDWDHQQJANCNFSM6AAAAAAQ7ORRPY. You are receiving this because you authored the thread.Message ID: @.***>
Hey, I'm not able to reproduce this. Do you have more information about the sysroot and host system? I see you are using GGC 8, have you tried a newer version? At some point librt was moved out of glibc, so that might be related
Hey, closing this; feel free to reopen in you have more info.
I'm helpless after hours of trying to cross compile 202108.00 with arm linux toolchain. c/c++ compiler, openssl lib are all found (because handled by a shell prep script setting all paths)
although I only want to compile shadow example, cmake scripts report an error because if missing RT_LIB.
my build commands executed in sdk root dir:
this fails with:
(full log attached)
please help! build_log.txt