On 15 April 2011 23:04,  <[email protected]> wrote:
> I am trying to build a agent file. when I do makeintall, I got errors:
>
> ./.libs/libnetsnmpmibs.so: undefined reference to `atan'
> ./.libs/libnetsnmpmibs.so: undefined reference to `_Sin'

What is the full command that triggers this error?

>  My configure file is as following:
>
> ./configure --enable-mini-agent.... 
> --with-mib-modules=fss4180LCantenna,ucd_snmp

What happens if you omit the 'fss4180LCantenna' module?
Does it compile then?

It looks as if you may need to link with the math library (-lm)
Try adding

    --with-ldflags=-lm

             to the configure command.

Dave

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
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

Reply via email to