odelot / aws-mqtt-websockets

Implementation of a middleware to use AWS MQTT service through websockets, aiming the ESP8266 plataform
GNU Lesser General Public License v3.0
231 stars 67 forks source link

Not able to compile #38

Open sunilsud opened 6 years ago

sunilsud commented 6 years ago

libraries/aws-mqtt-websockets-master/AWSWebSocketClient.cpp.o: In function AWSWebSocketClient::ntpFixNumber(int)': /Users/sunil/Documents/Arduino/libraries/aws-mqtt-websockets-master/AWSWebSocketClient.cpp:526: undefined reference togmtime_r' libraries/aws-mqtt-websockets-master/AWSWebSocketClient.cpp.o:(.text._ZN18AWSWebSocketClient17getCurrentTimeNTPEv+0x33): undefined reference to gmtime_r' libraries/aws-mqtt-websockets-master/AWSWebSocketClient.cpp.o: In functionAWSWebSocketClient::getCurrentTimeNTP()': /Users/sunil/Documents/Arduino/libraries/aws-mqtt-websockets-master/AWSWebSocketClient.cpp:526: undefined reference to `gmtime_r' collect2: error: ld returned 1 exit status exit status 1