aws / aws-iot-device-sdk-embedded-C

SDK for connecting to AWS IoT from a device using embedded C.
MIT License
978 stars 625 forks source link

build fail #1794

Closed linsijia1002 closed 2 years ago

linsijia1002 commented 2 years ago

image

Could you please help me to check the cause of compilation failure, thanks

alfred2g commented 2 years ago

On some systems cc is a symbolic link to gcc, clang, or some other compiler what you can try is to define CC as an env variable, and/or create a link cc -> gcc

export CC=/path/to/gcc
export CXX=/path/to/g++
ln -s /usr/bin/cc /path/to/gcc
linsijia1002 commented 2 years ago

It's done, thank you~