Hi,

I am having an issue trying to build net-snmpd v5.5 from the sources. 
Eventually I will be building on a custom version of Linux but I see the same 
problem when I try and build on a stock ubuntu distribution (9.10).

I have the package configure with the following options:

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

When I build, it stops with the following error:

libtool: link: gcc -DNETSNMP_ENABLE_IPV6 -g -O2 -Ulinux -Dlinux=linux -o 
.libs/snmpd .libs/snmpd.o  -L/home/jhowarth/net-snmp-5.5/agent/.libs 
-L/home/jhowarth/net-snmp-5.5/agent/helpers/.libs 
-L/home/jhowarth/net-snmp-5.5/snmplib/.libs 
-L/home/jhowarth/net-snmp-5.5/snmplib 
-L/home/jhowarth/net-snmp-5.5/agent/helpers ./.libs/libnetsnmpagent.so 
helpers/.libs/libnetsnmphelpers.so ./.libs/libnetsnmpmibs.so 
/home/jhowarth/net-snmp-5.5/agent/helpers/.libs/libnetsnmphelpers.so 
/home/jhowarth/net-snmp-5.5/agent/.libs/libnetsnmpagent.so 
/home/jhowarth/net-snmp-5.5/snmplib/.libs/libnetsnmp.so -ldl 
../snmplib/.libs/libnetsnmp.so 
./.libs/libnetsnmpmibs.so: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1

Anybody have any thoughts as to what might be causing this problem.

I verified that v5.4.2.1 builds successfully using the same configuration 
options on the same ubuntu box.

Jamie Howarth

------------------------------------------------------------------------------
Download Intel® 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
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