Why can't use libsnmpv3.a?

Hi,
I want to sent V2 trap, so I compiled with libsnmpv3.a which is the updated file from the patches. But SNMP can’t work after I do a “WALK” operation. What is the reason? Anybody can tell me? thanks