Skip to content

Fix netconn_recv_tcp_pbuf ARMC6 linker error #10908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2019
Merged

Fix netconn_recv_tcp_pbuf ARMC6 linker error #10908

merged 1 commit into from
Jul 1, 2019

Conversation

kivaisan
Copy link
Contributor

Description

If "lwip.tcp-enabled" is set to false, ARMC6 compilation fails to linker error
Error: L6218E: Undefined symbol netconn_recv_tcp_pbuf

LWIP::socket_recv() is TCP socket specific method so implementation can be
enabled only when LWIP_TCP flag is set.

Fixes the compilation bug introduced in PR #10807.

Pull request type

[X] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

@kjbracey-arm

Release Notes

If "lwip.tcp-enabled" is set to false, ARMC6 compilation fails to error
Error: L6218E: Undefined symbol netconn_recv_tcp_pbuf

LWIP::socket_recv() is TCP socket specific method so implementation can be
enabled only when LWIP_TCP flag is set.
@ciarmcom ciarmcom requested review from kjbracey and a team June 27, 2019 13:00
@ciarmcom
Copy link
Member

@kivaisan, thank you for your changes.
@kjbracey-arm @ARMmbed/mbed-os-ipcore @ARMmbed/mbed-os-maintainers please review.

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 28, 2019

Ci started

@mbed-ci
Copy link

mbed-ci commented Jun 28, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 1
Build artifacts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants