d0ughb0y,
I finally received my ethernet shield based on the 5100 chipset.
I'm getting the following error message when I tried to load apex.ino onto my Arduino mega2560 with the ethernet shield with NO other shields connected such as the ds1307, etc.
Arduino: 1.5.5 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Apex:9: error: 'time_t' was not declared in this scope
Apex:9: error: expected primary-expression before 'char'
Apex:9: error: expected primary-expression before 'char'
Apex:9: error: initializer expression list treated as compound expression
Apex:10: error: redefinition of 'char* date2file'
Apex:9: error: 'char* date2file' previously defined here
Apex:10: error: 'tmElements_t' was not declared in this scope
Apex:10: error: expected primary-expression before 'char'
Apex:10: error: expected primary-expression before 'char'
Apex:11: error: 'TinyWebServer' was not declared in this scope
Apex:11: error: 'webserver' was not declared in this scope
Apex:12: error: variable or field 'prelog' declared void
Apex:12: error: 'TinyWebServer' was not declared in this scope
Apex:12: error: 'webserver' was not declared in this scope
Apex:12: error: 'tmElements_t' was not declared in this scope
Apex:12: error: 'tm' was not declared in this scope
Apex:12: error: 'time_t' was not declared in this scope
Apex:12: error: 'currdate' was not declared in this scope
Apex:12: error: expected primary-expression before 'int'
Apex:13: error: 'TinyWebServer' was not declared in this scope
Apex:13: error: 'webserver' was not declared in this scope
Apex:14: error: 'TinyWebServer' was not declared in this scope
Apex:14: error: 'webserver' was not declared in this scope
Apex:16: error: 'TinyWebServer' was not declared in this scope
Apex:16: error: 'webserver' was not declared in this scope
Apex:17: error: 'TinyWebServer' was not declared in this scope
Apex:17: error: 'webserver' was not declared in this scope
Apex:18: error: 'TinyWebServer' was not declared in this scope
Apex:18: error: 'webserver' was not declared in this scope
Apex:18: error: expected primary-expression before 'const'
Apex:18: error: expected primary-expression before 'int'
Apex:18: error: initializer expression list treated as compound expression
Apex:19: error: 'TinyWebServer' was not declared in this scope
Apex:19: error: 'webserver' was not declared in this scope
Apex:20: error: 'TinyWebServer' was not declared in this scope
Apex:20: error: 'webserver' was not declared in this scope
Apex:20: error: expected primary-expression before 'long'
Apex:20: error: initializer expression list treated as compound expression
Apex:21: error: 'TinyWebServer' was not declared in this scope
Apex:21: error: 'webserver' was not declared in this scope
Apex:22: error: 'TinyWebServer' was not declared in this scope
Apex:22: error: 'webserver' was not declared in this scope
Apex:23: error: 'TinyWebServer' was not declared in this scope
Apex:23: error: 'webserver' was not declared in this scope
Apex:24: error: 'TinyWebServer' was not declared in this scope
Apex:24: error: 'webserver' was not declared in this scope
Apex:25: error: 'TinyWebServer' was not declared in this scope
Apex:25: error: 'webserver' was not declared in this scope
Apex:26: error: 'TinyWebServer' was not declared in this scope
Apex:26: error: 'webserver' was not declared in this scope
Apex:27: error: variable or field 'scantofirstline' declared void
Apex:27: error: 'Client' was not declared in this scope
Apex:27: error: 'client' was not declared in this scope
Apex:27: error: expected primary-expression before 'char'
Apex:27: error: expected primary-expression before 'int'
Apex:27: error: 'tmElements_t' was not declared in this scope
Apex:71: error: variable or field 'send_file_name' declared void
Apex:71: error: 'TinyWebServer' was not declared in this scope
Apex:71: error: 'web_server' was not declared in this scope
Apex:72: error: variable or field 'send_file_name' declared void
Apex:72: error: 'TinyWebServer' was not declared in this scope
Apex:72: error: 'web_server' was not declared in this scope
Apex:72: error: expected primary-expression before 'char'
Apex:73: error: 'TinyWebServer' was not declared in this scope
Apex:73: error: 'web_server' was not declared in this scope
Apex:74: error: 'TinyWebServer' was not declared in this scope
Apex:74: error: 'web_server' was not declared in this scope
Apex:75: error: 'TinyWebServer' was not declared in this scope
Apex:75: error: 'web_server' was not declared in this scope
Apex:76: error: 'TinyWebServer' was not declared in this scope
Apex:76: error: 'web_server' was not declared in this scope
Apex:77: error: 'TinyWebServer' was not declared in this scope
Apex:77: error: 'web_server' was not declared in this scope
Apex:81: error: 'EthernetClient' was not declared in this scope
Apex:81: error: 'client' was not declared in this scope
Apex:82: error: variable or field 'efail' declared void
Apex:82: error: 'EthernetClient' was not declared in this scope
Apex:82: error: 'client' was not declared in this scope
Apex:84: error: variable or field 'autoDST' declared void
Apex:84: error: 'time_t' was not declared in this scope
Apex:85: error: 'time_t' was not declared in this scope
Apex:86: error: 'EthernetUDP' was not declared in this scope
Apex:86: error: 'IPAddress' was not declared in this scope
Apex:86: error: initializer expression list treated as compound expression
Apex:87: error: variable or field 'logNetworkAccess' declared void
Apex:87: error: 'TinyWebServer' was not declared in this scope
Apex:87: error: 'web_server' was not declared in this scope
Apex:101: error: 'time_t' does not name a type
Apex:107: error: variable or field 'getpwmdata' declared void
Apex:107: error: 'Client' was not declared in this scope
Apex:107: error: 'client' was not declared in this scope
Apex:107: error: expected primary-expression before 'channel'
Apex:108: error: variable or field 'getpumpinfo' declared void
Apex:108: error: 'Client' was not declared in this scope
Apex:108: error: 'client' was not declared in this scope
Apex:109: error: variable or field 'getpumpinfo' declared void
Apex:109: error: 'Client' was not declared in this scope
Apex:109: error: 'client' was not declared in this scope
Apex:109: error: expected primary-expression before 'i'
Apex:110: error: variable or field 'getwavedef' declared void
Apex:110: error: 'Client' was not declared in this scope
Apex:110: error: 'client' was not declared in this scope
Apex:154: error: variable or field 'ptime' declared void
Apex:154: error: 'time_t' was not declared in this scope
Apex:169: error: expected ',' or '...' before 'thetime'
Apex:169: error: ISO C++ forbids declaration of 'time_t' with no type
Apex:171: error: expected ',' or '...' before 't'
Apex:171: error: ISO C++ forbids declaration of 'time_t' with no type
Apex:172: error: variable or field 'getfiles' declared void
Apex:172: error: 'Client' was not declared in this scope
Apex:172: error: 'client' was not declared in this scope
Apex:172: error: expected primary-expression before 'char'
Apex:7: error: expected constructor, destructor, or type conversion before '(' token
Apex:8: error: expected constructor, destructor, or type conversion before '(' token
Apex:9: error: expected constructor, destructor, or type conversion before '(' token
Apex:10: error: expected constructor, destructor, or type conversion before '(' token
Apex:11: error: expected constructor, destructor, or type conversion before '(' token
Apex:12: error: expected constructor, destructor, or type conversion before '(' token
Apex:13: error: expected constructor, destructor, or type conversion before '(' token
Apex:14: error: expected constructor, destructor, or type conversion before '(' token
Apex:15: error: expected constructor, destructor, or type conversion before '(' token
Apex:16: error: expected constructor, destructor, or type conversion before '(' token
Apex:17: error: expected constructor, destructor, or type conversion before '(' token
Apex:18: error: expected constructor, destructor, or type conversion before '(' token
Apex:19: error: expected constructor, destructor, or type conversion before '(' token
Apex:20: error: expected constructor, destructor, or type conversion before '(' token
Apex:21: error: expected constructor, destructor, or type conversion before '(' token
Apex:22: error: expected constructor, destructor, or type conversion before '(' token
Apex:23: error: expected constructor, destructor, or type conversion before '(' token
Apex:24: error: expected constructor, destructor, or type conversion before '(' token
Apex:25: error: expected constructor, destructor, or type conversion before '(' token
Apex:26: error: expected constructor, destructor, or type conversion before '(' token
Apex:27: error: expected constructor, destructor, or type conversion before '(' token
Apex:28: error: expected constructor, destructor, or type conversion before '(' token
Apex:29: error: expected constructor, destructor, or type conversion before '(' token
Apex:30: error: expected constructor, destructor, or type conversion before '(' token
Apex:31: error: expected constructor, destructor, or type conversion before '(' token
Apex:32: error: expected constructor, destructor, or type conversion before '(' token
Apex:33: error: expected constructor, destructor, or type conversion before '(' token
Apex:34: error: expected constructor, destructor, or type conversion before '(' token
Apex:35: error: expected constructor, destructor, or type conversion before '(' token
Apex:36: error: expected constructor, destructor, or type conversion before '(' token
Apex:37: error: expected constructor, destructor, or type conversion before '(' token
Apex:38: error: expected constructor, destructor, or type conversion before '(' token
Apex:39: error: expected constructor, destructor, or type conversion before '(' token
Apex:40: error: expected constructor, destructor, or type conversion before '(' token
Apex:41: error: expected constructor, destructor, or type conversion before '(' token
Apex:42: error: expected constructor, destructor, or type conversion before '(' token
Apex:43: error: expected constructor, destructor, or type conversion before '(' token
Apex:44: error: expected constructor, destructor, or type conversion before '(' token
Apex:45: error: expected constructor, destructor, or type conversion before '(' token
Apex:61: error: redefinition of 'char* date2file'
Apex:9: error: 'char* date2file' previously defined here
Apex:61: error: 'time_t' was not declared in this scope
Apex:61: error: expected primary-expression before 'char'
Apex:61: error: expected primary-expression before 'char'
Apex:67: error: redefinition of 'char* date2file'
Apex:9: error: 'char* date2file' previously defined here
Apex:67: error: 'tmElements_t' was not declared in this scope
Apex:67: error: expected primary-expression before 'char'
Apex:67: error: expected primary-expression before 'char'
Apex:95: error: redefinition of 'boolean apex_status_handler'
Apex:11: error: 'boolean apex_status_handler' previously defined here
Apex:95: error: 'TinyWebServer' was not declared in this scope
Apex:95: error: 'webserver' was not declared in this scope
Any ideas what may be causing these error messages?
Thanks in advance!