On Sun, May 15, 2011 at 10:26 AM, William <[email protected]> wrote:
> I develop my project using the net-snmp 5.4.2.1,with cross-tools
> arm-linux-gcc.
> After I configure ,make ,and make install.
>
> It works well when I snmpget/snmpset the sysUpTime etc..
> When I start the snmpd service:
> #snmpd -f -Lo -d
> Error appears:
> dlopen failed: /usr/lib/libuart.so: undefined symbol: pthread_create
>
> I guess it's the problem about the configure arguments,so I added the
> "--enable-reentrant",the problem still exist.
>
> The configure arguments as following:
> CC=arm-linux-gcc ./configure --build=i386-linux --host=arm-linux
> --disable-ipv6 --with-endianness=little --disable-manuals
> --disable-ucd-snmp-compatibility --enable-as-needed --disable-embedded-perl
> --without-perl-modules --disable-snmptrap-subagent --disable-scripts
> --enable-reentrant
>
Please try again with a more recent Net-SNMP version -- older versions link
with the pthread library, newer ones do not. I'm not sure which versions - a
look at the release notes should allow you to find out from which version on
linking with libpthread.so does no longer happen.
Bart.
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
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