Re: linking static

2008-01-16 Thread Dave Shield
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 G

Re: linking static

2008-01-16 Thread Carlos Rubio
It's on debian i am use the development packages, and my link command is: gcc -o myapp myapp.o -lsnmp but it link to the dinamyc library 2008/1/15, Dave Shield <[EMAIL PROTECTED]>: > On 10/01/2008, Carlos Rubio <[EMAIL PROTECTED]> wrote: > > i am writing a litle app using snmp lib and i want to

Re: linking static

2008-01-15 Thread Dave Shield
On 10/01/2008, Carlos Rubio <[EMAIL PROTECTED]> wrote: > i am writing a litle app using snmp lib and i want to link it static > how i do that? That will depend on the O/S and compilation environment that you are using. It's not really specific to the net-snmp package. See the documentation for

linking static

2008-01-10 Thread Carlos Rubio
i am writing a litle app using snmp lib and i want to link it static how i do that? - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.do