Re: Problem with using pthread library

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
John Anderson wrote:
> I found that the configure
> recognizes the fact that I want it linked with -lpthread and proceeds to
> add to include/net-snmp/net-snmp-config.h the following...
>  
> #define NET_REENTRANT 1

I cannot reproduce this for 5.4.x SVN:

foo# ./configure LDFLAGS=-lpthread --with-defaults
...
foo# grep NETSNMP_REENTRANT include/net-snmp/net-snmp-config.h
/* #undef NETSNMP_REENTRANT */
#ifdef NETSNMP_REENTRANT
# define NS_REENTRANT NETSNMP_REENTRANT

> My solution was to edit net-snmp-config.h after running configure and
> undoing those defines.

That's a sufficient workaround anyway.


+Thomas

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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.