您的位置:首页 > 理论基础 > 计算机网络

keil RTX TCP/UDP 报错

2014-06-05 09:34 351 查看
.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol get_host_by_name (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_abort (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_check_send (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_close (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_connect (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_get_buf (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_get_socket (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_get_state (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_max_dsize (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_release_socket (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_send (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tick_rate (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol udp_close (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol udp_get_buf (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol udp_get_socket (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol udp_open (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol udp_release_socket (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol udp_send (referred from neti_tcpip.o).

RTX报以上错误是因为没有导入库文件,库文件不用到官网去下载,keil安装时已经自带

如图:



库文件路径:C:\Keil\ARM\RV31\LIB\RTX_CM3.lib C:\Keil\ARM\RV31\LIB\TCP_CM3.lib

再次进行编译:如果还有文件没导入则会出现以下错误

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tick_rate (referred from neti_tcpip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol sys_error (referred from at_tcp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_2MSSTout (referred from at_tcp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_ConRetry (referred from at_tcp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_InitRetryTout (referred from at_tcp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_MaxRetry (referred from at_tcp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_NumSocks (referred from at_tcp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_RetryTout (referred from at_tcp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_SynRetryTout (referred from at_tcp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_socket (referred from at_tcp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol udp_NumSocks (referred from at_udp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol udp_socket (referred from at_udp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol dns_TabSize (referred from at_dns.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol dns_table (referred from at_dns.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol netif_cfg (referred from at_dns.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol dispatch_frame (referred from at_ip.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol MPool_Size (referred from at_mem.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol Mem_Pool (referred from at_mem.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol init_system (referred from at_system.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol nlocalm (referred from at_system.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol run_system (referred from at_system.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol igmp_T200ms (referred from at_igmp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol igmp_TabSize (referred from at_igmp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol igmp_table (referred from at_igmp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol init_ethernet (referred from at_ethernet.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol own_hw_adr (referred from at_ethernet.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol send_frame (referred from at_ethernet.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol arp_MaxRetry (referred from at_arp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol arp_Resend (referred from at_arp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol arp_TabSize (referred from at_arp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol arp_TimeOut (referred from at_arp.o).

.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol arp_table (referred from at_arp.o).

需要倒入Net_Config.c



再次编译成功通过



参考文章:http://www.keil.com/support/man/docs/rlarm/rlarm_ar_libfiles.htm
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: