RE: 5.4.1 / Cygwin / SNMP perl module installation / Building libTrapReceiver.ddl.a failed
"Landry Caroline" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <BD939068A237684292AF8E6FFB365F1302305124@CESSSMAIL01.eu.thmulti.com> |
Hi again, I tried the second solution, so I ran: configure \ --with-mib-modules="host agentx disman/event-mib examples/example" \ --with-out-mib-modules=host/hr_network --with-libs="-lws2_32" \ --prefix="/usr/local" \ --with-perl-modules make ########## Here is the result: gcc -shared -o TrapReceiver.dll -Wl,--out-implib=libTrapReceiver.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 -Wl,--enable-auto-image-base \ -s -L/usr/local/lib TrapReceiver.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a -L/usr/local/lib -lnetsnmptrapd -lnetsnmpagent -lnetsnmp /usr/local/lib/libnetsnmptrapd.a(snmptrapd_handlers.o): In function `syslog_handler': /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:592: undefined reference to `_SyslogTrap' /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:592: undefined reference to `_SyslogTrap' /usr/local/lib/libnetsnmptrapd.a(snmptrapd_handlers.o): In function `print_handler': /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:679: undefined reference to `_dropauth' /usr/local/lib/libnetsnmptrapd.a(snmptrapd_handlers.o): In function `event_handler': /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:962: undefined reference to `_event_input' /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:962: undefined reference to `_event_input' /usr/local/lib/libnetsnmptrapd.a(snmptrapd_handlers.o): In function `notification_handler': /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:1032: undefined reference to `_log_notification' /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:1032: undefined reference to `_log_notification' /usr/local/lib/libnetsnmpagent.a(agent_registry.o): In function `netsnmp_subtree_load': /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:415: undefined reference to `_netsnmp_register_null_context' /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:417: undefined reference to `_netsnmp_register_null_context' /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:419: undefined reference to `_netsnmp_register_null_context' /usr/local/lib/libnetsnmpagent.a(agent_registry.o): In function `setup_tree': /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:1606: undefined reference to `_netsnmp_register_null' /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:1607: undefined reference to `_netsnmp_register_null' /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:1608: undefined reference to `_netsnmp_register_null' /usr/local/lib/libnetsnmpagent.a(agent_registry.o): In function `register_mib_context': /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:838: undefined reference to `_netsnmp_register_old_api' /usr/local/lib/libnetsnmpagent.a(snmp_vars.o): In function `init_agent': /cygdrive/c/Temp/net-snmp-5.4.1/agent/snmp_vars.c:307: undefined reference to `_netsnmp_init_helpers' /usr/local/lib/libnetsnmpagent.a(agent_handler.o): In function `netsnmp_register_handler': /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_handler.c:246: undefined reference to `_netsnmp_get_bulk_to_next_handler' /usr/local/lib/libnetsnmpagent.a(master.o): In function `agentx_got_response': /cygdrive/c/Temp/net-snmp-5.4.1/agent/mibgroup/agentx/master.c:408: undefined reference to `_netsnmp_bulk_to_next_fix_requests' Creating library file: libTrapReceiver.dll.a collect2: ld returned 1 exit status perlld: *** system() failed to execute gcc -shared -o TrapReceiver.dll -Wl,--out-implib=libTrapReceiver.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 -Wl,--enable-auto-image-base \ -s -L/usr/local/lib TrapReceiver.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a -L/usr/local/lib -lnetsnmptrapd -lnetsnmpagent -lnetsnmp make[2]: *** [../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.dll] Error 2 make[2]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/TrapReceiver' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl' make: *** [perlmodules] Error 1 The attached files contains the full traces of configure and make commands. Best Regards, Caroline -----Original Message----- From: Landry Caroline Sent: jeudi 31 janvier 2008 17:00 To: 'Dave Shield' Cc: [email protected] Subject: RE: 5.4.1 / Cygwin / SNMP perl module installation / Building libTrapReceiver.ddl.a failed Hi Dave, I am impressed by your time response... :-D I tried your first solution, but it seems that I had the same problem: gcc -shared -o TrapReceiver.dll -Wl,--out-implib=libTrapReceiver.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 -Wl,--enable-auto-image-base \ -s -L/usr/local/lib TrapReceiver.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a -L/usr/local/lib -lnetsnmptrapd -lnetsnmpagent -lnetsnmp /usr/local/lib/libnetsnmptrapd.a(snmptrapd_handlers.o): In function `syslog_handler': /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:592: undefined reference to `_SyslogTrap' /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:592: undefined reference to `_SyslogTrap' /usr/local/lib/libnetsnmptrapd.a(snmptrapd_handlers.o): In function `print_handler': /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:679: undefined reference to `_dropauth' /usr/local/lib/libnetsnmptrapd.a(snmptrapd_handlers.o): In function `event_handler': /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:962: undefined reference to `_event_input' /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:962: undefined reference to `_event_input' /usr/local/lib/libnetsnmptrapd.a(snmptrapd_handlers.o): In function `notification_handler': /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:1032: undefined reference to `_log_notification' /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:1032: undefined reference to `_log_notification' /usr/local/lib/libnetsnmpagent.a(agent_registry.o): In function `netsnmp_subtree_load': /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:415: undefined reference to `_netsnmp_register_null_context' /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:417: undefined reference to `_netsnmp_register_null_context' /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:419: undefined reference to `_netsnmp_register_null_context' /usr/local/lib/libnetsnmpagent.a(agent_registry.o): In function `setup_tree': /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:1606: undefined reference to `_netsnmp_register_null' /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:1607: undefined reference to `_netsnmp_register_null' /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:1608: undefined reference to `_netsnmp_register_null' /usr/local/lib/libnetsnmpagent.a(agent_registry.o): In function `register_mib_context': /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:838: undefined reference to `_netsnmp_register_old_api' /usr/local/lib/libnetsnmpagent.a(snmp_vars.o): In function `init_agent': /cygdrive/c/Temp/net-snmp-5.4.1/agent/snmp_vars.c:307: undefined reference to `_netsnmp_init_helpers' /usr/local/lib/libnetsnmpagent.a(agent_handler.o): In function `netsnmp_register_handler': /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_handler.c:246: undefined reference to `_netsnmp_get_bulk_to_next_handler' /usr/local/lib/libnetsnmpagent.a(master.o): In function `agentx_got_response': /cygdrive/c/Temp/net-snmp-5.4.1/agent/mibgroup/agentx/master.c:408: undefined reference to `_netsnmp_bulk_to_next_fix_requests' Creating library file: libTrapReceiver.dll.a collect2: ld returned 1 exit status perlld: *** system() failed to execute gcc -shared -o TrapReceiver.dll -Wl,--out-implib=libTrapReceiver.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 -Wl,--enable-auto-image-base \ -s -L/usr/local/lib TrapReceiver.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a -L/usr/local/lib -lnetsnmptrapd -lnetsnmpagent -lnetsnmp make[1]: *** [../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.dll] Error 2 make[1]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/TrapReceiver' make: *** [subdirs] Error 2 For the second solution, I tried: configure \ --with-mib-modules="host agentx disman/event-mib examples/example" \ --with-out-mib-modules=host/hr_network --with-libs="-lws2_32" \ --prefix="/usr/local" Maybe it does the same than the "--with-perl-modules" option? But the build of net-snmp failed in this case. Unfortunately I do not have the traces of this try anymore. So I will run your second option and let you know the result, probably tomorrow. Thanks again! Caroline -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: jeudi 31 janvier 2008 16:03 To: Landry Caroline Cc: [email protected] Subject: Re: 5.4.1 / Cygwin / SNMP perl module installation / Building libTrapReceiver.ddl.a failed On 31/01/2008, Landry Caroline <[email protected]> wrote: > I am working on Cygwin, I installed net-snmp 5.4.1 and I want to use mib2c, > but for this I need to install the SNMP perl module and this fails. > cd /cygdrive/c/Temp/net-snmp-5.4.1/perl > perl Makefile.PL -NET-SNMP-IN-SOURCE=true > make What happens if you try perl Makefile.PL make ? I.e. using the installed version of the Net-SNMP suite, rather than the source tree? > configure \ > --with-mib-modules="host agentx disman/event-mib examples/example" \ > --with-out-mib-modules=host/hr_network --with-libs="-lws2_32" \ > --prefix="/usr/local" \ > --disable-embedded-perl --without-perl-modules What happens if you configure the original source using "--with-perl-modules" ? I.e. building everything in one go, rather than building the perl modules separately Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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
configure_res.txt
(text/plain, 34.3 KB)
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... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL checking for dlltool... dlltool checking for as... as checking for objdump... objdump checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 8192 checking command to parse /usr/bin/nm -B output from gcc object... failed checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -DDLL_EXPORT checking if gcc PIC flag -DDLL_EXPORT works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking whether a program can dlopen itself... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/i686-pc-cygwin/bin/ld.exe checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes checking for g++ option to produce PIC... -DDLL_EXPORT checking if g++ PIC flag -DDLL_EXPORT works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for egrep... (cached) grep -E checking for ps... /usr/bin/ps checking for perl... /usr/bin/perl checking for python... /usr/bin/python checking for whoami... whoami checking for sed... /usr/bin/sed checking for find... find checking for autoconf... /usr/bin/autoconf checking for autoheader... /usr/bin/autoheader checking for uname... /usr/bin/uname checking for an ANSI C-conforming const... yes checking for inline... inline checking for net-snmp version number... 5.4.1 checking for developer gcc flags... checking whether to un-define target system token (before redefining)... yes checking for system include file... net-snmp/system/cygwin.h checking for machine-type include file... net-snmp/machine/generic.h checking for gcc... /usr/bin/gcc checking for additional cpp flags... -x c checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for long long... yes checking size of long long... 8 checking for intmax_t... yes checking size of intmax_t... 8 checking for int8_t... yes checking for uint8_t... yes checking for u_int8_t... yes checking for int16_t... yes checking for uint16_t... yes checking for u_int16_t... yes checking for int32_t... yes checking for uint32_t... yes checking for u_int32_t... yes checking for int64_t... yes checking for uint64_t... yes checking for u_int64_t... yes checking for intmax_t... (cached) yes checking for uintmax_t... yes checking for off64_t... no checking for uintptr_t... yes checking for intptr_t... yes checking for Counter64... no checking for platform-specific source... winpipe.c winpipe.o winpipe.lo checking for and configuring transport modules to use... Callback TCP UDP. checking for security modules to use... usm checking for and configuring mib modules to use... host agentx disman/event-mib examples/example default_modules. configure: WARNING: mib module error configure: WARNING: mib module 'host' requires module 'host/hr_network' but someone told me to compile without it host agentx disman/event-mib examples/example default_modules host/hr_system host/hr_storage host/hr_device host/hr_other host/hr_proc host/hr_print host/hr_disk host/hr_partition host/hr_filesys host/hr_swrun host/hr_swinst agentx/master agentx/subagent disman/event util_funcs snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs disman/schedule utilities hardware/memory hardware/cpu agentx/protocol agentx/client agentx/master_admin agentx/agentx_config mibII/sysORTable disman/event/mteScalars disman/event/mteTrigger disman/event/mteTriggerTable disman/event/mteTriggerDeltaTable disman/event/mteTriggerExistenceTable disman/event/mteTriggerBooleanTable disman/event/mteTriggerThresholdTable disman/event/mteTriggerConf disman/event/mteEvent disman/event/mteEventTable disman/event/mteEventSetTable disman/event/mteEventNotificationTable disman/event/mteEventConf disman/event/mteObjects disman/event/mteObjectsTable disman/event/mteObjectsConf snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmStats snmpv3/usmConf snmpv3/usmUser mibII/system_mib mibII/at mibII/ifTable mibII/ip mibII/snmp_mib mibII/tcp mibII/icmp mibII/udp mibII/vacm_vars mibII/setSerialNo ucd-snmp/proc ucd-snmp/versioninfo ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/disk ucd-snmp/loadave agent/extend ucd-snmp/errormib ucd-snmp/file ucd-snmp/dlmod ucd-snmp/proxy ucd-snmp/logmatch ucd-snmp/memory ucd-snmp/vmstat notification/snmpNotifyTable snmp-notification-mib/snmpNotifyFilterTable notification/snmpNotifyFilterProfileTable notification-log-mib/notification_log target/snmpTargetAddrEntry target/snmpTargetParamsEntry target/target target/target_counters agent/nsTransactionTable agent/nsModuleTable agent/nsDebug agent/nsCache agent/nsLogging agent/nsVacmAccessTable disman/schedule/schedCore disman/schedule/schedConf disman/schedule/schedTable utilities/override utilities/execute utilities/iquery hardware/memory/hw_mem hardware/memory/memory_null hardware/cpu/cpu hardware/cpu/cpu_null mibII/interfaces mibII/ipAddr mibII/var_route mibII/route_write mibII/tcpTable mibII/udpTable mibII/vacm_context mibII/vacm_conf header_complex snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_interface snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_data_access . checking if directories need to be created... . checking default mib files to read... ;HOST-RESOURCES-MIB;HOST-RESOURCES-TYPES;IP-MIB;IF-MIB;TCP-MIB;UDP-MIB;SNMPv2-MIB;RFC1213-MIB;NOTIFICATION-LOG-MIB;DISMAN-EVENT-MIB;DISMAN-SCHEDULE-MIB;UCD-SNMP-MIB;UCD-DEMO-MIB;SNMP-TARGET-MIB;NET-SNMP-AGENT-MIB;SNMP-FRAMEWORK-MIB;SNMP-MPD-MIB;SNMP-USER-BASED-SM-MIB;SNMP-VIEW-BASED-ACM-MIB;SNMP-COMMUNITY-MIB;NET-SNMP-EXTEND-MIB;UCD-DLMOD-MIB;SNMP-NOTIFICATION-MIB;SNMPv2-TM;NET-SNMP-VACM-MIB checking whether we have to build PIC code... yes checking for location of system kernel... unknown checking for mount table location... unknown checking for location of swap device... none checking for nlist in -lelf... no checking for gethostbyname... yes checking for gethostbyname... (cached) yes checking for kstat_lookup in -lkstat... no checking for EVP_md5 in -lcrypto... no checking for AES_cfb128_encrypt in -lcrypto... no checking rpm/rpmlib.h usability... no checking rpm/rpmlib.h presence... no checking for rpm/rpmlib.h... no checking rpm/header.h usability... no checking rpm/header.h presence... no checking for rpm/header.h... no checking for rpm/rpmlib.h... (cached) no checking for rpm/header.h... (cached) no checking for kvm_read in -lkvm... no checking for kvm_openfiles... no checking for kvm_openfiles in -lkvm... no checking for kvm_getprocs... no checking for kvm_getprocs in -lkvm... no checking for kvm_getswapinfo... no checking for kvm_getswapinfo in -lkvm... no checking for dlopen... yes checking for nlist... no checking for nlist64... no checking for knlist... no checking if we are in the source tree so we can install Perl modules... Yes checking for Perl cc... gcc checking whether gcc is a GNU C compiler... yes checking for Perl CFLAGS... -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/lib/perl5/5.8/cygwin/CORE checking for Perl LDFLAGS... Note (probably harmless): No library found for -lgdbm_compat -s -s -L/usr/local/lib /usr/lib/perl5/5.8/cygwin/auto/DynaLoader/DynaLoader.a /usr/lib/perl5/5.8/cygwin/auto/Win32CORE/Win32CORE.a -L/usr/lib/perl5/5.8/cygwin/CORE -lperl -ldl -lcrypt checking for eval_pv... no checking for perl_eval_pv... no checking for Perl_eval_pv... no checking for potential embedded Perl support... disabled checking if we can install the Perl modules... yes -- not embeddable checking if we should install the python bindings... no checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking sys/dmap.h usability... no checking sys/dmap.h presence... no checking for sys/dmap.h... no checking machine/pte.h usability... no checking machine/pte.h presence... no checking for machine/pte.h... no checking xti.h usability... no checking xti.h presence... no checking for xti.h... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking for sys/socketvar.h... no checking for sys/swap.h... no checking sys/timeout.h usability... no checking sys/timeout.h presence... no checking for sys/timeout.h... no checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking fstab.h usability... no checking fstab.h presence... no checking for fstab.h... no checking sys/fs.h usability... no checking sys/fs.h presence... no checking for sys/fs.h... no checking mtab.h usability... no checking mtab.h presence... no checking for mtab.h... no checking ufs/fs.h usability... no checking ufs/fs.h presence... no checking for ufs/fs.h... no checking sys/fixpoint.h usability... no checking sys/fixpoint.h presence... no checking for sys/fixpoint.h... no checking machine/param.h usability... yes checking machine/param.h presence... yes checking for machine/param.h... yes checking sys/vm.h usability... no checking sys/vm.h presence... no checking for sys/vm.h... no checking vm/vm.h usability... no checking vm/vm.h presence... no checking for vm/vm.h... no checking sys/vmmeter.h usability... no checking sys/vmmeter.h presence... no checking for sys/vmmeter.h... no checking sys/vmparam.h usability... no checking sys/vmparam.h presence... no checking for sys/vmparam.h... no checking sys/vmmac.h usability... no checking sys/vmmac.h presence... no checking for sys/vmmac.h... no checking sys/vmsystm.h usability... no checking sys/vmsystm.h presence... no checking for sys/vmsystm.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/mnttab.h usability... no checking sys/mnttab.h presence... no checking for sys/mnttab.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking sys/mntent.h usability... no checking sys/mntent.h presence... no checking for sys/mntent.h... no checking kstat.h usability... no checking kstat.h presence... no checking for kstat.h... no checking utsname.h usability... no checking utsname.h presence... no checking for utsname.h... no checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking linux/tasks.h usability... no checking linux/tasks.h presence... no checking for linux/tasks.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking for arpa/inet.h... yes checking for netinet/in_systm.h... yes checking for netinet/in.h... yes checking for netinet/ip_var.h... no checking for netinet/tcp.h... yes checking for netinet/tcpip.h... no checking for netinet/udp.h... yes checking for net/if.h... yes checking for netinet/in_var.h... no checking for netinet/ip.h... yes checking for netinet/ip_icmp.h... yes checking for net/if_arp.h... no checking for net/if_mib.h... no checking for net/if_var.h... no checking for netinet/if_ether.h... no checking for netinet/tcp_timer.h... no checking for netinet/tcp_var.h... no checking for netinet/udp_var.h... no checking for netinet/icmp_var.h... no checking for netdb.h... yes checking for net/route.h... no checking for ufs/ufs/dinode.h... no checking for ufs/ufs/quota.h... no checking for ufs/ufs/inode.h... no checking for ufs/ffs/fs.h... no checking for malloc.h... yes checking for net/if_dl.h... no checking for sys/sysctl.h... no checking for stdlib.h... (cached) yes checking for net/if_types.h... no checking for sys/queue.h... yes checking for osreldate.h... no checking for machine/types.h... yes checking for sys/user.h... no checking for sys/proc.h... no checking for sys/mbuf.h... no checking for sys/mount.h... yes checking for sys/dkstat.h... no checking for sys/conf.h... no checking netinet/tcp_fsm.h usability... no checking netinet/tcp_fsm.h presence... no checking for netinet/tcp_fsm.h... no checking sys/protosw.h usability... no checking sys/protosw.h presence... no checking for sys/protosw.h... no checking nlist.h usability... no checking nlist.h presence... no checking for nlist.h... no checking ioctls.h usability... no checking ioctls.h presence... no checking for ioctls.h... no checking asm/page.h usability... no checking asm/page.h presence... no checking for asm/page.h... no checking asm/types.h usability... yes checking asm/types.h presence... yes checking for asm/types.h... yes checking netipx/ipx.h usability... no checking netipx/ipx.h presence... no checking for netipx/ipx.h... no checking pci/pci.h usability... no checking pci/pci.h presence... no checking for pci/pci.h... no checking inet/mib2.h usability... no checking inet/mib2.h presence... no checking for inet/mib2.h... no checking kvm.h usability... no checking kvm.h presence... no checking for kvm.h... no checking sys/pool.h usability... no checking sys/pool.h presence... no checking for sys/pool.h... no checking uvm/uvm_param.h usability... no checking uvm/uvm_param.h presence... no checking for uvm/uvm_param.h... no checking uvm/uvm_extern.h usability... no checking uvm/uvm_extern.h presence... no checking for uvm/uvm_extern.h... no checking vm/vm_param.h usability... no checking vm/vm_param.h presence... no checking for vm/vm_param.h... no checking vm/vm_extern.h usability... no checking vm/vm_extern.h presence... no checking for vm/vm_extern.h... no checking for vm/swap_pager.h... no checking for linux/ethtool.h... no checking for sys/stat.h... (cached) yes checking for sys/vnode.h... no checking sys/sema.h usability... no checking sys/sema.h presence... no checking for sys/sema.h... no checking for sys/hashing.h... no checking sys/tcpipstats.h usability... no checking sys/tcpipstats.h presence... no checking for sys/tcpipstats.h... no checking sys/sysmp.h usability... no checking sys/sysmp.h presence... no checking for sys/sysmp.h... no checking sys/systeminfo.h usability... no checking sys/systeminfo.h presence... no checking for sys/systeminfo.h... no checking sys/sysget.h usability... no checking sys/sysget.h presence... no checking for sys/sysget.h... no checking sys/systemcfg.h usability... no checking sys/systemcfg.h presence... no checking for sys/systemcfg.h... no checking err.h usability... yes checking err.h presence... yes checking for err.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sgtty.h usability... no checking sgtty.h presence... no checking for sgtty.h... no checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/dkio.h usability... no checking sys/dkio.h presence... no checking for sys/dkio.h... no checking sys/diskio.h usability... no checking sys/diskio.h presence... no checking for sys/diskio.h... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking linux/hdreg.h usability... no checking linux/hdreg.h presence... no checking for linux/hdreg.h... no checking pkglocs.h usability... no checking pkglocs.h presence... no checking for pkglocs.h... no checking pkginfo.h usability... no checking pkginfo.h presence... no checking for pkginfo.h... no checking winsock.h usability... no checking winsock.h presence... yes configure: WARNING: winsock.h: present but cannot be compiled configure: WARNING: winsock.h: check for missing prerequisite headers? configure: WARNING: winsock.h: see the Autoconf documentation configure: WARNING: winsock.h: section "Present But Cannot Be Compiled" configure: WARNING: winsock.h: proceeding with the preprocessor's result configure: WARNING: winsock.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------------------------- ## configure: WARNING: ## Report this to [email protected] ## configure: WARNING: ## ---------------------------------------------------- ## checking for winsock.h... yes checking io.h usability... yes checking io.h presence... yes checking for io.h... yes checking sys/stream.h usability... no checking sys/stream.h presence... no checking for sys/stream.h... no checking for netinet/ip6.h... no checking for netinet6/in6_var.h... no checking for netinet6/in6_pcb.h... no checking for netinet6/ip6_var.h... no checking for netinet6/tcp6.h... no checking for netinet6/tcp6_fsm.h... no checking for netinet6/nd6.h... no checking for netinet6/tcp6_timer.h... no checking for netinet6/tcp6_var.h... no checking for dlfcn.h... (cached) yes checking search.h usability... yes checking search.h presence... yes checking for search.h... yes checking for netinet/in_pcb.h... no checking for sys/disklabel.h... no checking openssl/hmac.h usability... no checking openssl/hmac.h presence... no checking for openssl/hmac.h... no checking openssl/evp.h usability... no checking openssl/evp.h presence... no checking for openssl/evp.h... no checking openssl/aes.h usability... no checking openssl/aes.h presence... no checking for openssl/aes.h... no checking openssl/des.h usability... no checking openssl/des.h presence... no checking for openssl/des.h... no checking openssl/dh.h usability... no checking openssl/dh.h presence... no checking for openssl/dh.h... no checking security/cryptoki.h usability... no checking security/cryptoki.h presence... no checking for security/cryptoki.h... no checking for lpstat... no checking for cgetnext... no checking for authentication support... Internal MD5 Support checking for off_t... yes checking for pid_t... yes checking whether time.h and sys/time.h may both be included... yes checking for socklen_t... yes checking for in_addr_t... yes checking for ssize_t... yes checking for correct flags to ps... checking whether byte ordering is bigendian... no checking for working alloca.h... yes checking for alloca... yes checking whether gcc needs -traditional... no checking for working memcmp... yes checking return type of signal handlers... void checking for getmntent in -lsun... no checking for getmntent in -lseq... no checking for getmntent in -lgen... no checking for getmntent... yes checking for setmntent... yes checking for hasmntopt... no checking for gethostname... yes checking for uname... yes checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strtol... yes checking for strtoul... yes checking for strlcpy... yes checking for strchr... yes checking for strtok_r... yes checking for strdup... yes checking for memcpy... yes checking for memmove... yes checking for index... yes checking for bcopy... yes checking for strcasestr... no checking for regcomp... yes checking for signal... yes checking for setsid... yes checking for sigset... yes checking for sigblock... no checking for sighold... yes checking for strerror... yes checking for setenv... yes checking for vsnprintf... yes checking for snprintf... yes checking for sigaction... yes checking for random... yes checking for lrand48... yes checking for rand... yes checking for execv... yes checking for system... yes checking for fork... yes checking for getpid... yes checking for strncasecmp... yes checking for sigalrm... no checking for lseek64... no checking for pread64... no checking for getloadavg... no checking for getaddrinfo... no checking for getipnodebyname... no checking for gai_strerror... no checking for statvfs... yes checking for statfs... yes checking for getdtablesize... yes checking for getfsstat... no checking for usleep... yes checking for setlocale... yes checking for tcgetattr... yes checking for if_nameindex... no checking for if_freenameindex... no checking for getpagesize... yes checking for mkstemp... yes checking for getpwnam... yes checking for getgrnam... yes checking for setgid... yes checking for setuid... yes checking for setgroups... yes checking for setitimer... yes checking for mktime... yes checking for stime... no checking for times... yes checking for sysconf... yes checking for if_nametoindex... no checking for chown... yes checking for localtime_r... yes checking for SIOCGIFADDR in sys/ioctl.h... no checking for two-argument statfs with struct fs_data (Ultrix)... no checking if __FUNCTION__ is defined... yes checking whether static inline functions are broken (Unixware)... checking for mbstat.m_clusters... no checking for mbstat.m_mbufs... no checking for sigaction.sa_sigaction... yes checking for tm.tm_gmtoff... no checking for sockaddr.sa_len... no checking for sockaddr.sa_union.sa_generic.sa_family2... no checking for sockaddr_storage.ss_family... yes checking for sockaddr_storage.__ss_family... no checking for rtentry.rt_dst... no checking type of rtentry structure... Unknown unknown checking for struct rtentry... rtentry checking for struct sockaddr_in6.sin6_scope_id... no checking for rtentry.rt_unit... no checking for rtentry.rt_refcnt... no checking for rtentry.rt_hash... no checking for rtentry.rt_use... no checking for tcpstat.tcp_rcvmemdrop... no checking for ifnet.if_mtu... no checking if _KERNEL needs to be defined for if_mtu... no checking for ifaddr.ifa_next... no checking for ifnet.if_baudrate... no checking for ifnet.if_baudrate.ifs_value... no checking for ifnet.if_speed... no checking for ifnet.if_type... no checking for ifnet.if_imcasts... no checking for ifnet.if_iqdrops... no checking for ifnet.if_noproto... no checking for ifnet.if_omcasts... no checking for ifnet.if_xname... no checking for ifnet.if_lastchange.tv_sec... no checking for ifnet.if_obytes... no checking for ifnet.if_ibytes... no checking for ifnet.if_addrlist... no checking for ifnet.if_addrhead.tqh_first... no checking for udpstat.udps_discard... no checking for udpstat.udps_noport... no checking for udpstat.udps_noportbcast... no checking for udpstat.udps_fullsock... no checking for arphd.at_next... no checking for swdevt.sw_nblksenabled... no checking for statvfs.mnt_dir... no checking for statvfs.f_frsize... yes checking for statfs.f_frsize... no checking for statvfs.f_files... yes checking for statfs.f_files... yes checking for statfs.f_ffree... yes checking for statfs.f_favail... no checking for nlist.n_value... no checking for nlist64.n_value... no checking for ipstat.ips_cantforward... no checking for ipstat.ips_cantfrag... no checking for ipstat.ips_delivered... no checking for ipstat.ips_fragdropped... no checking for ipstat.ips_fragtimeout... no checking for ipstat.ips_fragmented... no checking for ipstat.ips_localout... no checking for ipstat.ips_noproto... no checking for ipstat.ips_noroute... no checking for ipstat.ips_odropped... no checking for ipstat.ips_ofragments... no checking for ipstat.ips_reassembled... no checking if sysctl can read kernel information... no checking whether TCP timers depend on `hz'... no checking whether to prompt for values... ************** Configuration Section ************** You are about to be prompted with a series of questions. Answer them carefully, as they determine how the SNMP agent and related applications are to function. After the configure script finishes, you can browse the newly created net-snmp-config.h file for further - less important - parameters to modify. Be careful if you re-run configure though, since net-snmp-config.h will be overwritten. -Press return to continue- yes checking Default version of SNMP to use... *** Default SNMP Version: Starting with Net-SNMP 5.0, you can choose the default version of the SNMP protocol to use when no version is given explicitly on the command line, or via an 'snmp.conf' file. In the past this was set to SNMPv1, but you can use this to switch to SNMPv3 if desired. SNMPv3 will provide a more secure management environment (and thus you're encouraged to switch to SNMPv3), but may break existing scripts that rely on the old behaviour. (Though such scripts will probably need to be changed to use the '-c' community flag anyway, as the SNMPv1 command line usage has changed as well.). At this prompt you can select "1", "2" (for SNMPv2c), or "3" as the default version for the command tools (snmpget, ...) to use. This can always be overridden at runtime using the -v flag to the tools, or by using the "defVersion" token in your snmp.conf file. Providing the --with-default-snmp-version="x" parameter to ./configure will avoid this prompt. Default version of SNMP to use (3): setting Default version of SNMP to use to... 3 checking System Contact Information... *** System Contact Information: Describes who should be contacted about the host the agent is running on. This information is available in the MIB-II tree. This can also be over-ridden using the "syscontact" syntax in the agent's configuration files. Providing the --with-sys-contact="contact" parameter to ./configure will avoid this prompt. System Contact Information (landryc@@no.where): setting System Contact Information to... http://www.grassvalley.com/contact checking System Location... *** System Location: Describes the location of the system. This information is available in the MIB-II tree. this can also be over-ridden using the "syslocation" syntax in the agent's configuration files. Providing the --with-sys-location="location" parameter to ./configure will avoid this prompt. System Location (Unknown): setting System Location to... THOMSON GRASS VALLEY FRANCE - Rennes checking Location to write logfile... *** Logfile location: Enter the default location for the snmpd agent to dump information & errors to. If not defined (enter the keyword "none" at the prompt below) the agent will use stdout and stderr instead. (Note: This value can be over-ridden using command line options.) Providing the --with-logfile="path" parameter to ./configure will avoid this prompt. Location to write logfile (/var/log/snmpd.log): setting Location to write logfile to... /var/log/snmpd.log checking Location to write persistent information... *** snmpd persistent storage location: Enter a directory for the SNMP library to store persistent data in the form of a configuration file. This default location is different than the old default location (which was for ucd-snmp). If you stay with the new path, I'll ask you in a second if you wish to copy your files over to the new location (once only). If you pick some other path than the default, you'll have to copy them yourself. There is nothing wrong with picking the old path (/var/ucd-snmp) if you'd rather. Providing the --with-persistent-directory="path" parameter to ./configure will avoid this prompt. Location to write persistent information (/var/net-snmp): setting Location to write persistent information to... /usr/local/snmp/persist configure: creating ./config.status config.status: creating Makefile config.status: creating snmplib/Makefile config.status: creating apps/Makefile config.status: creating apps/snmpnetstat/Makefile config.status: creating agent/Makefile config.status: creating agent/helpers/Makefile config.status: creating agent/mibgroup/Makefile config.status: creating local/Makefile config.status: creating testing/Makefile config.status: creating man/Makefile config.status: creating mibs/Makefile config.status: creating net-snmp-config config.status: creating include/net-snmp/net-snmp-config.h config.status: include/net-snmp/net-snmp-config.h is unchanged config.status: executing default commands --------------------------------------------------------- Net-SNMP configuration summary: --------------------------------------------------------- SNMP Versions Supported: 1 2c 3 Net-SNMP Version: 5.4.1 Building for: cygwin Network transport support: Callback TCP UDP SNMPv3 Security Modules: usm *** MIB Module warning *** mib module 'host' requires module 'host/hr_network' but someone told me to compile without it Agent MIB code: host agentx disman/event-mib examples/example default_modules => host/hr_system host/hr_storage host/hr_device host/hr_other host/hr_proc host/hr_print host/hr_disk host/hr_partition host/hr_filesys host/hr_swrun host/hr_swinst agentx/master agentx/subagent disman/event util_funcs snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event disman/schedule utilities Embedded Perl support: disabled SNMP Perl modules: building -- not embeddable SNMP Python modules: disabled Authentication support: MD5 Encryption support: ---------------------------------------------------------
make_res.txt
(text/plain, 20.2 KB)
making all in /cygdrive/c/Temp/net-snmp-5.4.1/snmplib make[1]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/snmplib' make[1]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/snmplib' making all in /cygdrive/c/Temp/net-snmp-5.4.1/agent make[1]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/agent' making all in /cygdrive/c/Temp/net-snmp-5.4.1/agent/helpers make[2]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/agent/helpers' make[2]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/agent/helpers' making all in /cygdrive/c/Temp/net-snmp-5.4.1/agent/mibgroup make[2]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/agent/mibgroup' make[2]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/agent/mibgroup' /bin/sh ../libtool --mode=compile gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/lib/perl5/5.8/cygwin/CORE -g -O2 -Ucygwin -Dcygwin=cygwin -c -o mib_modules.lo mib_modules.c gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/lib/perl5/5.8/cygwin/CORE -g -O2 -Ucygwin -Dcygwin=cygwin -c mib_modules.c -DDLL_EXPORT -DPIC -o .libs/mib_modules.o gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/lib/perl5/5.8/cygwin/CORE -g -O2 -Ucygwin -Dcygwin=cygwin -c mib_modules.c -o mib_modules.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link gcc -g -O2 -Ucygwin -Dcygwin=cygwin -rpath /usr/local/lib -version-info 16:0:1 -o libnetsnmpmibs.la mibgroup/examples/example.lo mibgroup/host/hr_system.lo mibgroup/host/hr_storage.lo mibgroup/host/hr_device.lo mibgroup/host/hr_other.lo mibgroup/host/hr_proc.lo mibgroup/host/hr_print.lo mibgroup/host/hr_disk.lo mibgroup/host/hr_partition.lo mibgroup/host/hr_filesys.lo mibgroup/host/hr_swrun.lo mibgroup/host/hr_swinst.lo mibgroup/util_funcs.lo mibgroup/mibII/sysORTable.lo mibgroup/disman/event/mteScalars.lo mibgroup/disman/event/mteTrigger.lo mibgroup/disman/event/mteTriggerTable.lo mibgroup/disman/event/mteTriggerDeltaTable.lo mibgroup/disman/event/mteTriggerExistenceTable.lo mibgroup/disman/event/mteTriggerBooleanTable.lo mibgroup/disman/event/mteTriggerThresholdTable.lo mibgroup/disman/event/mteTriggerConf.lo mibgroup/disman/event/mteEvent.lo mibgroup/disman/event/mteEventTable.lo mibgroup/disman/event/mteEventSetTable.lo mibgroup/disman/event/mteEventNotificationTable.lo mibgroup/disman/event/mteEventConf.lo mibgroup/disman/event/mteObjects.lo mibgroup/disman/event/mteObjectsTable.lo mibgroup/disman/event/mteObjectsConf.lo mibgroup/snmpv3/snmpEngine.lo mibgroup/snmpv3/snmpMPDStats.lo mibgroup/snmpv3/usmStats.lo mibgroup/snmpv3/usmUser.lo mibgroup/mibII/system_mib.lo mibgroup/mibII/at.lo mibgroup/mibII/ip.lo mibgroup/mibII/snmp_mib.lo mibgroup/mibII/tcp.lo mibgroup/mibII/icmp.lo mibgroup/mibII/udp.lo mibgroup/mibII/vacm_vars.lo mibgroup/mibII/setSerialNo.lo mibgroup/ucd-snmp/proc.lo mibgroup/ucd-snmp/versioninfo.lo mibgroup/ucd-snmp/pass.lo mibgroup/ucd-snmp/pass_persist.lo mibgroup/ucd-snmp/disk.lo mibgroup/ucd-snmp/loadave.lo mibgroup/agent/extend.lo mibgroup/ucd-snmp/errormib.lo mibgroup/ucd-snmp/file.lo mibgroup/ucd-snmp/dlmod.lo mibgroup/ucd-snmp/proxy.lo mibgroup/ucd-snmp/logmatch.lo mibgroup/ucd-snmp/memory.lo mibgroup/ucd-snmp/vmstat.lo mibgroup/notification/snmpNotifyTable.lo mibgroup/notification/snmpNotifyFilterProfileTable.lo mibgroup/notification-log-mib/notification_log.lo mibgroup/target/snmpTargetAddrEntry.lo mibgroup/target/snmpTargetParamsEntry.lo mibgroup/target/target.lo mibgroup/target/target_counters.lo mibgroup/agent/nsTransactionTable.lo mibgroup/agent/nsModuleTable.lo mibgroup/agent/nsDebug.lo mibgroup/agent/nsCache.lo mibgroup/agent/nsLogging.lo mibgroup/agent/nsVacmAccessTable.lo mibgroup/disman/schedule/schedCore.lo mibgroup/disman/schedule/schedConf.lo mibgroup/disman/schedule/schedTable.lo mibgroup/utilities/override.lo mibgroup/hardware/memory/hw_mem.lo mibgroup/hardware/memory/memory_null.lo mibgroup/hardware/cpu/cpu.lo mibgroup/hardware/cpu/cpu_null.lo mibgroup/mibII/interfaces.lo mibgroup/mibII/ipAddr.lo mibgroup/mibII/var_route.lo mibgroup/mibII/route_write.lo mibgroup/mibII/tcpTable.lo mibgroup/mibII/udpTable.lo mibgroup/mibII/vacm_context.lo mibgroup/header_complex.lo mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable.lo mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_interface.lo mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_data_access.lo mib_modules.lo auto_nlist.lo helpers/libnetsnmphelpers.la libnetsnmpagent.la ../snmplib/libnetsnmp.la *** Warning: This system can not link to static lib archive helpers/libnetsnmphelpers.la. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This system can not link to static lib archive libnetsnmpagent.la. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** Warning: This system can not link to static lib archive ../snmplib/libnetsnmp.la. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries rm -fr .libs/libnetsnmpmibs.a .libs/libnetsnmpmibs.la .libs/libnetsnmpmibs.lai ar cru .libs/libnetsnmpmibs.a mibgroup/examples/example.o mibgroup/host/hr_system.o mibgroup/host/hr_storage.o mibgroup/host/hr_device.o mibgroup/host/hr_other.o mibgroup/host/hr_proc.o mibgroup/host/hr_print.o mibgroup/host/hr_disk.o mibgroup/host/hr_partition.o mibgroup/host/hr_filesys.o mibgroup/host/hr_swrun.o mibgroup/host/hr_swinst.o mibgroup/util_funcs.o mibgroup/mibII/sysORTable.o mibgroup/disman/event/mteScalars.o mibgroup/disman/event/mteTrigger.o mibgroup/disman/event/mteTriggerTable.o mibgroup/disman/event/mteTriggerDeltaTable.o mibgroup/disman/event/mteTriggerExistenceTable.o mibgroup/disman/event/mteTriggerBooleanTable.o mibgroup/disman/event/mteTriggerThresholdTable.o mibgroup/disman/event/mteTriggerConf.o mibgroup/disman/event/mteEvent.o mibgroup/disman/event/mteEventTable.o mibgroup/disman/event/mteEventSetTable.o mibgroup/disman/event/mteEventNotificationTable.o mibgroup/disman/event/mteEventConf.o mibgroup/disman/event/mteObjects.o mibgroup/disman/event/mteObjectsTable.o mibgroup/disman/event/mteObjectsConf.o mibgroup/snmpv3/snmpEngine.o mibgroup/snmpv3/snmpMPDStats.o mibgroup/snmpv3/usmStats.o mibgroup/snmpv3/usmUser.o mibgroup/mibII/system_mib.o mibgroup/mibII/at.o mibgroup/mibII/ip.o mibgroup/mibII/snmp_mib.o mibgroup/mibII/tcp.o mibgroup/mibII/icmp.o mibgroup/mibII/udp.o mibgroup/mibII/vacm_vars.o mibgroup/mibII/setSerialNo.o mibgroup/ucd-snmp/proc.o mibgroup/ucd-snmp/versioninfo.o mibgroup/ucd-snmp/pass.o mibgroup/ucd-snmp/pass_persist.o mibgroup/ucd-snmp/disk.o mibgroup/ucd-snmp/loadave.o mibgroup/agent/extend.o mibgroup/ucd-snmp/errormib.o mibgroup/ucd-snmp/file.o mibgroup/ucd-snmp/dlmod.o mibgroup/ucd-snmp/proxy.o mibgroup/ucd-snmp/logmatch.o mibgroup/ucd-snmp/memory.o mibgroup/ucd-snmp/vmstat.o mibgroup/notification/snmpNotifyTable.o mibgroup/notification/snmpNotifyFilterProfileTable.o mibgroup/notification-log-mib/notification_log.o mibgroup/target/snmpTargetAddrEntry.o mibgroup/target/snmpTargetParamsEntry.o mibgroup/target/target.o mibgroup/target/target_counters.o mibgroup/agent/nsTransactionTable.o mibgroup/agent/nsModuleTable.o mibgroup/agent/nsDebug.o mibgroup/agent/nsCache.o mibgroup/agent/nsLogging.o mibgroup/agent/nsVacmAccessTable.o mibgroup/disman/schedule/schedCore.o mibgroup/disman/schedule/schedConf.o mibgroup/disman/schedule/schedTable.o mibgroup/utilities/override.o mibgroup/hardware/memory/hw_mem.o mibgroup/hardware/memory/memory_null.o mibgroup/hardware/cpu/cpu.o mibgroup/hardware/cpu/cpu_null.o mibgroup/mibII/interfaces.o mibgroup/mibII/ipAddr.o mibgroup/mibII/var_route.o mibgroup/mibII/route_write.o mibgroup/mibII/tcpTable.o mibgroup/mibII/udpTable.o mibgroup/mibII/vacm_context.o mibgroup/header_complex.o mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable.o mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_interface.o mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_data_access.o mib_modules.o auto_nlist.o ranlib .libs/libnetsnmpmibs.a creating libnetsnmpmibs.la (cd .libs && rm -f libnetsnmpmibs.la && ln -s ../libnetsnmpmibs.la libnetsnmpmibs.la) : libnetsnmpmibs.la /bin/sh ../libtool --mode=link gcc -g -O2 -Ucygwin -Dcygwin=cygwin -o snmpd.exe snmpd.lo -L../snmplib/.libs -L../snmplib -L./.libs -L./helpers/.libs -L./helpers libnetsnmpagent.la helpers/libnetsnmphelpers.la libnetsnmpmibs.la ../snmplib/libnetsnmp.la -lws2_32 -liphlpapi -s -s -L/usr/local/lib /usr/lib/perl5/5.8/cygwin/auto/DynaLoader/DynaLoader.a /usr/lib/perl5/5.8/cygwin/auto/Win32CORE/Win32CORE.a -L/usr/lib/perl5/5.8/cygwin/CORE -lperl -ldl -lcrypt gcc -g -O2 -Ucygwin -Dcygwin=cygwin -o snmpd.exe .libs/snmpd.o -s -s -L/cygdrive/c/Temp/net-snmp-5.4.1/agent/.libs -L/cygdrive/c/Temp/net-snmp-5.4.1/agent/helpers/.libs -L/cygdrive/c/Temp/net-snmp-5.4.1/snmplib/.libs -L/cygdrive/c/Temp/net-snmp-5.4.1/snmplib -L/cygdrive/c/Temp/net-snmp-5.4.1/agent/helpers ./.libs/libnetsnmpagent.a helpers/.libs/libnetsnmphelpers.a ./.libs/libnetsnmpmibs.a /cygdrive/c/Temp/net-snmp-5.4.1/agent/helpers/.libs/libnetsnmphelpers.a /cygdrive/c/Temp/net-snmp-5.4.1/agent/.libs/libnetsnmpagent.a /cygdrive/c/Temp/net-snmp-5.4.1/snmplib/.libs/libnetsnmp.a ../snmplib/.libs/libnetsnmp.a -lws2_32 -liphlpapi -L/usr/local/lib /usr/lib/perl5/5.8/cygwin/auto/DynaLoader/DynaLoader.a /usr/lib/perl5/5.8/cygwin/auto/Win32CORE/Win32CORE.a -L/usr/lib/perl5/5.8/cygwin/CORE -lperl -ldl -lcrypt make[1]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/agent' making all in /cygdrive/c/Temp/net-snmp-5.4.1/apps make[1]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/apps' making all in /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmpnetstat make[2]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/apps/snmpnetstat' make[2]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/apps/snmpnetstat' /bin/sh ../libtool --mode=link gcc -g -O2 -Ucygwin -Dcygwin=cygwin -o snmptrapd.exe snmptrapd.lo libnetsnmptrapd.la -L../snmplib/.libs -L../snmplib -L../agent/.libs -L../agent -L../agent/helpers/.libs -L../agent/helpers ../agent/libnetsnmpmibs.la ../agent/libnetsnmpagent.la ../agent/helpers/libnetsnmphelpers.la ../snmplib/libnetsnmp.la -lws2_32 -liphlpapi -s -s -L/usr/local/lib /usr/lib/perl5/5.8/cygwin/auto/DynaLoader/DynaLoader.a /usr/lib/perl5/5.8/cygwin/auto/Win32CORE/Win32CORE.a -L/usr/lib/perl5/5.8/cygwin/CORE -lperl -ldl -lcrypt gcc -g -O2 -Ucygwin -Dcygwin=cygwin -o snmptrapd.exe .libs/snmptrapd.o -s -s -L/cygdrive/c/Temp/net-snmp-5.4.1/agent/.libs -L/cygdrive/c/Temp/net-snmp-5.4.1/agent/helpers/.libs -L/cygdrive/c/Temp/net-snmp-5.4.1/snmplib/.libs ./.libs/libnetsnmptrapd.a /cygdrive/c/Temp/net-snmp-5.4.1/agent/.libs/libnetsnmpmibs.a -L/cygdrive/c/Temp/net-snmp-5.4.1/snmplib -L/cygdrive/c/Temp/net-snmp-5.4.1/agent -L/cygdrive/c/Temp/net-snmp-5.4.1/agent/helpers ../agent/.libs/libnetsnmpmibs.a /cygdrive/c/Temp/net-snmp-5.4.1/agent/helpers/.libs/libnetsnmphelpers.a ../agent/.libs/libnetsnmpagent.a ../agent/helpers/.libs/libnetsnmphelpers.a /cygdrive/c/Temp/net-snmp-5.4.1/agent/.libs/libnetsnmpagent.a /cygdrive/c/Temp/net-snmp-5.4.1/snmplib/.libs/libnetsnmp.a ../snmplib/.libs/libnetsnmp.a -lws2_32 -liphlpapi -L/usr/local/lib /usr/lib/perl5/5.8/cygwin/auto/DynaLoader/DynaLoader.a /usr/lib/perl5/5.8/cygwin/auto/Win32CORE/Win32CORE.a -L/usr/lib/perl5/5.8/cygwin/CORE -lperl -ldl -lcrypt make[1]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/apps' making all in /cygdrive/c/Temp/net-snmp-5.4.1/man make[1]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/man' touch manaliases making man page alias netsnmp_ds_get_boolean.3 -> default_store APIs making man page alias netsnmp_ds_get_int.3 -> default_store APIs making man page alias netsnmp_ds_get_string.3 -> default_store APIs making man page alias netsnmp_ds_register_config.3 -> default_store APIs making man page alias netsnmp_ds_register_premib.3 -> default_store APIs making man page alias netsnmp_ds_set_boolean.3 -> default_store APIs making man page alias netsnmp_ds_set_int.3 -> default_store APIs making man page alias netsnmp_ds_set_string.3 -> default_store APIs making man page alias netsnmp_ds_shutdown.3 -> default_store APIs making man page alias config_perror.3 -> read_config APIs making man page alias config_pwarn.3 -> read_config APIs making man page alias read_config_print_usage.3 -> read_config APIs making man page alias read_configs.3 -> read_config APIs making man page alias read_premib_configs.3 -> read_config APIs making man page alias register_app_config_handler.3 -> read_config APIs making man page alias register_app_premib_handler.3 -> read_config APIs making man page alias register_config_handler.3 -> read_config APIs making man page alias register_mib_handlers.3 -> read_config APIs making man page alias register_premib_handler.3 -> read_config APIs making man page alias unregister_app_config_handler.3 -> read_config APIs making man page alias unregister_config_handler.3 -> read_config APIs making man page alias snmp_alarm_register.3 -> snmp_alarm APIs making man page alias snmp_alarm_register_hr.3 -> snmp_alarm APIs making man page alias snmp_alarm_unregister.3 -> snmp_alarm APIs making man page alias fprint_description.3 -> snmp_set_save_descriptions APIs making man page alias fprint_objid.3 -> snmp_set_save_descriptions APIs making man page alias fprint_value.3 -> snmp_set_save_descriptions APIs making man page alias fprint_variable.3 -> snmp_set_save_descriptions APIs making man page alias snprint_objid.3 -> snmp_set_save_descriptions APIs making man page alias snprint_value.3 -> snmp_set_save_descriptions APIs making man page alias snprint_variable.3 -> snmp_set_save_descriptions APIs making man page alias sprint_realloc_objid.3 -> snmp_set_save_descriptions APIs making man page alias sprint_realloc_value.3 -> snmp_set_save_descriptions APIs making man page alias sprint_realloc_variable.3 -> snmp_set_save_descriptions APIs making man page alias send_easy_trap.3 -> snmp_trap APIs making man page alias send_trap_vars.3 -> snmp_trap APIs making man page alias send_v2trap.3 -> snmp_trap APIs make[1]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/man' making all in /cygdrive/c/Temp/net-snmp-5.4.1/local make[1]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/local' make[1]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/local' making all in /cygdrive/c/Temp/net-snmp-5.4.1/mibs make[1]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/mibs' make[1]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/mibs' chmod a+x net-snmp-config touch net-snmp-config-x make[1]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl' make[2]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/default_store' make[2]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/default_store' make[2]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/ASN' make[2]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/ASN' make[2]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/OID' make[2]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/OID' make[2]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/agent' make[3]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/agent/Support' make[3]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/agent/Support' make[3]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/agent/default_store' make[3]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/agent/default_store' make[2]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/agent' make[2]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/SNMP' make[2]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/SNMP' make[2]: Entering directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/TrapReceiver' rm -f ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.dll ld2 -s -L/usr/local/lib TrapReceiver.o -o ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.dll \ /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a -L/usr/local/lib -lnetsnmptrapd -lnetsnmpagent -lnetsnmp \ gcc -shared -o TrapReceiver.dll -Wl,--out-implib=libTrapReceiver.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 -Wl,--enable-auto-image-base \ -s -L/usr/local/lib TrapReceiver.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a -L/usr/local/lib -lnetsnmptrapd -lnetsnmpagent -lnetsnmp /usr/local/lib/libnetsnmptrapd.a(snmptrapd_handlers.o): In function `syslog_handler': /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:592: undefined reference to `_SyslogTrap' /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:592: undefined reference to `_SyslogTrap' /usr/local/lib/libnetsnmptrapd.a(snmptrapd_handlers.o): In function `print_handler': /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:679: undefined reference to `_dropauth' /usr/local/lib/libnetsnmptrapd.a(snmptrapd_handlers.o): In function `event_handler': /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:962: undefined reference to `_event_input' /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:962: undefined reference to `_event_input' /usr/local/lib/libnetsnmptrapd.a(snmptrapd_handlers.o): In function `notification_handler': /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:1032: undefined reference to `_log_notification' /cygdrive/c/Temp/net-snmp-5.4.1/apps/snmptrapd_handlers.c:1032: undefined reference to `_log_notification' /usr/local/lib/libnetsnmpagent.a(agent_registry.o): In function `netsnmp_subtree_load': /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:415: undefined reference to `_netsnmp_register_null_context' /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:417: undefined reference to `_netsnmp_register_null_context' /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:419: undefined reference to `_netsnmp_register_null_context' /usr/local/lib/libnetsnmpagent.a(agent_registry.o): In function `setup_tree': /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:1606: undefined reference to `_netsnmp_register_null' /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:1607: undefined reference to `_netsnmp_register_null' /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:1608: undefined reference to `_netsnmp_register_null' /usr/local/lib/libnetsnmpagent.a(agent_registry.o): In function `register_mib_context': /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_registry.c:838: undefined reference to `_netsnmp_register_old_api' /usr/local/lib/libnetsnmpagent.a(snmp_vars.o): In function `init_agent': /cygdrive/c/Temp/net-snmp-5.4.1/agent/snmp_vars.c:307: undefined reference to `_netsnmp_init_helpers' /usr/local/lib/libnetsnmpagent.a(agent_handler.o): In function `netsnmp_register_handler': /cygdrive/c/Temp/net-snmp-5.4.1/agent/agent_handler.c:246: undefined reference to `_netsnmp_get_bulk_to_next_handler' /usr/local/lib/libnetsnmpagent.a(master.o): In function `agentx_got_response': /cygdrive/c/Temp/net-snmp-5.4.1/agent/mibgroup/agentx/master.c:408: undefined reference to `_netsnmp_bulk_to_next_fix_requests' Creating library file: libTrapReceiver.dll.a collect2: ld returned 1 exit status perlld: *** system() failed to execute gcc -shared -o TrapReceiver.dll -Wl,--out-implib=libTrapReceiver.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 -Wl,--enable-auto-image-base \ -s -L/usr/local/lib TrapReceiver.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a -L/usr/local/lib -lnetsnmptrapd -lnetsnmpagent -lnetsnmp make[2]: *** [../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.dll] Error 2 make[2]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl/TrapReceiver' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/cygdrive/c/Temp/net-snmp-5.4.1/perl' make: *** [perlmodules] Error 1