Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 2 months ago.
EthernetInterface library compile error for FRDM-K64F board.
I am trying to compile ethernet udp server and client example given for FRDM-K64F but it gives me compile error. I took latest library but no success.
I am getting following error. Error: Struct "_enet_handle" has no field "rxBdDirty" in "EthernetInterface/lwip-eth/arch/TARGET_Freescale/k64f_emac.c", Line: 86, Col: 19
Can anyone help me on this?
Question relating to:

3 Answers
8 years, 2 months ago.
Try to rool back mbed.h to some version ago, it comes from time to time that something is missing. And make sure that ethernet.h is the same version/date as mbed liberary
8 years, 2 months ago.
Looks like you might not be using the right mbed-os code that goes with this ENET driver. K64 ENET driver was updated to use Kinetis SDK 2.0 ENET drivers.
I am using the example given in following link without any changes. https://developer.mbed.org/platforms/FRDM-K64F/
posted by 13 Dec 20168 years, 2 months ago.
I had this issue too, did a search through thr project and rxBdDirty is only used in k64f_emac.c and is pretty pointless as its value isnt used anywhere, i just removed them and it worked.