Dear:

    I have a problem about using dynamic library.I 

generate "snmp.so" successfully.


    But when I use:

 

   $ gcc main.c -L -lsnmp -I ./include -o main

 

 It returns:


    snmp.so: undefined reference to `register_mib`
    snmp.so: undefined reference to `send_v2trap`
    snmp.so: undefined reference to `debugmsg`
    snmp.so: undefined reference to `……`
     ……

 

  There are some errors.What can I do to solve the

problem?

 

   Looking forward for your help!Thanks!

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to