Hello 
I'm new in lwIP stack and I'm trying to use the linux's port in the
contrib's files. 
When I'm trying to compile, I face this error : 


 ../../../../lwip/src/core/dns.c:101:23: error: implicit declaration of
function ‘LWIP_RAND’ [-Werror=implicit-function-declaration]
 #define DNS_RAND_TXID LWIP_RAND
                       ^
../../../../lwip/src/core/dns.c:858:25: note: in expansion of macro
‘DNS_RAND_TXID’
     u16_t port = (u16_t)DNS_RAND_TXID();
                         ^
../../../../lwip/src/core/dns.c:858:5: error: nested extern declaration of
‘LWIP_RAND’ [-Werror=nested-externs]
     u16_t port = (u16_t)DNS_RAND_TXID();


thanks for any help :) 




--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to