On 16/01/2008, Carlos Rubio <[EMAIL PROTECTED]> wrote: > my link command is: > gcc -o myapp myapp.o -lsnmp > but it link to the dinamyc library
Yes - that's correct. You haven't told the compiler to link things statically, so it will default to linking libraries dynamically. Please read the GCC documentation. In particular, see the flag '-static' Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
