lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] error compiling linux port


From: Sam
Subject: [lwip-users] error compiling linux port
Date: Thu, 12 Apr 2018 00:17:40 -0700 (MST)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]