关于 静态ARP的问题

zsf518
Posts: 31
Joined: Thu Jul 30, 2015 3:24 pm

关于 静态ARP的问题

Postby zsf518 » Thu Dec 10, 2015 9:47 am

hi,
ESP8266 RTOS SDK V1.3.0
我在 lwipopts.h里面定义了

Code: Select all

#define ETHARP_SUPPORT_STATIC_ENTRIES   1

然后在 代码里面使用

Code: Select all

etharp_add_static_entry

代码头已经添加了头文件: #include "netif/etharp.h"
在编译的时候报错:
。。。。。。。。。。
/app/user/user_main.c:890: undefined reference to `etharp_add_static_entry'
collect2: error: ld returned 1 exit status

../Makefile:399: recipe for target '.output/eagle/debug/image/eagle.app.v6.out'
failed
make[1]: *** [.output/eagle/debug/image/eagle.app.v6.out] Error 1
。。。。。。。。

貌似Liblwip.a里面没有这个函数。
请问 是库里面没有这个函数,还是 我使用的方法有问题?

谢谢!

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: 关于 静态ARP的问题

Postby ESP_Faye » Fri Dec 11, 2015 2:21 pm

您好,

非常抱歉,目前并不支持 ETHARP_SUPPORT_STATIC_ENTRIES。
库里并不支持相关功能,因此您无法直接修改头文件,开启此功能。

Who is online

Users browsing this forum: No registered users and 19 guests