problem about gcc using *.so
"liuying" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Dear: I have a problem about using dynamic library.I generate "libsnmp.so" successfully. But when I use: $ gcc main.c -L -lsnmp -I ./include -o main It returns: libsnmp.so: undefined reference to `register_mib` libsnmp.so: undefined reference to `send_v2trap` libsnmp.so: undefined reference to `debugmsg` libsnmp.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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users