I like some other people can't compile the webserver and one of the last changes I made that got me almost there was changing the c_types.h "#if 0" to "#if 1" as suggested by kadimski which got me past the error for an undefined uint32_t type.
Now I have a different error when compiling and I am having a tough time finding references for it on the web, does this look familiar to anyone? (I am not very comfortable on linux so everything is taking me 10x longer to do)
komita@komita-linux:~/Electronics/esphttpd$ make
LD build/httpd.out
/home/komita/Electronics/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: group ended before it began (--help for usage)
collect2: error: ld returned 1 exit status
make: *** [build/httpd.out] Error 1
komita@komita-linux:~/Electronics/esphttpd$
EDIT: I am sorry, I guess all of this is overwhelming with the environment setup so I didn't even rellize that the esp_iot_sdk_v0.9.5 folder was not there for me (the zip file had never been unzipped). I though the automatic script would take care of everything but obviously I am not doing everything right, so forgive me for my ignorance. After uncompressing that zip file and running MAKE in it I am no longer getting the above errrs, though stuck elsewhere.
At this point I am trying to deal with:
/home/komita/Electronics/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: group ended before it began (--help for usage)
collect2: error: ld returned 1 exit status
make: *** [build/httpd.out] Error 1
I will edit this post as I make new progress. Its definitely a bit discouraging, I have spend 2 days trying to set up the dev environment and I am yet to code 1 line.
EDIT2: Wait ... wait ... wait a minute ... I could believe I somehow missed installing esp_iot_sdk_v0.9.5 as a folder under esp-open-sdk but I know for a fact that there was a "sdk" folder under esp-open-sdk, and now that is gone too!!! I must be going crazy.
EDIT3: At least part of my problems may have been caused by me installing the esp-open-sdk with the STANDALONE=n option. I am currently re-installing it with the "y" option. Wish me luck, I hope this works. ... Nope .. still getting - group ended before it began error 1. Damn.
EDIT4: Well I think I progerssed a bit. I did so many different things that I don't really know what helped, but I believe the main points were re-installing the open sdk with STANDLONE=y and inputing the right paths in the makefile of the esphttpd project.
Next step (will this ever end?)
komita@komita-linux:~/Electronics/esphttpd$ make
FW firmware/0x00000.bin
make: execvp: /home/komita/Electronics/esp-open-sdk/esptool: Permission denied
make: *** [firmware/0x00000.bin] Error 127
Oh and I forgot to mention the edphttpd/firmware folder is empty. No 0x00000.bin as suggested on the output above.