Jump to content
43oh

Energia-013 ethernet example doesn't compile


Recommended Posts

Hi,

 

Ethernet example " EthernetWebServer " doesn't compile under Energia 013

here is error message :

In file included from awebserver.ino:8:0:
C:\Users\Nardo\energia-0101E0013\hardware\lm4f\libraries\Ethernet/Ethernet.h:12:28: error: redefinition of 'const IPAddress INADDR_NONE'
In file included from C:\Users\Nardo\energia-0101E0013\hardware\lm4f\libraries\Ethernet/Ethernet.h:8:0,
                 from awebserver.ino:8:
C:\Users\Nardo\energia-0101E0013\hardware\lm4f\cores\lm4f/IPAddress.h:73:17: error: 'const IPAddress INADDR_NONE' previously declared here

Under Energia012 it compiles and runs ok.

 

Thank you and Salutations

 

Bernard.

 

 

Link to post
Share on other sites
  • 1 month later...

Well, that did not work for me, still having some errors:

/home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp: In member function 'void EthernetClass::begin(uint8_t*, IPAddress, IPAddress, IPAddress, IPAddress)':
/home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp:29:1: error: 'INT_EMAC0_BLIZZARD' was not declared in this scope
/home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp: In member function 'void EthernetClass::enableLinkLed()':
/home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp:100:23: error: 'LINK_LED' was not declared in this scope
/home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp:101:25: error: 'LINK_LED_BASE' was not declared in this scope
/home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp:101:40: error: 'LINK_LED_PIN' was not declared in this scope
/home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp: In member function 'void EthernetClass::enableActivityLed()':
/home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp:106:23: error: 'ACTIVITY_LED' was not declared in this scope
/home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp:107:25: error: 'ACTIVITY_LED_BASE' was not declared in this scope
/home/petrus/programas/energia-0101E0013/hardware/lm4f/libraries/Ethernet/Ethernet.cpp:107:44: error: 'ACTIVITY_LED_PIN' was not declared in this scope

runnning energia E 013 under ubuntu 14.04 32 bit.

The selected board is tm4c123 (80mhz) 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...