Re: net-snmpd v5.5 build fails with "undefined reference to `pthread_create'"

"Howarth, James" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Yes, very sure.

I have been fighting this problem on a obscure custom version of Linux and decided to see if I could replicate the problem on a stock ubuntu distribution. I downloaded a fresh copy of the net-snmp source (v5.5) configured with these options and ran the make. 

./configure --enable-ipv6 --disable-embedded-perl

I also downloaded the source for the previous version (v5.4.2.1) and built it successfully using the same options.

James Howarth

 
On Apr 2, 2010, at 4:17 PM, Wes Hardaker wrote:

>>>>>> On Wed, 31 Mar 2010 15:34:00 +0000, James Howarth <[email protected]> said:
> 
> JH> ./configure --enable-ipv6 --disable-embedded-perl
> 
> Are you sure that's *all* the options you used?  Because this error:
> 
>  JH> ./.libs/libnetsnmpmibs.so: undefined reference to `pthread_create'
> 
> Seems to indicate that a mib module was compiled in that wants threads
> support, and none of the base distribution modules should require it.
> 
> -- 
> Wes Hardaker
> Cobham Analytic Solutions
> 
> 
> 


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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.