How to solve these problems !

Version 1
    Click to view larger image

    It's a simple web server, i connected to my Galileo and uploaded the code ,but there are many errors

    Any help ?