Re: How to include a shared library to SNMP?

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
    [ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]



On 27/07/07, [email protected] <[email protected]> wrote:
> I develop this on ARM platform. All libraries I have installed and this is and
> configure result. Any idea?

How about following the suggestion at the end of the configure output:



> [sbox-MYTARGET: ~/develop/sources/pi-snmp] > ./configure --disable-embedded-perl --with-mib-modules=pickering-snmp/pickering_snmp --with-libs="-lpicmlx_l32 -libpiplx_l32"
> checking what to build and install...  agent apps man local mibs
> using default persistent mask 077
> using default AgentX socket /var/agentx/master
> using default "enterprise.net-snmp"
> using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..."
> using default notifications "NET-SNMP-MIB::netSnmpNotifications"
> using OS default send buffer size for server sockets
> using OS default recv buffer size for server sockets
> using OS default send buffer size for client sockets
> using OS default recv buffer size for client sockets
> checking if I need to feed myself to ksh... no
> checking for gcc... gcc
> checking for C compiler default output file name... configure: error: C compiler cannot create executables
> See `config.log' for more details.
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Also:
>  ./configure .... --with-libs="-lpicmlx_l32 -libpiplx_l32"

Shouldn't that be:

>  ./configure .... --with-libs="-lpicmlx_l32 -lpiplx_l32"

?

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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.