Topic: arduino problem:collect2.exe: error: ld returned 1 exit status
Hello,
I am currently working on using wolfssl on ESP8266(a convenient wifi module) to create https linking via arduino for esp8266,but when I programmed your example for arduino,I met the problem as follows:
C:\Users\gavin\AppData\Local\Temp\build1361818746455674135.tmp\wolfssl-master\asn.c.o: In function `CheckCurve':
D:\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\wolfssl-master/asn.c:3473: undefined reference to `__ctype_ptr__'
C:\Users\gavin\AppData\Local\Temp\build1361818746455674135.tmp\wolfssl-master\asn.c.o: In function `ExtractDate':
D:\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\wolfssl-master/asn.c:3473: undefined reference to `gmtime'
C:\Users\gavin\AppData\Local\Temp\build1361818746455674135.tmp\wolfssl-master\asn.c.o: In function `ValidateDate':
D:\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\wolfssl-master/asn.c:3473: undefined reference to `gmtime'
C:\Users\gavin\AppData\Local\Temp\build1361818746455674135.tmp\wolfssl-master\random.c.o: In function `wc_RNG_HealthTestLocal':
D:\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\wolfssl-master/random.c:556: undefined reference to `random'
C:\Users\gavin\AppData\Local\Temp\build1361818746455674135.tmp\wolfssl-master\random.c.o: In function `wc_GenerateSeed':
D:\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\wolfssl-master/random.c:556: undefined reference to `random'
collect2.exe: error: ld returned 1 exit status
I don't know actually how to correct that and hope you can give me some advice.
I am using arduino 1.6.5 .My system is Windows 7