SNMP - how to recompile library?

The instructions for including a custom MIB say that various files have to be modified, and then the SNMP libraries recompiled. I haven’t been able to find information on how to do this. I’ve tried invoking the command-line environment, changing to the snmpcust directory, and running make, but that fails with a lot of warnings: " declaration of ‘index’ shadows a global declaration"

Running Eclipse, Net/OS 7.0 with the SNMP patches