Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
[ 95%] Building CXX object CMakeFiles/ip2socks.dir/src/udp_raw.cpp.o
In file included from /root/ip2socks/src/udp_raw.cpp:14:0:
/usr/include/netinet/in.h:376:78: error: declaration of ‘uint32_t lwip_htonl(uint32_t) throw ()’ has a different exception specifier
extern uint32_t ntohl (uint32_t __netlong) __THROW attribute ((const));
^
In file included from /root/ip2socks/lwip/src/include/lwip/ip_addr.h:41:0,
from /root/ip2socks/lwip/src/include/lwip/netif.h:46,
from /root/ip2socks/lwip/src/include/lwip/udp.h:46,
from /root/ip2socks/src/udp_raw.cpp:9:
/root/ip2socks/lwip/src/include/lwip/def.h:101:7: error: from previous declaration ‘u32_t lwip_htonl(u32_t)’
u32_t lwip_htonl(u32_t x);
^
In file included from /root/ip2socks/src/udp_raw.cpp:14:0:
/usr/include/netinet/in.h:378:40: error: declaration of ‘uint16_t lwip_htons(uint16_t) throw ()’ has a different exception specifier
__THROW attribute ((const));
^
In file included from /root/ip2socks/lwip/src/include/lwip/ip_addr.h:41:0,
from /root/ip2socks/lwip/src/include/lwip/netif.h:46,
from /root/ip2socks/lwip/src/include/lwip/udp.h:46,
from /root/ip2socks/src/udp_raw.cpp:9:
/root/ip2socks/lwip/src/include/lwip/def.h:96:7: error: from previous declaration ‘u16_t lwip_htons(u16_t)’
u16_t lwip_htons(u16_t x);
^
In file included from /root/ip2socks/src/udp_raw.cpp:14:0:
/usr/include/netinet/in.h:380:40: error: declaration of ‘uint32_t lwip_htonl(uint32_t) throw ()’ has a different exception specifier
__THROW attribute ((const));
^
In file included from /root/ip2socks/lwip/src/include/lwip/ip_addr.h:41:0,
from /root/ip2socks/lwip/src/include/lwip/netif.h:46,
from /root/ip2socks/lwip/src/include/lwip/udp.h:46,
from /root/ip2socks/src/udp_raw.cpp:9:
/root/ip2socks/lwip/src/include/lwip/def.h:103:23: error: from previous declaration ‘uint32_t lwip_htonl(uint32_t)’
#define lwip_ntohl(x) lwip_htonl(x)
^
In file included from /root/ip2socks/src/udp_raw.cpp:14:0:
/usr/include/netinet/in.h:382:40: error: declaration of ‘uint16_t lwip_htons(uint16_t) throw ()’ has a different exception specifier
__THROW attribute ((const));
^
In file included from /root/ip2socks/lwip/src/include/lwip/ip_addr.h:41:0,
from /root/ip2socks/lwip/src/include/lwip/netif.h:46,
from /root/ip2socks/lwip/src/include/lwip/udp.h:46,
from /root/ip2socks/src/udp_raw.cpp:9:
/root/ip2socks/lwip/src/include/lwip/def.h:98:23: error: from previous declaration ‘uint16_t lwip_htons(uint16_t)’
#define lwip_ntohs(x) lwip_htons(x)
^
/root/ip2socks/src/udp_raw.cpp: In function ‘void udp_raw_recv(void*, udp_pcb*, pbuf*, const ip_addr_t*, u16_t)’:
/root/ip2socks/src/udp_raw.cpp:211:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("tcp", conf->dns_mode) == 0 && upcb->remote_fake_port == 53) {
^
/root/ip2socks/src/udp_raw.cpp:305:39: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
sprintf(dns_port, "%d", upcb->remote_fake_port);
^
/root/ip2socks/src/udp_raw.cpp:350:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:424:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:482:32: error: ‘struct udp_pcb’ has no member named ‘remote_fake_ip’
inet_ntop(AF_INET, &(upcb->remote_fake_ip), remote_fake_ip_str, INET_ADDRSTRLEN);
^
/root/ip2socks/src/udp_raw.cpp:484:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:496:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:499:23: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
pport = upcb->remote_fake_port;
^
/root/ip2socks/src/udp_raw.cpp:538:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:546:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:549:23: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
pport = upcb->remote_fake_port;
^
CMakeFiles/ip2socks.dir/build.make:1550: recipe for target 'CMakeFiles/ip2socks.dir/src/udp_raw.cpp.o' failed
make[2]: *** [CMakeFiles/ip2socks.dir/src/udp_raw.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ip2socks.dir/all' failed
make[1]: *** [CMakeFiles/ip2socks.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
root@mailsys89:/ip2socks#
In file included from /root/ip2socks/src/udp_raw.cpp:14:0:
/usr/include/netinet/in.h:382:40: error: declaration of ‘uint16_t lwip_htons(uint16_t) throw ()’ has a different exception specifier
__THROW attribute ((const));
^
In file included from /root/ip2socks/lwip/src/include/lwip/ip_addr.h:41:0,
from /root/ip2socks/lwip/src/include/lwip/netif.h:46,
from /root/ip2socks/lwip/src/include/lwip/udp.h:46,
from /root/ip2socks/src/udp_raw.cpp:9:
/root/ip2socks/lwip/src/include/lwip/def.h:98:23: error: from previous declaration ‘uint16_t lwip_htons(uint16_t)’
#define lwip_ntohs(x) lwip_htons(x)
^
/root/ip2socks/src/udp_raw.cpp: In function ‘void udp_raw_recv(void*, udp_pcb*, pbuf*, const ip_addr_t*, u16_t)’:
/root/ip2socks/src/udp_raw.cpp:211:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("tcp", conf->dns_mode) == 0 && upcb->remote_fake_port == 53) {
^
/root/ip2socks/src/udp_raw.cpp:305:39: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
sprintf(dns_port, "%d", upcb->remote_fake_port);
^
/root/ip2socks/src/udp_raw.cpp:350:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:424:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:482:32: error: ‘struct udp_pcb’ has no member named ‘remote_fake_ip’
inet_ntop(AF_INET, &(upcb->remote_fake_ip), remote_fake_ip_str, INET_ADDRSTRLEN);
^
/root/ip2socks/src/udp_raw.cpp:484:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:496:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:499:23: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
pport = upcb->remote_fake_port;
^
/root/ip2socks/src/udp_raw.cpp:538:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:546:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:549:23: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
pport = upcb->remote_fake_port;
^
CMakeFiles/ip2socks.dir/build.make:1550: recipe for target 'CMakeFiles/ip2socks.dir/src/udp_raw.cpp.o' failed
make[2]: *** [CMakeFiles/ip2socks.dir/src/udp_raw.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ip2socks.dir/all' failed
make[1]: *** [CMakeFiles/ip2socks.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
root@mailsys89:/ip2socks#
In file included from /root/ip2socks/src/udp_raw.cpp:14:0:
/usr/include/netinet/in.h:382:40: error: declaration of ‘uint16_t lwip_htons(uint16_t) throw ()’ has a different exception specifier
__THROW attribute ((const));
^
In file included from /root/ip2socks/lwip/src/include/lwip/ip_addr.h:41:0,
from /root/ip2socks/lwip/src/include/lwip/netif.h:46,
from /root/ip2socks/lwip/src/include/lwip/udp.h:46,
from /root/ip2socks/src/udp_raw.cpp:9:
/root/ip2socks/lwip/src/include/lwip/def.h:98:23: error: from previous declaration ‘uint16_t lwip_htons(uint16_t)’
#define lwip_ntohs(x) lwip_htons(x)
^
/root/ip2socks/src/udp_raw.cpp: In function ‘void udp_raw_recv(void*, udp_pcb*, pbuf*, const ip_addr_t*, u16_t)’:
/root/ip2socks/src/udp_raw.cpp:211:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("tcp", conf->dns_mode) == 0 && upcb->remote_fake_port == 53) {
^
/root/ip2socks/src/udp_raw.cpp:305:39: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
sprintf(dns_port, "%d", upcb->remote_fake_port);
^
/root/ip2socks/src/udp_raw.cpp:350:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:424:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:482:32: error: ‘struct udp_pcb’ has no member named ‘remote_fake_ip’
inet_ntop(AF_INET, &(upcb->remote_fake_ip), remote_fake_ip_str, INET_ADDRSTRLEN);
^
/root/ip2socks/src/udp_raw.cpp:484:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:496:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:499:23: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
pport = upcb->remote_fake_port;
^
/root/ip2socks/src/udp_raw.cpp:538:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:546:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:549:23: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
pport = upcb->remote_fake_port;
^
CMakeFiles/ip2socks.dir/build.make:1550: recipe for target 'CMakeFiles/ip2socks.dir/src/udp_raw.cpp.o' failed
make[2]: *** [CMakeFiles/ip2socks.dir/src/udp_raw.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ip2socks.dir/all' failed
make[1]: *** [CMakeFiles/ip2socks.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
root@mailsys89:/ip2socks#
In file included from /root/ip2socks/src/udp_raw.cpp:14:0:
/usr/include/netinet/in.h:382:40: error: declaration of ‘uint16_t lwip_htons(uint16_t) throw ()’ has a different exception specifier
__THROW attribute ((const));
^
In file included from /root/ip2socks/lwip/src/include/lwip/ip_addr.h:41:0,
from /root/ip2socks/lwip/src/include/lwip/netif.h:46,
from /root/ip2socks/lwip/src/include/lwip/udp.h:46,
from /root/ip2socks/src/udp_raw.cpp:9:
/root/ip2socks/lwip/src/include/lwip/def.h:98:23: error: from previous declaration ‘uint16_t lwip_htons(uint16_t)’
#define lwip_ntohs(x) lwip_htons(x)
^
/root/ip2socks/src/udp_raw.cpp: In function ‘void udp_raw_recv(void*, udp_pcb*, pbuf*, const ip_addr_t*, u16_t)’:
/root/ip2socks/src/udp_raw.cpp:211:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("tcp", conf->dns_mode) == 0 && upcb->remote_fake_port == 53) {
^
/root/ip2socks/src/udp_raw.cpp:305:39: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
sprintf(dns_port, "%d", upcb->remote_fake_port);
^
/root/ip2socks/src/udp_raw.cpp:350:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:424:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:482:32: error: ‘struct udp_pcb’ has no member named ‘remote_fake_ip’
inet_ntop(AF_INET, &(upcb->remote_fake_ip), remote_fake_ip_str, INET_ADDRSTRLEN);
^
/root/ip2socks/src/udp_raw.cpp:484:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:496:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:499:23: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
pport = upcb->remote_fake_port;
^
/root/ip2socks/src/udp_raw.cpp:538:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:546:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:549:23: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
pport = upcb->remote_fake_port;
^
CMakeFiles/ip2socks.dir/build.make:1550: recipe for target 'CMakeFiles/ip2socks.dir/src/udp_raw.cpp.o' failed
make[2]: *** [CMakeFiles/ip2socks.dir/src/udp_raw.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ip2socks.dir/all' failed
make[1]: *** [CMakeFiles/ip2socks.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
root@mailsys89:/ip2socks#
In file included from /root/ip2socks/src/udp_raw.cpp:14:0:
/usr/include/netinet/in.h:382:40: error: declaration of ‘uint16_t lwip_htons(uint16_t) throw ()’ has a different exception specifier
__THROW attribute ((const));
^
In file included from /root/ip2socks/lwip/src/include/lwip/ip_addr.h:41:0,
from /root/ip2socks/lwip/src/include/lwip/netif.h:46,
from /root/ip2socks/lwip/src/include/lwip/udp.h:46,
from /root/ip2socks/src/udp_raw.cpp:9:
/root/ip2socks/lwip/src/include/lwip/def.h:98:23: error: from previous declaration ‘uint16_t lwip_htons(uint16_t)’
#define lwip_ntohs(x) lwip_htons(x)
^
/root/ip2socks/src/udp_raw.cpp: In function ‘void udp_raw_recv(void*, udp_pcb*, pbuf*, const ip_addr_t*, u16_t)’:
/root/ip2socks/src/udp_raw.cpp:211:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("tcp", conf->dns_mode) == 0 && upcb->remote_fake_port == 53) {
^
/root/ip2socks/src/udp_raw.cpp:305:39: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
sprintf(dns_port, "%d", upcb->remote_fake_port);
^
/root/ip2socks/src/udp_raw.cpp:350:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:424:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:482:32: error: ‘struct udp_pcb’ has no member named ‘remote_fake_ip’
inet_ntop(AF_INET, &(upcb->remote_fake_ip), remote_fake_ip_str, INET_ADDRSTRLEN);
^
/root/ip2socks/src/udp_raw.cpp:484:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:496:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:499:23: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
pport = upcb->remote_fake_port;
^
/root/ip2socks/src/udp_raw.cpp:538:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:546:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:549:23: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
pport = upcb->remote_fake_port;
^
CMakeFiles/ip2socks.dir/build.make:1550: recipe for target 'CMakeFiles/ip2socks.dir/src/udp_raw.cpp.o' failed
make[2]: *** [CMakeFiles/ip2socks.dir/src/udp_raw.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ip2socks.dir/all' failed
make[1]: *** [CMakeFiles/ip2socks.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
root@mailsys89:/ip2socks#
In file included from /root/ip2socks/src/udp_raw.cpp:14:0:
/usr/include/netinet/in.h:382:40: error: declaration of ‘uint16_t lwip_htons(uint16_t) throw ()’ has a different exception specifier
__THROW attribute ((const));
^
In file included from /root/ip2socks/lwip/src/include/lwip/ip_addr.h:41:0,
from /root/ip2socks/lwip/src/include/lwip/netif.h:46,
from /root/ip2socks/lwip/src/include/lwip/udp.h:46,
from /root/ip2socks/src/udp_raw.cpp:9:
/root/ip2socks/lwip/src/include/lwip/def.h:98:23: error: from previous declaration ‘uint16_t lwip_htons(uint16_t)’
#define lwip_ntohs(x) lwip_htons(x)
^
/root/ip2socks/src/udp_raw.cpp: In function ‘void udp_raw_recv(void*, udp_pcb*, pbuf*, const ip_addr_t*, u16_t)’:
/root/ip2socks/src/udp_raw.cpp:211:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("tcp", conf->dns_mode) == 0 && upcb->remote_fake_port == 53) {
^
/root/ip2socks/src/udp_raw.cpp:305:39: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
sprintf(dns_port, "%d", upcb->remote_fake_port);
^
/root/ip2socks/src/udp_raw.cpp:350:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:424:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:482:32: error: ‘struct udp_pcb’ has no member named ‘remote_fake_ip’
inet_ntop(AF_INET, &(upcb->remote_fake_ip), remote_fake_ip_str, INET_ADDRSTRLEN);
^
/root/ip2socks/src/udp_raw.cpp:484:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:496:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:499:23: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
pport = upcb->remote_fake_port;
^
/root/ip2socks/src/udp_raw.cpp:538:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:546:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:549:23: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
pport = upcb->remote_fake_port;
^
CMakeFiles/ip2socks.dir/build.make:1550: recipe for target 'CMakeFiles/ip2socks.dir/src/udp_raw.cpp.o' failed
make[2]: *** [CMakeFiles/ip2socks.dir/src/udp_raw.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ip2socks.dir/all' failed
make[1]: *** [CMakeFiles/ip2socks.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
root@mailsys89:/ip2socks#
In file included from /root/ip2socks/src/udp_raw.cpp:14:0:
/usr/include/netinet/in.h:382:40: error: declaration of ‘uint16_t lwip_htons(uint16_t) throw ()’ has a different exception specifier
__THROW attribute ((const));
^
In file included from /root/ip2socks/lwip/src/include/lwip/ip_addr.h:41:0,
from /root/ip2socks/lwip/src/include/lwip/netif.h:46,
from /root/ip2socks/lwip/src/include/lwip/udp.h:46,
from /root/ip2socks/src/udp_raw.cpp:9:
/root/ip2socks/lwip/src/include/lwip/def.h:98:23: error: from previous declaration ‘uint16_t lwip_htons(uint16_t)’
#define lwip_ntohs(x) lwip_htons(x)
^
/root/ip2socks/src/udp_raw.cpp: In function ‘void udp_raw_recv(void*, udp_pcb*, pbuf*, const ip_addr_t*, u16_t)’:
/root/ip2socks/src/udp_raw.cpp:211:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("tcp", conf->dns_mode) == 0 && upcb->remote_fake_port == 53) {
^
/root/ip2socks/src/udp_raw.cpp:305:39: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
sprintf(dns_port, "%d", upcb->remote_fake_port);
^
/root/ip2socks/src/udp_raw.cpp:350:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:424:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:482:32: error: ‘struct udp_pcb’ has no member named ‘remote_fake_ip’
inet_ntop(AF_INET, &(upcb->remote_fake_ip), remote_fake_ip_str, INET_ADDRSTRLEN);
^
/root/ip2socks/src/udp_raw.cpp:484:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:496:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:499:23: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
pport = upcb->remote_fake_port;
^
/root/ip2socks/src/udp_raw.cpp:538:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:546:53: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
if (strcmp("udp", conf->dns_mode) == 0 && upcb->remote_fake_port == atoi(conf->local_dns_port)) {
^
/root/ip2socks/src/udp_raw.cpp:549:23: error: ‘struct udp_pcb’ has no member named ‘remote_fake_port’
pport = upcb->remote_fake_port;
^
CMakeFiles/ip2socks.dir/build.make:1550: recipe for target 'CMakeFiles/ip2socks.dir/src/udp_raw.cpp.o' failed
make[2]: *** [CMakeFiles/ip2socks.dir/src/udp_raw.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ip2socks.dir/all' failed
make[1]: *** [CMakeFiles/ip2socks.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2