You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using catalina 10.15.4 (19E287)
Installing net-snmp-5.8 ( the current release )
I got the following errors compiling.
/Users/brianmeyerdesign/agility/src/net-snmp-5.8/agent/mibgroup/mibII/tcp.c:343:21: error: use of undeclared identifier 'TCPTV_MIN'
ret_value = TCPTV_MIN / PR_SLOWHZ * 1000;
^
/Users/brianmeyerdesign/agility/src/net-snmp-5.8/agent/mibgroup/mibII/tcp.c:351:21: error: use of undeclared identifier 'TCPTV_REXMTMAX'
ret_value = TCPTV_REXMTMAX / PR_SLOWHZ * 1000;
I read someone noting that they didn't have a darwinXX.h file for their specific version of darwin, these seem to just include the previous file, so I duplicated darwin17.h, made a darwin18.h and a darwin19.h ( not really sure the darwin version ), adjusted each to just include the previous header file, doing that the code compiles.
You might want to do 20 an 21 so it deals with a few more versions, or solve this in some other way.
The text was updated successfully, but these errors were encountered:
bvanassche
added a commit
to bvanassche/net-snmp
that referenced
this issue
Apr 25, 2020
But just going in to the git code repository here, downloading the master, and using that code instead works fine instead, compiles with no problems with my having to adjust any of the files.
Using catalina 10.15.4 (19E287)
Installing net-snmp-5.8 ( the current release )
I got the following errors compiling.
/Users/brianmeyerdesign/agility/src/net-snmp-5.8/agent/mibgroup/mibII/tcp.c:343:21: error: use of undeclared identifier 'TCPTV_MIN'
ret_value = TCPTV_MIN / PR_SLOWHZ * 1000;
^
/Users/brianmeyerdesign/agility/src/net-snmp-5.8/agent/mibgroup/mibII/tcp.c:351:21: error: use of undeclared identifier 'TCPTV_REXMTMAX'
ret_value = TCPTV_REXMTMAX / PR_SLOWHZ * 1000;
I read someone noting that they didn't have a darwinXX.h file for their specific version of darwin, these seem to just include the previous file, so I duplicated darwin17.h, made a darwin18.h and a darwin19.h ( not really sure the darwin version ), adjusted each to just include the previous header file, doing that the code compiles.
You might want to do 20 an 21 so it deals with a few more versions, or solve this in some other way.
The text was updated successfully, but these errors were encountered: