Skip to content

complie error #3

@wzbhbb

Description

@wzbhbb

as your suggestion:

make packwww minnow IOT=true

Zipping the 'www' directory....
cd ../..&&zip -r example/make/obj/www.zip www
updating: www/ (stored 0%)
updating: www/index.html (deflated 76%)
updating: www/MinnowServer.ico (deflated 0%)
updating: www/MinnowServer.png (deflated 1%)
updating: www/css/ (stored 0%)
updating: www/css/led.css (deflated 76%)
updating: www/css/upload.css (deflated 62%)
updating: www/css/grid.css (deflated 38%)
updating: www/css/theme.css (deflated 63%)
updating: www/css/menu.css (deflated 73%)
updating: www/css/data.css (deflated 14%)
updating: www/css/credentials.css (deflated 70%)
updating: www/css/calculator.css (deflated 69%)
updating: www/css/modal.css (deflated 72%)
updating: www/plugins/ (stored 0%)
updating: www/plugins/gauge.min.js (deflated 66%)
updating: www/plugins/sha1.js (deflated 59%)
updating: www/plugins/cash.min.js (deflated 65%)
updating: www/js/ (stored 0%)
updating: www/js/LED.js (deflated 59%)
updating: www/js/interactions.js (deflated 67%)
updating: www/js/connection.js (deflated 68%)
Uploading the zipped 'www' directory to the HTML amalgamator...
cd obj&&curl --progress-bar -F download=true -F jsc=SIMPLE -F zip=true -F [email protected] https://realtimelogic.info/htmla/ --output index.c 2>&1
###################################################################################################################### 100.0%
Replacing ../src/index.c with the new amalgamated file
mv obj/index.c ../src/
gcc  -DB_LITTLE_ENDIAN -Wall -c -Os -O3 -DUSE_SMQ '-DSMQ_DOMAIN="minnow.realtimelogic.com"' -DXPRINTF -I../../../SMQ/src/arch/Posix -I../../../SMQ/src -I../../../SMQ/examples -I../../src -I../../../JSON/inc -o obj/index.o ../src/index.c
../src/index.c:1:1: error: expected identifier or ‘(’ before ‘<’ token
    1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
      | ^
../src/index.c:8:1: error: stray ‘@’ in program
    8 | @import '/rtl/bd.css';
      | ^
../src/index.c:8:9: warning: character constant too long for its type
    8 | @import '/rtl/bd.css';
      |         ^~~~~~~~~~~~~
../src/index.c:10:1: error: expected identifier or ‘(’ before ‘<’ token
   10 | </style>
      | ^
../src/index.c:11:14: warning: character constant too long for its type
   11 | <script type='text/javascript' src='/rtl/jquery.js'></script>
      |              ^~~~~~~~~~~~~~~~~
../src/index.c:11:36: warning: character constant too long for its type
   11 | <script type='text/javascript' src='/rtl/jquery.js'></script>
      |                                    ^~~~~~~~~~~~~~~~
../src/index.c:12:14: warning: character constant too long for its type
   12 | <script type='text/javascript' src='/rtl/sidebar.js'></script>
      |              ^~~~~~~~~~~~~~~~~
../src/index.c:12:36: warning: character constant too long for its type
   12 | <script type='text/javascript' src='/rtl/sidebar.js'></script>
      |                                    ^~~~~~~~~~~~~~~~~
../src/index.c:19:10: warning: character constant too long for its type
   19 | <img src='/rtl/images/securelogo.png' alt='logo'/></td>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/index.c:19:43: warning: multi-character character constant [-Wmultichar]
   19 | <img src='/rtl/images/securelogo.png' alt='logo'/></td>
      |                                           ^~~~~~
../src/index.c:23:14: warning: character constant too long for its type
   23 | <li><a  href='/rtl/protected/wfslinks.lsp'>Web-File-Server</a></li>
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/index.c:24:14: warning: character constant too long for its type
   24 | <li><a  href='/rtl/protected/'>Menu</a></li>
      |              ^~~~~~~~~~~~~~~~~
../src/index.c:25:14: warning: character constant too long for its type
   25 | <li><a  href='/rtl/about.lsp'>About</a></li>
      |              ^~~~~~~~~~~~~~~~
../src/index.c:33:45: warning: multi-character character constant [-Wmultichar]
   33 | <h2>Amalgamator Failed!</h2><br/><div class='err'>Closure Compiler error: response JSON err
      |                                             ^~~~~
../src/index.c:40:17: warning: multi-character character constant [-Wmultichar]
   40 |     <li><a href='/ba/'>ba<span>The Barracuda Embedded Web Server Documentation</span></a></li><li><a href='/swig/'>swig<span>SWIG: Lua Binding Generator</span></a></li>
      |                 ^~~~~~
../src/index.c:40:107: warning: character constant too long for its type
   40 |     <li><a href='/ba/'>ba<span>The Barracuda Embedded Web Server Documentation</span></a></li><li><a href='/swig/'>swig<span>SWIG: Lua Binding Generator</span></a></li>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions