Re: A question of net-snmp
"AC." <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
> I tried the method that you suggested yesterday. > > I downloaded "net-snmp-5.4.3.tar.gz" again, unpacked it, and then executed > "./configure". > > the "configure" patameter is as following (the same as before) > > --host=x86_64-linux \ > --with-cc="$CROSS_COMPILE"gcc \ > --with-endianness=little \ > --with-default-snmp-version="2" \ > --with-sys-contact="Unknown" \ > --with-sys-location="Unknown" \ > --with-logfile="/var/log" \ > --with-persistent-directory="/var/net-snmp/" \ > --disable-embedded-perl \ > --disable-perl-cc-checks \ > --disable-applications \ > --disable-manuals \ > --disable-scripts \ > --disable-snmptrapd-subagent \ > --without-opaque-special-types \ > --with-out-mib-modules="disman/event disman/schedule notification > notification-log-mib target ucd_snmp host agentx" \ > --without-kmem-usage \ > --with-cflags=-Os \ > --disable-debugging \ > --without-openssl > > The attached file, "config.log", is the log of this configured. > > Then, I executed the "make" command. (# make -j3 -s 1>make-out.log > 2>make-err.log) > > The attached file, "make-err.log", is the log about the error of this job. > > I don't know how to fix it, and please help me. > > Thanks. > > Bluce > > =========================== make-err.log ==================================== Warning: -L../../snmplib/ changed to -L/home/bluce/work/net-snmp-5.4.3/perl/default_store/../../snmplib/ Warning: -L../../snmplib/.libs changed to -L/home/bluce/work/net-snmp-5.4.3/perl/ASN/../../snmplib/.libs Warning: -L../../snmplib/ changed to -L/home/bluce/work/net-snmp-5.4.3/perl/ASN/../../snmplib/ Warning: -L../../snmplib/.libs changed to -L/home/bluce/work/net-snmp-5.4.3/perl/OID/../../snmplib/.libs Warning: -L../../snmplib/ changed to -L/home/bluce/work/net-snmp-5.4.3/perl/OID/../../snmplib/ Warning: -L../../snmplib/.libs changed to -L/home/bluce/work/net-snmp-5.4.3/perl/agent/../../snmplib/.libs Warning: -L../../snmplib/ changed to -L/home/bluce/work/net-snmp-5.4.3/perl/agent/../../snmplib/ Warning: -L../../agent/ changed to -L/home/bluce/work/net-snmp-5.4.3/perl/agent/../../agent/ Warning: -L../../agent/helpers/ changed to -L/home/bluce/work/net-snmp-5.4.3/perl/agent/../../agent/helpers/ Warning: -L../../../snmplib/.libs changed to -L/home/bluce/work/net-snmp-5.4.3/perl/agent/default_store/../../../snmplib/.libs Warning: -L../../../snmplib/ changed to -L/home/bluce/work/net-snmp-5.4.3/perl/agent/default_store/../../../snmplib/ Warning: -L../../snmplib/.libs changed to -L/home/bluce/work/net-snmp-5.4.3/perl/SNMP/../../snmplib/.libs Warning: -L../../snmplib/ changed to -L/home/bluce/work/net-snmp-5.4.3/perl/SNMP/../../snmplib/ Warning: -L../../apps changed to -L/home/bluce/work/net-snmp-5.4.3/perl/TrapReceiver/../../apps Warning: -L../../agent changed to -L/home/bluce/work/net-snmp-5.4.3/perl/TrapReceiver/../../agent Warning: -L../../agent/helpers changed to -L/home/bluce/work/net-snmp-5.4.3/perl/TrapReceiver/../../agent/helpers Warning: -L../../snmplib/.libs changed to -L/home/bluce/work/net-snmp-5.4.3/perl/TrapReceiver/../../snmplib/.libs Warning: -L../../snmplib changed to -L/home/bluce/work/net-snmp-5.4.3/perl/TrapReceiver/../../snmplib snmpUDPDomain.c: In function '_sock_buffer_maximize': snmpUDPDomain.c:325: warning: passing argument 5 of 'getsockopt' from incompatible pointer type /opt/x-tools/x86_64-unknown-linux-gnu/bin/../x86_64-unknown-linux-gnu//sys-root/usr/include/sys/socket.h:190: note: expected 'socklen_t * __restrict__' but argument is of type 'size_t *' snmpUDPDomain.c:362: warning: passing argument 5 of 'getsockopt' from incompatible pointer type /opt/x-tools/x86_64-unknown-linux-gnu/bin/../x86_64-unknown-linux-gnu//sys-root/usr/include/sys/socket.h:190: note: expected 'socklen_t * __restrict__' but argument is of type 'size_t *' snmpUDPDomain.c: In function 'netsnmp_sock_buffer_set': snmpUDPDomain.c:507: warning: passing argument 5 of 'getsockopt' from incompatible pointer type /opt/x-tools/x86_64-unknown-linux-gnu/bin/../x86_64-unknown-linux-gnu//sys-root/usr/include/sys/socket.h:190: note: expected 'socklen_t * __restrict__' but argument is of type 'size_t *' snmpUDPDomain.c:542: warning: passing argument 5 of 'getsockopt' from incompatible pointer type /opt/x-tools/x86_64-unknown-linux-gnu/bin/../x86_64-unknown-linux-gnu//sys-root/usr/include/sys/socket.h:190: note: expected 'socklen_t * __restrict__' but argument is of type 'size_t *' mibgroup/util_funcs.c: In function 'get_exec_output': mibgroup/util_funcs.c:291: warning: passing argument 4 of 'run_exec_command' from incompatible pointer type mibgroup/utilities/execute.h:9: note: expected 'int *' but argument is of type 'ssize_t *' mibgroup/util_funcs.c: In function 'restart_doit': mibgroup/util_funcs.c:719: warning: 'sigsetmask' is deprecated (declared at /opt/x-tools/x86_64-unknown-linux-gnu/bin/../x86_64-unknown-linux-gnu//sys-root/usr/include/signal.h:199) mibgroup/if-mib/data_access/interface.c: In function '_free_interface_config': mibgroup/if-mib/data_access/interface.c:784: warning: passing argument 1 of 'free' discards qualifiers from pointer target type /opt/x-tools/x86_64-unknown-linux-gnu/bin/../x86_64-unknown-linux-gnu//sys-root/usr/include/stdlib.h:488: note: expected 'void *' but argument is of type 'const char *' libtool: link: cannot find the library `../libnetsnmpagent.la' or unhandled argument `../libnetsnmpagent.la' make[2]: *** [libnetsnmphelpers.la] Error 1 make[1]: *** [subdirs] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [subdirs] Error 1 ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ 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