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里面没有这个函数。
请问 是库里面没有这个函数,还是 我使用的方法有问题?
谢谢!