sac5@rack25 ~ $ cc snmptest.c /tmp/ccFXTXOq.o: In function `main': snmptest.c:(.text+0x61): undefined reference to `init_snmp' snmptest.c:(.text+0x6f): undefined reference to `snmp_sess_init' snmptest.c:(.text+0xcd): undefined reference to `snmp_open' snmptest.c:(.text+0xdc): undefined reference to `add_mibdir' snmptest.c:(.text+0xe8): undefined reference to `read_mib' snmptest.c:(.text+0xf7): undefined reference to `snmp_pdu_create' snmptest.c:(.text+0x11a): undefined reference to `read_objid' snmptest.c:(.text+0x139): undefined reference to `snmp_add_null_var' snmptest.c:(.text+0x159): undefined reference to `read_objid' snmptest.c:(.text+0x178): undefined reference to `snmp_add_null_var' snmptest.c:(.text+0x194): undefined reference to `snmp_synch_response' snmptest.c:(.text+0x1c4): undefined reference to `print_value' snmptest.c:(.text+0x1e0): undefined reference to `snmp_free_pdu' snmptest.c:(.text+0x1eb): undefined reference to `snmp_close' collect2: ld returned 1 exit status