Linking issues with lwIP

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Linking issues with lwIP

Huzaifa Saadat
Hello lwIP users and developers,

I am facing some linking issues in a project where I'm trying to build lwip e.g. in netbios.c :

build\versatilepb\as.infrastructure\arch\common\lwip\netbios.o: In function `netbios_recv':
D:\HuzaifaSaadat\AUTOSARCC\VirtualCP\as-master\com\as.infrastructure\arch\common\lwip/netbios.c:285: undefined reference to `pbuf_alloc'
D:\HuzaifaSaadat\AUTOSARCC\VirtualCP\as-master\com\as.infrastructure\arch\common\lwip/netbios.c:311: undefined reference to `udp_sendto'
D:\HuzaifaSaadat\AUTOSARCC\VirtualCP\as-master\com\as.infrastructure\arch\common\lwip/netbios.c:314: undefined reference to `pbuf_free'
D:\HuzaifaSaadat\AUTOSARCC\VirtualCP\as-master\com\as.infrastructure\arch\common\lwip/netbios.c:320: undefined reference to `pbuf_free'
D:\HuzaifaSaadat\AUTOSARCC\VirtualCP\as-master\com\as.infrastructure\arch\common\lwip/netbios.c:322: undefined reference to `netif_default'
build\versatilepb\as.infrastructure\arch\common\lwip\netbios.o: In function `netbios_init':
D:\HuzaifaSaadat\AUTOSARCC\VirtualCP\as-master\com\as.infrastructure\arch\common\lwip/netbios.c:330: undefined reference to `udp_new'
D:\HuzaifaSaadat\AUTOSARCC\VirtualCP\as-master\com\as.infrastructure\arch\common\lwip/netbios.c:334: undefined reference to `udp_bind'
D:\HuzaifaSaadat\AUTOSARCC\VirtualCP\as-master\com\as.infrastructure\arch\common\lwip/netbios.c:335: undefined reference to `udp_recv'
D:\HuzaifaSaadat\AUTOSARCC\VirtualCP\as-master\com\as.infrastructure\arch\common\lwip/netbios.c:337: undefined reference to `ip_addr_any'

I have attached the text file for the whole list. Even after explicitly adding #include "lwip/pbuf.h" there's still an undefined reference to `pbuf_alloc'.

Can you please give me some hints about what could be the possible problems? Or connect me to someone who can help me?

Regards,
Huzaifa Saadat,

_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel

LinkingErrorsQuery.txt (30K) Download Attachment