The compatibility API in 5.0.6 appears to be broken when including
ucd-snmp/snmp_impl.h: I get errors during the PHP build now like:
In file included from /usr/include/net-snmp/library/snmp_impl.h:39,
/usr/include/net-snmp/types.h:11:2: #error "Please include
<net-snmp/net-snmp-config.h> before this file"
(with -DUCD_COMPATIBLE passed to the compiler)
This didn't happen in version 5.0.1.
*** This bug has been marked as a duplicate of 77405 ***