When enabling LWIP_DEBUG in lwip_opts.h building errors appear

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

When enabling LWIP_DEBUG in lwip_opts.h building errors appear

1,455件の閲覧回数
hansvandaal
Contributor I

Finished building: ../lwip/src/api/tcpip.c
In file included from ../example/src/lwip_fs.c:37:
../example/src/lwip_fs.h:174:25: error: unknown type name 'err_t'
const char *lwip_strerr(err_t eno);

err_t is defined in err.h, but when I include that file other errors are appearing.

How can I eable LWIP_DEBUG without errors?

0 件の賞賛
返信
1 返信

1,398件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi

Which SDK version you are using?

I just checked SDK_2.6.1_EVKB_IMXRT1050,  demo lwip_tcpecho_freertos,  LWIP_DEBUG is enabled by default, and can compile successfully on my side.

pastedImage_1.png

Regards

Daniel

0 件の賞賛
返信