> I am using the UCD-SNMP-4.2.6 and I am trying to use the send_easy_trap
> function in a project that I am developing. Although, I included the header
> file with the function prototype, I cannot build my application due to a
> linker error concerning the function definition. (undefined reference to
> `send_easy_trap(int, int)'
Is this application part of the agent, or a standalone client application?
The routines documented in the 'snmp_trap_api' man page (including
'send_easy_trap') are *only* supported within the agent.
> I was wondering if you can inform me about the library that the
> send_easy_trap function uses
-lnetsnmpagent
Dave
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users