Large table column_set_flags

2012-06-08 Thread William Durocher
When generating a table with greater than 32 entries. column_set_flags is still defined as a unsigned int, Since the defines are in the format of (0x1 << xx) this produces a compiler warning because 0x1 is 32 bits and xx is greater than 31 for some of the entries. Also assigning this define to colu

dynamically loadable object written in c++

2012-06-08 Thread Mert Özer
Hi, Is it possible to create C++ code file with mib2c compiler? I ask because I need shared object file that coded with C++ in my project. After compiling I also need to load that .so file to the snmpd agent. Is it any way to do it? Actually creating C++ code from mib2c compiler is not that import

RE: Stuck in the way of quering a private MIB (extension using perl)

2012-06-08 Thread Chayvialle, Daniel (External)
The way I created the new user (test1) is % sudo net-snmp-config --create-snmpv3-user then answering the questions. As I reinstalled (using synaptics) all snmp-related packages after trying to compile the latest sources, this should be the vendor-provided version. The said line (createUser...)