Hi Bart,
 
Do you know if net-snmp-5.2 also has dependency on pthread?
 
thanks!
 
Leo;

--- On Fri, 9/24/10, Bart Van Assche <bvanass...@acm.org> wrote:


From: Bart Van Assche <bvanass...@acm.org>
Subject: Re: Crosscompiling Netsnmp-5.6.rc1 for arm-unknown-linux under Cgywin
To: "Leo Lin" <hayashi_...@yahoo.com>
Cc: "Net-snmp-users" <net-snmp-users@lists.sourceforge.net>
Date: Friday, September 24, 2010, 3:43 AM


On Thu, Sep 23, 2010 at 8:00 PM, Leo Lin <hayashi_...@yahoo.com> wrote:







Someone know which libraries needs pthread?
Hello Leo,

You can get rid of the libpthread dependency as follows:
* Apply the patch attached to 
https://sourceforge.net/tracker/?func=detail&atid=312694&aid=2959811&group_id=12694.
* Remove the following text from configure.d/config_os_libs:


#   pthread library                                     (Linux)
#
if test "x$PARTIALTARGETOS" = "xlinux"; then
  NETSNMP_SEARCH_LIBS(pthread_create, pthread,,,, LMIBLIBS)
fi

* Regenerate the configure script by running the following command (see also 
http://net-snmp.sourceforge.net/wiki/index.php/Build_System):


autoreconf -i

* Run make distclean, configure and make.

Bart.





      
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
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