9 years, 8 months ago.

import warning and comile errors

When I import the program I get 2 import warnings:

the remote repository doesnt't exist: /Websocket_ethernet_Hellloworl/mbed-rtos/rtos the remote repository doesnt't exist: /Websocket_ethernet_Hellloworl/mbed-rtos/rtx

As I try to compile the following error occurs:

Error: Cannot open source input file "rtos.h": No such file or directory in "EthernetInterface/EthernetInterface.h", Line: 23, Col: 18

when i update the rtos library a lot of new errors appear:

Error: A value of type "void *" cannot be used to initialize an entity of type "lpc_enetdata *" in "EthernetInterface/lwip-eth/arch/TARGET_NXP/lpc17_emac.c", Line: 202, Col: 36 Error: A value of type "void *" cannot be used to initialize an entity of type "lpc_enetdata *" in "EthernetInterface/lwip-eth/arch/TARGET_NXP/lpc17_emac.c", Line: 264, Col: 36 Error: A value of type "void *" cannot be assigned to an entity of type "eth_hdr *" in "EthernetInterface/lwip-eth/arch/TARGET_NXP/lpc17_emac.c", Line: 413, Col: 9 Error: A value of type "void *" cannot be used to initialize an entity of type "lpc_enetdata *" in "EthernetInterface/lwip-eth/arch/TARGET_NXP/lpc17_emac.c", Line: 563, Col: 36 Error: A value of type "void *" cannot be used to initialize an entity of type "lpc_enetdata *" in "EthernetInterface/lwip-eth/arch/TARGET_NXP/lpc17_emac.c", Line: 727, Col: 39 Error: A value of type "void *" cannot be used to initialize an entity of type "lpc_enetdata *" in "EthernetInterface/lwip-eth/arch/TARGET_NXP/lpc17_emac.c", Line: 748, Col: 39 Error: A value of type "void *" cannot be used to initialize an entity of type "lpc_enetdata *" in "EthernetInterface/lwip-eth/arch/TARGET_NXP/lpc17_emac.c", Line: 798, Col: 36

does the program need updating to be compatible with library updates?

Question relating to:

websocket client ethernet hello world example tcp/ip, WebSocket

I have same issue. Please get a fix. Thanks..

posted by Jack Z 18 Oct 2014
Be the first to answer this question.