This maybe because the c compiler is designed to work in linux.I had this problem too and to fix it go to tools and select compiler options.In the box click on programs. Now you will see a tab with gcc and make and the respective path to it.Edit the gcc and make path to use mingw32-c.exe and mingw32-make.exe respectively.Now it will work.
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:UsersgavinAppDataLocalTempbuild1361818746455674135.tmpwolfssl-masterasn.c.o: In function `CheckCurve':
D:arduino-1.6.5-r5-windowsarduino-1.6.5-r5librarieswolfssl-master/asn.c:3473: undefined reference to `__ctype_ptr__'
C:UsersgavinAppDataLocalTempbuild1361818746455674135.tmpwolfssl-masterasn.c.o: In function `ExtractDate':
D:arduino-1.6.5-r5-windowsarduino-1.6.5-r5librarieswolfssl-master/asn.c:3473: undefined reference to `gmtime'
C:UsersgavinAppDataLocalTempbuild1361818746455674135.tmpwolfssl-masterasn.c.o: In function `ValidateDate':
D:arduino-1.6.5-r5-windowsarduino-1.6.5-r5librarieswolfssl-master/asn.c:3473: undefined reference to `gmtime'
C:UsersgavinAppDataLocalTempbuild1361818746455674135.tmpwolfssl-masterrandom.c.o: In function `wc_RNG_HealthTestLocal':
D:arduino-1.6.5-r5-windowsarduino-1.6.5-r5librarieswolfssl-master/random.c:556: undefined reference to `random'
C:UsersgavinAppDataLocalTempbuild1361818746455674135.tmpwolfssl-masterrandom.c.o: In function `wc_GenerateSeed':
D:arduino-1.6.5-r5-windowsarduino-1.6.5-r5librarieswolfssl-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