Ethernet to wifi help

thanks for the help, but i tried and it states that "error compiling"
how can i correct that?