1 Reply Latest reply on Apr 28, 2015 1:15 PM by SeyhanA_31

    My Webserver does not work - resource undeclared

      Hi,

       

      I wanted to test the webserver and followed the txt in the resources dir.

       

      But I get the following error:

       

      error: 'resources_apps_DIR_"appname"_DIR_"filename"_html' undeclared (first use in this function)

       

       

      When I change the html file "top_web_page_top.html" into top.html in the appliance demo. Modify the makefile and http-page-database i get the same error.

       

      Can someone give me a hint ?

        • 1. Re: My Webserver does not work - resource undeclared
          SeyhanA_31

          Hi,

           

          When the the "_top_web_page_top_html" in appliance.c file changed to "_top_htm", the .../resources/apps/appliance/top_web_page_top.html file needs to be renamed to .../resources/apps/appliance/top.html.

           

          Also update the "$(NAME)_RESOURCES  := apps/appliance/top_web_page_top.html \" in .../apps/demo/appliance/appliance.mk to "$(NAME)_RESOURCES  := apps/appliance/top.html \".

           

          Seyhan