-->
Page 5 of 74

Re: Introducing esp-httpd: webserver on an ESP8266.

PostPosted: Sun Oct 19, 2014 9:58 pm
by Sprite_tm
reaper7 wrote:I got error when I try compile in ubuntu (at example compiled without problem)


Try updating your toolchain. I'm not sure, but I think this is a known issue that has been fixed somewhere in the past.

Re: Introducing esp-httpd: webserver on an ESP8266.

PostPosted: Mon Oct 20, 2014 12:17 am
by reaper7
true - http://www.esp8266.com/viewtopic.php?f=9&t=224&start=50#p1178
I test it today...
but yesterday I remove "-mtext-section-literals" from Makefile and esphttpd compiled ok & works!

Re: Introducing esp-httpd: webserver on an ESP8266.

PostPosted: Thu Oct 23, 2014 6:04 pm
by johnnyfp
Any chance you can include the already compiled bin in the firmware dir or here. As I don't yet have access to sdk 0.9.2, you code does not compile on 0.9.1

Cheers

Re: Introducing esp-httpd: webserver on an ESP8266.

PostPosted: Thu Oct 23, 2014 9:48 pm
by johnnyfp
Ok,
I've managed to compile it against 0.9.1 with a very minor change to the user/cgiwifi.c

Change line 97 from
Code: Select all wifi_station_scan(NULL, wifiScanDoneCb);

to
Code: Select all wifi_station_scan(/*NULL, */wifiScanDoneCb);


and it compiles.

It then uploads and works!!