lib_xtcp compiling problem in "xtcp_event_driven" example
Posted: Thu Sep 13, 2018 11:52 am
Dear All
I wanto to create an UDP data transfer from XCORE to the personal computer, and in my X-CORE-200_EXPLORER I wanto to run the "xtcp_event_driven" example to test it (https://github.com/xmos/lib_xtcp/tree/master/tests).
I renamed this gihub project as "ETH_Test_1". The example automatically use LWIP for the 200-Explorer.
Then I also installed 'lib_xtcp' and other library dipendences.
When I try to compile the project I found this errors:
[quote]Description Resource Path Location Type
Undefined reference to 'dhcp_arp_reply' ETH_Test_1 C/C++ Problem
Undefined reference to 'dns_recv' ETH_Test_1 C/C++ Problem
Undefined reference to 'dns_find_entry' ETH_Test_1 C/C++ Problem
Invalid project path: Include path not found (xtcp_event_driven\bin). ETH_Test_1 pathentry Path Entry Problem
Undefined reference to 'dns_enqueue' ETH_Test_1 C/C++ Problem
Invalid project path: Include path not found (xtcp_event_driven\src). ETH_Test_1 pathentry Path Entry Problem
Undefined reference to 'dhcp_supplied_address' ETH_Test_1 C/C++ Problem
Invalid project path: Include path not found (xtcp_event_driven). ETH_Test_1 pathentry Path Entry Problem
Undefined reference to 'dhcp_start' ETH_Test_1 C/C++ Problem
Undefined reference to 'dhcp_recv' ETH_Test_1 C/C++ Problem
Undefined reference to 'dhcp_fine_tmr' ETH_Test_1 C/C++ Problem
Undefined reference to 'dhcp_coarse_tmr' ETH_Test_1 C/C++ Problem
Undefined reference to 'netif_list' ETH_Test_1 C/C++ Problem
Undefined reference to 'netif_default' ETH_Test_1 C/C++ Problem
Undefined reference to 'netif_add' ETH_Test_1 C/C++ Problem
Undefined reference to 'memp_malloc' ETH_Test_1 C/C++ Problem
Undefined reference to 'memp_free' ETH_Test_1 C/C++ Problem
Undefined reference to 'lwip_init' ETH_Test_1 C/C++ Problem
Undefined reference to 'inet_chksum_pbuf' ETH_Test_1 C/C++ Problem
Undefined reference to 'inet_chksum' ETH_Test_1 C/C++ Problem
Undefined reference to 'pbuf_free' ETH_Test_1 C/C++ Problem
Undefined reference to 'pbuf_copy' ETH_Test_1 C/C++ Problem
Undefined reference to 'pbuf_alloc' ETH_Test_1 C/C++ Problem
Undefined reference to 'netif_set_up' ETH_Test_1 C/C++ Problem
Undefined reference to 'netif_set_link_up' ETH_Test_1 C/C++ Problem
Undefined reference to 'netif_set_link_down' ETH_Test_1 C/C++ Problem
Undefined reference to 'netif_set_default' ETH_Test_1 C/C++ Problem
Undefined reference to 'netif_set_addr' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_connect' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_close' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_bind' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_abort' ETH_Test_1 C/C++ Problem
Undefined reference to 'pbuf_ref' ETH_Test_1 C/C++ Problem
Undefined reference to 'pbuf_realloc' ETH_Test_1 C/C++ Problem
Undefined reference to 'pbuf_header_force' ETH_Test_1 C/C++ Problem
Undefined reference to 'pbuf_header' ETH_Test_1 C/C++ Problem
Undefined reference to 'udp_bind' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_write' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_tmr' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_recved' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_output' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_new' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_listen_with_backlog' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_input' ETH_Test_1 C/C++ Problem
Undefined reference to 'xtcp_lookup_udp_pcb_state' ETH_Test_1 C/C++ Problem
Undefined reference to 'xtcp_lookup_tcp_pcb_state_from_port' ETH_Test_1 C/C++ Problem
Undefined reference to 'udp_sendto' ETH_Test_1 C/C++ Problem
Undefined reference to 'udp_send' ETH_Test_1 C/C++ Problem
Undefined reference to 'udp_remove' ETH_Test_1 C/C++ Problem
Undefined reference to 'udp_new' ETH_Test_1 C/C++ Problem
Undefined reference to 'udp_input' ETH_Test_1 C/C++ Problem
Undefined reference to 'udp_connect' ETH_Test_1 C/C++ Problem
Undefined reference to 'xtcp_uip' ETH_Test_1 C/C++ Problem
Undefined reference to 'xtcp_lookup_udp_pcb_state_from_port' ETH_Test_1 C/C++ Problem[/quote]
There aren't references that point error to any line code. What is the problem?
Any idea?
Regards
Piero
I wanto to create an UDP data transfer from XCORE to the personal computer, and in my X-CORE-200_EXPLORER I wanto to run the "xtcp_event_driven" example to test it (https://github.com/xmos/lib_xtcp/tree/master/tests).
I renamed this gihub project as "ETH_Test_1". The example automatically use LWIP for the 200-Explorer.
Then I also installed 'lib_xtcp' and other library dipendences.
When I try to compile the project I found this errors:
[quote]Description Resource Path Location Type
Undefined reference to 'dhcp_arp_reply' ETH_Test_1 C/C++ Problem
Undefined reference to 'dns_recv' ETH_Test_1 C/C++ Problem
Undefined reference to 'dns_find_entry' ETH_Test_1 C/C++ Problem
Invalid project path: Include path not found (xtcp_event_driven\bin). ETH_Test_1 pathentry Path Entry Problem
Undefined reference to 'dns_enqueue' ETH_Test_1 C/C++ Problem
Invalid project path: Include path not found (xtcp_event_driven\src). ETH_Test_1 pathentry Path Entry Problem
Undefined reference to 'dhcp_supplied_address' ETH_Test_1 C/C++ Problem
Invalid project path: Include path not found (xtcp_event_driven). ETH_Test_1 pathentry Path Entry Problem
Undefined reference to 'dhcp_start' ETH_Test_1 C/C++ Problem
Undefined reference to 'dhcp_recv' ETH_Test_1 C/C++ Problem
Undefined reference to 'dhcp_fine_tmr' ETH_Test_1 C/C++ Problem
Undefined reference to 'dhcp_coarse_tmr' ETH_Test_1 C/C++ Problem
Undefined reference to 'netif_list' ETH_Test_1 C/C++ Problem
Undefined reference to 'netif_default' ETH_Test_1 C/C++ Problem
Undefined reference to 'netif_add' ETH_Test_1 C/C++ Problem
Undefined reference to 'memp_malloc' ETH_Test_1 C/C++ Problem
Undefined reference to 'memp_free' ETH_Test_1 C/C++ Problem
Undefined reference to 'lwip_init' ETH_Test_1 C/C++ Problem
Undefined reference to 'inet_chksum_pbuf' ETH_Test_1 C/C++ Problem
Undefined reference to 'inet_chksum' ETH_Test_1 C/C++ Problem
Undefined reference to 'pbuf_free' ETH_Test_1 C/C++ Problem
Undefined reference to 'pbuf_copy' ETH_Test_1 C/C++ Problem
Undefined reference to 'pbuf_alloc' ETH_Test_1 C/C++ Problem
Undefined reference to 'netif_set_up' ETH_Test_1 C/C++ Problem
Undefined reference to 'netif_set_link_up' ETH_Test_1 C/C++ Problem
Undefined reference to 'netif_set_link_down' ETH_Test_1 C/C++ Problem
Undefined reference to 'netif_set_default' ETH_Test_1 C/C++ Problem
Undefined reference to 'netif_set_addr' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_connect' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_close' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_bind' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_abort' ETH_Test_1 C/C++ Problem
Undefined reference to 'pbuf_ref' ETH_Test_1 C/C++ Problem
Undefined reference to 'pbuf_realloc' ETH_Test_1 C/C++ Problem
Undefined reference to 'pbuf_header_force' ETH_Test_1 C/C++ Problem
Undefined reference to 'pbuf_header' ETH_Test_1 C/C++ Problem
Undefined reference to 'udp_bind' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_write' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_tmr' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_recved' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_output' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_new' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_listen_with_backlog' ETH_Test_1 C/C++ Problem
Undefined reference to 'tcp_input' ETH_Test_1 C/C++ Problem
Undefined reference to 'xtcp_lookup_udp_pcb_state' ETH_Test_1 C/C++ Problem
Undefined reference to 'xtcp_lookup_tcp_pcb_state_from_port' ETH_Test_1 C/C++ Problem
Undefined reference to 'udp_sendto' ETH_Test_1 C/C++ Problem
Undefined reference to 'udp_send' ETH_Test_1 C/C++ Problem
Undefined reference to 'udp_remove' ETH_Test_1 C/C++ Problem
Undefined reference to 'udp_new' ETH_Test_1 C/C++ Problem
Undefined reference to 'udp_input' ETH_Test_1 C/C++ Problem
Undefined reference to 'udp_connect' ETH_Test_1 C/C++ Problem
Undefined reference to 'xtcp_uip' ETH_Test_1 C/C++ Problem
Undefined reference to 'xtcp_lookup_udp_pcb_state_from_port' ETH_Test_1 C/C++ Problem[/quote]
There aren't references that point error to any line code. What is the problem?
Any idea?
Regards
Piero