[ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]
 

On Mon, 2005-05-23 at 13:31, Paul Chen (QD/LJC) wrote:
> Hi, Dave
>  What will the script "configure" change when I set --enable-shared.

Probably nothing.

   $ ./configure --help | grep enable-shared
   --enable-shared=PKGS  build shared libraries default=yes
                                                ^^^^^^^^^^^


>  I found nothing changed in the Makefile.

That's because this is already the default.

>  And after I set --enable-shared , the snmpd compiled is the same
>  size with the one complied with the token "--enable-static", why?

No idea.  You haven't said what O/S you're working with.
And I'm not a compiler or configure expert, so don't know how
'enable-static' and 'enable-shared' interact on that O/S.

My *guess* is that you'd probably need to explicitly disable
shared libraries - i.e. something like

    ./configure --disable-shared --enable-static

Maybe someone on the list can offer more solid advice.

Dave



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
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