Re: makeisntall error

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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
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.