Move -lnetsnmp to end of link command (after source files). In GCC/Clang, library flags must come after the object files that reference them for proper symbol resolution. This fixes 'undefined symbol: init_snmp' runtime errors on Linux. |
||
|---|---|---|
| .. | ||
| Makefile | ||
| towerops_nif.c | ||