Release 2.8.2 Errors
Posted: Thu Dec 01, 2016 9:28 am
I installed v2.8.2 and rebuilt the system because I'm using SNMP, and it won't compile.
As installed, with IPV6 defined, these are the errors:
BEGIN:
tcp.cpp: In member function 'void socket_struct::DoCleanup()':
tcp.cpp:3957:17: warning: unused variable 'n' [-Wunused-variable]
int n = ps->RxBuffer.ReadData( (uint8_t *)&qps, sizeof(PSOCKET) );
^
tcp.cpp: In member function 'void socket_struct::ShowSocketInfo()':
tcp.cpp:4043:58: warning: repeated ' ' flag in format [-Wformat=]
iprintf(" myIP: %I - theirIP: %I\n", my_if_ip, his_ip);
^
tcp.cpp:4043:58: warning: unknown conversion type character 'h' in format [-Wfor
mat=]
tcp.cpp:4043:58: warning: unknown conversion type character 0xa in format [-Wfor
mat=]
tcp.cpp:4043:58: warning: too many arguments for format [-Wformat-extra-args]
In file included from C:\nburn/include/ip.h:34:0,
from snmp/asn1.cpp:30:
C:\nburn/include/nettypes.h: In member function 'IPADDR ASN::GetIPAddr()':
C:\nburn/include/nettypes.h:109:8: error: 'DWORD IPADDR4::ip_val' is private
DWORD ip_val;
^
snmp/asn1.cpp:472:7: error: within this context
i4.ip_val=ipaddr_dw;
^
make: *** [snmp/asn1.o] Error 1
END: ============================================================
With IPV4ONLY defined, these are the errors:
BEGIN:
In file included from C:\nburn/include/ip.h:34:0,
from snmp/asn1.cpp:30:
C:\nburn/include/nettypes.h: In member function 'IPADDR ASN::GetIPAddr()':
C:\nburn/include/nettypes.h:109:8: error: 'DWORD IPADDR4::ip_val' is private
DWORD ip_val;
^
snmp/asn1.cpp:472:7: error: within this context
i4.ip_val=ipaddr_dw;
^
make: *** [snmp/asn1.o] Error 1
rm software_init.o ucosmcfa.o
END: ============================================================
As installed, with IPV6 defined, these are the errors:
BEGIN:
tcp.cpp: In member function 'void socket_struct::DoCleanup()':
tcp.cpp:3957:17: warning: unused variable 'n' [-Wunused-variable]
int n = ps->RxBuffer.ReadData( (uint8_t *)&qps, sizeof(PSOCKET) );
^
tcp.cpp: In member function 'void socket_struct::ShowSocketInfo()':
tcp.cpp:4043:58: warning: repeated ' ' flag in format [-Wformat=]
iprintf(" myIP: %I - theirIP: %I\n", my_if_ip, his_ip);
^
tcp.cpp:4043:58: warning: unknown conversion type character 'h' in format [-Wfor
mat=]
tcp.cpp:4043:58: warning: unknown conversion type character 0xa in format [-Wfor
mat=]
tcp.cpp:4043:58: warning: too many arguments for format [-Wformat-extra-args]
In file included from C:\nburn/include/ip.h:34:0,
from snmp/asn1.cpp:30:
C:\nburn/include/nettypes.h: In member function 'IPADDR ASN::GetIPAddr()':
C:\nburn/include/nettypes.h:109:8: error: 'DWORD IPADDR4::ip_val' is private
DWORD ip_val;
^
snmp/asn1.cpp:472:7: error: within this context
i4.ip_val=ipaddr_dw;
^
make: *** [snmp/asn1.o] Error 1
END: ============================================================
With IPV4ONLY defined, these are the errors:
BEGIN:
In file included from C:\nburn/include/ip.h:34:0,
from snmp/asn1.cpp:30:
C:\nburn/include/nettypes.h: In member function 'IPADDR ASN::GetIPAddr()':
C:\nburn/include/nettypes.h:109:8: error: 'DWORD IPADDR4::ip_val' is private
DWORD ip_val;
^
snmp/asn1.cpp:472:7: error: within this context
i4.ip_val=ipaddr_dw;
^
make: *** [snmp/asn1.o] Error 1
rm software_init.o ucosmcfa.o
END: ============================================================