Yes!thanks
It sounds like the header that declares snmp_mkoid isn't beingincluded in the file that contains myElem = mkoid(snmp_mkoid(oids[0]));