This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

function net_pton - compiling issue on MacOS

Hi,

I am currently facing a coming issue by using the function net_pton. Under MacOS I get the following error:

1> app/libapp.a(main.c.obj): In function `inet_pton':
1> /Users/holger/Nordic/SDK_Source/ncs/zephyr/include/net/socket.h:667: undefined reference to `net_addr_pton'
1> collect2: error: ld returned 1 exit status
Build failed

Compiling the exact same code version on a windows machine everything is working well without showing this issue.

Any idea why this happens on the Mac?

Thanks!
Parents Reply Children
No Data
Related