Re: Crosscompiling Netsnmp-5.6.rc1 for arm-unknown-linux under Cgywin

Bart Van Assche <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Thu, Sep 23, 2010 at 8:00 PM, Leo Lin <[email protected]> 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.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.