Hi, 

I am a novice in the field of networking and have hardly any knowledge of SNMP. I have 
been assigned with the task of setting up SNMP monitoring on HP-UX servers via 
net-snmp. Searched the forum as well as net, but did not find any document that gave 
the details of what steps need to be taken to implement the same.

I downloaded the net-snmp 5.1.2 source code from the net-snmp.org website and 
configured the s/w. But I am getting error when I run the make command. Attached is 
the o/p from the configure as well as the make command.

Any help with this would be appreciated.

Chirag Parekh
Jr. Unix System Administrator

 <<net-snmp.txt>> 

Confidential
This e-mail and any files transmitted with it are the property
of Belkin Corporation and/or its affiliates, are confidential,
and are intended solely for the use of the individual or
entity to whom this e-mail is addressed.  If you are not one
of the named recipients or otherwise have reason to believe
that you have received this e-mail in error, please notify the
sender and delete this message immediately from your computer.
Any other use, retention, dissemination, forwarding, printing
or copying of this e-mail is strictly prohibited.
# ./configure --with-libs=-lnm 
checking what to build and install...  agent apps man local mibs
using default "enterprise.net-snmp"
using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..."
using default notifications "NET-SNMP-MIB::netSnmpNotifications"
checking if I need to feed myself to ksh... no
checking for gcc... no
checking for cc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for AIX... no
checking build system type... hppa2.0w-hp-hpux11.11
checking host system type... hppa2.0w-hp-hpux11.11
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic 
(s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library
checking command to parse /usr/bin/nm -p output... ok
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... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... +Z
checking if cc PIC flag +Z works... yes
checking if cc static flag -Wl,-a -Wl,archive works... no
checking if cc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... relink
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... hpux11.11 dld.sl
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
checking for a BSD-compatible install... ./install-sh -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for ps... /usr/bin/ps
checking for perl... /usr/contrib/bin/perl
checking for whoami... whoami
checking for sed... /usr/bin/sed
checking for autoconf... no
checking for autoheader... no
checking for uname... /usr/bin/uname
checking for an ANSI C-conforming const... no
checking for inline... no
checking for net-snmp version number... 5.1.2
checking for developer gcc flags... 
checking target system type... hppa2.0w-hp-hpux11.11
checking for system include file... net-snmp/system/hpux.h
checking for machine-type include file... net-snmp/machine/generic.h
checking for cc... /usr/bin/cc
checking for additional cpp flags... 
checking whether we have to build PIC code... no
checking for platform specific source... checking for and configuring transport 
modules to use...  Callback Unix TCP UDP.
checking for security modules to use...  usm
checking for and configuring mib modules to use...  mibII ucd_snmp snmpv3mibs 
notification target agent_mibs agentx utilities.
checking for and configuring mib modules pieces to use...  mibII ucd_snmp snmpv3mibs 
notification target agent_mibs agentx utilities mibII/system_mib mibII/sysORTable 
mibII/at mibII/interfaces mibII/snmp_mib mibII/tcp mibII/icmp mibII/ip mibII/udp 
mibII/vacm_vars mibII/setSerialNo ucd-snmp/memory_hpux ucd-snmp/hpux 
ucd-snmp/vmstat_hpux ucd-snmp/proc ucd-snmp/versioninfo ucd-snmp/pass 
ucd-snmp/pass_persist ucd-snmp/disk ucd-snmp/loadave ucd-snmp/extensible 
ucd-snmp/errormib ucd-snmp/file ucd-snmp/dlmod ucd-snmp/proxy ucd-snmp/logmatch 
snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmStats snmpv3/usmUser 
notification/snmpNotifyTable notification/snmpNotifyFilterTable 
notification/snmpNotifyFilterProfileTable target/snmpTargetAddrEntry 
target/snmpTargetParamsEntry target/target target/target_counters 
agent/nsTransactionTable agent/nsModuleTable agent/nsDebug agent/nsCache 
agent/nsLogging agentx/master agentx/subagent utilities/override util_funcs 
mibII/tcpTable mibII/ipAddr mibII/var_route mibII/route_write mibII/udpTable 
mibII/vacm_context utilities/execute header_complex agentx/protocol agentx/client 
agentx/master_admin agentx/agentx_config.
checking if directories need to be created... .
checking default mib files to read... 
IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB:SNMPv2-MIB:RFC1213-MIB:NOTIFICATION-LOG-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:UCD-DLMOD-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM
checking for location of system kernel... /stand/vmunix
checking for mount table location... /etc/mnttab
checking for location of swap device... /dev/dmem
checking for asin in -lm... yes
checking for nlist in -lelf... yes
checking for gethostbyname... yes
checking for getservbyname... yes
checking for kstat_lookup in -lkstat... no
checking for nlist in -lmld... no
checking for EVP_md5 in -lcrypto... yes
checking for AES_cfb128_encrypt... yes
checking for kvm_read in -lkvm... no
checking for dlopen in -ldl... no
checking for dlopen... yes
checking for kvm_openfiles... no
checking for nlist... yes
checking for knlist... no
checking for kvm_getprocs... 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 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 netinet/tcpip.h usability... no
checking netinet/tcpip.h presence... no
checking for netinet/tcpip.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/ip.h usability... no
checking netinet/ip.h presence... yes
configure: WARNING: netinet/ip.h: present but cannot be compiled
configure: WARNING: netinet/ip.h: check for missing prerequisite headers?
configure: WARNING: netinet/ip.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to [EMAIL PROTECTED] ##
configure: WARNING:     ## ------------------------------------ ##
checking for netinet/ip.h... yes
checking netinet/ip_icmp.h usability... no
checking netinet/ip_icmp.h presence... yes
configure: WARNING: netinet/ip_icmp.h: present but cannot be compiled
configure: WARNING: netinet/ip_icmp.h: check for missing prerequisite headers?
configure: WARNING: netinet/ip_icmp.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to [EMAIL PROTECTED] ##
configure: WARNING:     ## ------------------------------------ ##
checking for netinet/ip_icmp.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... 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... yes
checking xti.h presence... yes
checking for xti.h... yes
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/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking fstab.h usability... yes
checking fstab.h presence... yes
checking for fstab.h... yes
checking sys/fs.h usability... yes
checking sys/fs.h presence... yes
checking for sys/fs.h... yes
checking mtab.h usability... yes
checking mtab.h presence... yes
checking for mtab.h... yes
checking ufs/fs.h usability... no
checking ufs/fs.h presence... no
checking for ufs/fs.h... no
checking ufs/ffs/fs.h usability... no
checking ufs/ffs/fs.h presence... no
checking for ufs/ffs/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... yes
checking sys/vm.h presence... yes
checking for sys/vm.h... yes
checking vm/vm.h usability... no
checking vm/vm.h presence... no
checking for vm/vm.h... no
checking sys/vmmeter.h usability... yes
checking sys/vmmeter.h presence... yes
checking for sys/vmmeter.h... yes
checking sys/vmparam.h usability... yes
checking sys/vmparam.h presence... yes
checking for sys/vmparam.h... yes
checking sys/vmmac.h usability... yes
checking sys/vmmac.h presence... yes
checking for sys/vmmac.h... yes
checking sys/vmsystm.h usability... yes
checking sys/vmsystm.h presence... yes
checking for sys/vmsystm.h... yes
checking sys/mbuf.h usability... yes
checking sys/mbuf.h presence... yes
checking for sys/mbuf.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/swap.h usability... yes
checking sys/swap.h presence... yes
checking for sys/swap.h... yes
checking inet/mib2.h usability... no
checking inet/mib2.h presence... no
checking for inet/mib2.h... no
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/user.h usability... yes
checking sys/user.h presence... yes
checking for sys/user.h... yes
checking sys/proc.h usability... yes
checking sys/proc.h presence... yes
checking for sys/proc.h... yes
checking sys/select.h usability... no
checking sys/select.h presence... no
checking for sys/select.h... no
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... no
checking sys/cdefs.h presence... no
checking for sys/cdefs.h... no
checking getopt.h usability... no
checking getopt.h presence... no
checking for getopt.h... no
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 malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking sys/sysctl.h usability... no
checking sys/sysctl.h presence... no
checking for sys/sysctl.h... no
checking for stdlib.h... (cached) yes
checking net/if_mib.h usability... no
checking net/if_mib.h presence... no
checking for net/if_mib.h... no
checking net/if_types.h usability... no
checking net/if_types.h presence... no
checking for net/if_types.h... no
checking net/if_var.h usability... no
checking net/if_var.h presence... no
checking for net/if_var.h... no
checking sys/queue.h usability... no
checking sys/queue.h presence... no
checking for sys/queue.h... no
checking osreldate.h usability... no
checking osreldate.h presence... no
checking for osreldate.h... no
checking machine/types.h usability... no
checking machine/types.h presence... no
checking for machine/types.h... no
checking sys/socketvar.h usability... yes
checking sys/socketvar.h presence... yes
checking for sys/socketvar.h... yes
checking sys/conf.h usability... yes
checking sys/conf.h presence... yes
checking for sys/conf.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/udp.h usability... yes
checking netinet/udp.h presence... yes
checking for netinet/udp.h... yes
checking netinet/in_var.h usability... no
checking netinet/in_var.h presence... no
checking for netinet/in_var.h... no
checking netinet/if_ether.h usability... no
checking netinet/if_ether.h presence... yes
configure: WARNING: netinet/if_ether.h: present but cannot be compiled
configure: WARNING: netinet/if_ether.h: check for missing prerequisite headers?
configure: WARNING: netinet/if_ether.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to [EMAIL PROTECTED] ##
configure: WARNING:     ## ------------------------------------ ##
checking for netinet/if_ether.h... yes
checking netinet/ip_var.h usability... no
checking netinet/ip_var.h presence... yes
configure: WARNING: netinet/ip_var.h: present but cannot be compiled
configure: WARNING: netinet/ip_var.h: check for missing prerequisite headers?
configure: WARNING: netinet/ip_var.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to [EMAIL PROTECTED] ##
configure: WARNING:     ## ------------------------------------ ##
checking for netinet/ip_var.h... yes
checking netinet/tcp_timer.h usability... no
checking netinet/tcp_timer.h presence... no
checking for netinet/tcp_timer.h... no
checking netinet/tcp_var.h usability... no
checking netinet/tcp_var.h presence... no
checking for netinet/tcp_var.h... no
checking netinet/tcp_fsm.h usability... no
checking netinet/tcp_fsm.h presence... no
checking for netinet/tcp_fsm.h... no
checking netinet/udp_var.h usability... no
checking netinet/udp_var.h presence... yes
configure: WARNING: netinet/udp_var.h: present but cannot be compiled
configure: WARNING: netinet/udp_var.h: check for missing prerequisite headers?
configure: WARNING: netinet/udp_var.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to [EMAIL PROTECTED] ##
configure: WARNING:     ## ------------------------------------ ##
checking for netinet/udp_var.h... yes
checking netinet/icmp_var.h usability... no
checking netinet/icmp_var.h presence... no
checking for netinet/icmp_var.h... no
checking sys/protosw.h usability... yes
checking sys/protosw.h presence... yes
checking for sys/protosw.h... yes
checking nlist.h usability... yes
checking nlist.h presence... yes
checking for nlist.h... yes
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 netipx/ipx.h usability... no
checking netipx/ipx.h presence... no
checking for netipx/ipx.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
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 sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking vm/swap_pager.h usability... no
checking vm/swap_pager.h presence... no
checking for vm/swap_pager.h... no
checking ufs/ufs/dinode.h usability... no
checking ufs/ufs/dinode.h presence... no
checking for ufs/ufs/dinode.h... no
checking for sys/stat.h... (cached) yes
checking sys/vnode.h usability... yes
checking sys/vnode.h presence... yes
checking for sys/vnode.h... yes
checking ufs/ufs/quota.h usability... no
checking ufs/ufs/quota.h presence... no
checking for ufs/ufs/quota.h... no
checking ufs/ufs/inode.h usability... no
checking ufs/ufs/inode.h presence... no
checking for ufs/ufs/inode.h... no
checking sys/hashing.h usability... no
checking sys/hashing.h presence... 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 err.h usability... no
checking err.h presence... no
checking for err.h... no
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking sys/statfs.h usability... no
checking sys/statfs.h presence... no
checking for sys/statfs.h... no
checking net/route.h usability... yes
checking net/route.h presence... yes
checking for net/route.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... yes
checking sys/diskio.h presence... yes
checking for sys/diskio.h... yes
checking sys/pstat.h usability... yes
checking sys/pstat.h presence... yes
checking for sys/pstat.h... yes
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... no
checking for winsock.h... no
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking sys/stream.h usability... yes
checking sys/stream.h presence... yes
checking for sys/stream.h... yes
checking netinet/ip6.h usability... yes
checking netinet/ip6.h presence... yes
checking for netinet/ip6.h... yes
checking netinet6/in6_var.h usability... no
checking netinet6/in6_var.h presence... no
checking for netinet6/in6_var.h... no
checking netinet6/in6_pcb.h usability... no
checking netinet6/in6_pcb.h presence... no
checking for netinet6/in6_pcb.h... no
checking netinet6/ip6_var.h usability... no
checking netinet6/ip6_var.h presence... no
checking for netinet6/ip6_var.h... no
checking netinet6/tcp6.h usability... no
checking netinet6/tcp6.h presence... no
checking for netinet6/tcp6.h... no
checking netinet6/tcp6_fsm.h usability... no
checking netinet6/tcp6_fsm.h presence... no
checking for netinet6/tcp6_fsm.h... no
checking netinet6/nd6.h usability... no
checking netinet6/nd6.h presence... no
checking for netinet6/nd6.h... no
checking netinet6/tcp6_timer.h usability... no
checking netinet6/tcp6_timer.h presence... no
checking for netinet6/tcp6_timer.h... no
checking netinet6/tcp6_var.h usability... no
checking netinet6/tcp6_var.h presence... 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... yes
configure: WARNING: openssl/hmac.h: present but cannot be compiled
configure: WARNING: openssl/hmac.h: check for missing prerequisite headers?
configure: WARNING: openssl/hmac.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to [EMAIL PROTECTED] ##
configure: WARNING:     ## ------------------------------------ ##
checking for openssl/hmac.h... yes
checking openssl/evp.h usability... no
checking openssl/evp.h presence... yes
configure: WARNING: openssl/evp.h: present but cannot be compiled
configure: WARNING: openssl/evp.h: check for missing prerequisite headers?
configure: WARNING: openssl/evp.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to [EMAIL PROTECTED] ##
configure: WARNING:     ## ------------------------------------ ##
checking for openssl/evp.h... yes
checking openssl/aes.h usability... no
checking openssl/aes.h presence... yes
configure: WARNING: openssl/aes.h: present but cannot be compiled
configure: WARNING: openssl/aes.h: check for missing prerequisite headers?
configure: WARNING: openssl/aes.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to [EMAIL PROTECTED] ##
configure: WARNING:     ## ------------------------------------ ##
checking for openssl/aes.h... yes
checking openssl/des.h usability... no
checking openssl/des.h presence... yes
configure: WARNING: openssl/des.h: present but cannot be compiled
configure: WARNING: openssl/des.h: check for missing prerequisite headers?
configure: WARNING: openssl/des.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to [EMAIL PROTECTED] ##
configure: WARNING:     ## ------------------------------------ ##
checking for openssl/des.h... yes
checking security/cryptoki.h usability... no
checking security/cryptoki.h presence... no
checking for security/cryptoki.h... no
checking for lpstat... /usr/bin/lpstat
checking for cgetnext... no
checking for authentication support... OpenSSL 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... -e
checking whether byte ordering is bigendian... yes
checking for working alloca.h... yes
checking for alloca... yes
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... yes
checking for getmntent... yes
checking for setmntent... yes
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... no
checking for strchr... 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... yes
checking for sighold... yes
checking for strerror... yes
checking for setenv... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for sigaction... yes
checking for snprintf... (cached) yes
checking for strtoul... (cached) 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 getloadavg... no
checking for getaddrinfo... no
checking for getipnodebyname... 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 SIOCGIFADDR in sys/ioctl.h... yes
checking for two-argument statfs with struct fs_data (Ultrix)... no
checking if __FUNCTION__ is defined... no
checking for sigaction.sa_sigaction... yes
checking for sockaddr.sa_len... no
checking for sockaddr.sa_union.sa_generic.sa_family2... no
checking for rtentry.rt_dst... yes
checking type of rtentry structure... BSD-4.4
checking for rtentry.rt_unit... no
checking for rtentry.rt_refcnt... yes
checking for rtentry.rt_hash... no
checking for rtentry.rt_use... yes
checking for tcpstat.tcp_rcvmemdrop... no
checking for ifnet.if_mtu... yes
checking for ifaddr.ifa_next... yes
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... yes
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.f_frsize... yes
checking for statfs.f_frsize... no
checking for statvfs.f_files... yes
checking for statfs.f_files... no
checking for statfs.f_ffree... no
checking for statfs.f_favail... no
checking for nlist.n_value... yes
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_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 for des_ks_struct.weak_key... no
checking if sysctl can read kernel information... no
checking whether TCP timers depend on `hz'... no
checking if you have run configure before... 
         ************** 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 config.h file for further - less important - parameters to
modify.  Be careful if you re-run configure though, since config.h will
be overwritten.

-Press return to continue-


*** 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): 2
setting Default version of SNMP to use to...  2
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 ([EMAIL PROTECTED]): [EMAIL PROTECTED]
setting System Contact Information to...  [EMAIL PROTECTED]
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): belkin
setting System Location to...  belkin
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 (/usr/adm/snmpd.log): 
setting Location to write logfile to...  /usr/adm/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...  /var/net-snmp
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: executing default commands

---------------------------------------------------------
            Net-SNMP configuration summary:
---------------------------------------------------------

  Net-SNMP Version:           5.1.2
  Building for:               hpux11
  Network transport support:  Callback Unix TCP UDP
  SNMPv3 Security Modules:    usm
  Agent MIB code:             mibII ucd_snmp snmpv3mibs notification target agent_mibs 
agentx utilities
  SNMP Perl modules:          disabled
  Embedded perl support:      disabled
  Authentication support:     MD5 SHA1
  Encryption support:         DES AES128 AES192 AES256

---------------------------------------------------------

# make
        cc -E                                            -Iinclude -I./include 
-I./agent/mibgroup -I. -I.        -DDONT_INC_STRUCTS -DBINDIR=/usr/local/bin           
./sedscript.in | egrep '^s[/#]' | sed 's/REMOVEME//g;s# */#/#g;s/ *#/#/g;s#/ *#/#g;s/# 
g/#g/;' > sedscript
cpp: "include/net-snmp/net-snmp-config.h", line 1436: warning 2001: Redefinition of 
macro NETSNMP_INLINE.
cpp: "include/net-snmp/net-snmp-config.h", line 1438: warning 2001: Redefinition of 
macro NETSNMP_STATIC_INLINE.
        echo 's#DATADIR#/usr/local/share#g' >> sedscript
        echo 's#LIBDIR#/usr/local/lib#g' >> sedscript
        echo 's#BINDIR#/usr/local/bin#g' >> sedscript
        echo 's#PERSISTENT_DIRECTORY#/var/net-snmp#g' >> sedscript
        echo 's#SYSCONFDIR#/usr/local/etc#g' >> sedscript
        /usr/bin/sed -f sedscript ./EXAMPLE.conf.def > EXAMPLE.conf
making all in /home/chiragp/net-snmp-5.1.2/snmplib
        /bin/sh ../libtool  --mode=link cc -g -Dhpux11  -rpath /usr/local/lib 
-version-info 6:2:1 -o libnetsnmp.la 
rm -fr .libs/libnetsnmp.la .libs/libnetsnmp.* .libs/libnetsnmp.*
/usr/bin/ld -b +h libnetsnmp.sl.6 +b /usr/local/lib -o .libs/libnetsnmp.sl.6.2   -lc 
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

# make test
        /usr/bin/sed -f sedscript ./EXAMPLE.conf.def > EXAMPLE.conf
making all in /home/chiragp/net-snmp-5.1.2/snmplib
        /bin/sh ../libtool  --mode=link cc -g -Dhpux11  -rpath /usr/local/lib 
-version-info 6:2:1 -o libnetsnmp.la 
rm -fr .libs/libnetsnmp.la .libs/libnetsnmp.* .libs/libnetsnmp.*
/usr/bin/ld -b +h libnetsnmp.sl.6 +b /usr/local/lib -o .libs/libnetsnmp.sl.6.2   -lc 
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
# make install
creating directory /usr/local/include/net-snmp
./install-sh -c -m 644 ./include/net-snmp/version.h 
/usr/local/include/net-snmp/version.h
installing version.h in /usr/local/include/net-snmp
creating directory /usr/local/include/net-snmp
./install-sh -c -m 644 include/net-snmp/net-snmp-config.h 
/usr/local/include/net-snmp/net-snmp-config.h
installing include/net-snmp/net-snmp-config.h in /usr/local/include/net-snmp
creating directory /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/aix.h 
/usr/local/include/net-snmp/system/aix.h
installing aix.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/bsd.h 
/usr/local/include/net-snmp/system/bsd.h
installing bsd.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/bsdi3.h 
/usr/local/include/net-snmp/system/bsdi3.h
installing bsdi3.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/bsdi4.h 
/usr/local/include/net-snmp/system/bsdi4.h
installing bsdi4.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/bsdi.h 
/usr/local/include/net-snmp/system/bsdi.h
installing bsdi.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/cygwin.h 
/usr/local/include/net-snmp/system/cygwin.h
installing cygwin.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/darwin.h 
/usr/local/include/net-snmp/system/darwin.h
installing darwin.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/dynix.h 
/usr/local/include/net-snmp/system/dynix.h
installing dynix.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/freebsd2.h 
/usr/local/include/net-snmp/system/freebsd2.h
installing freebsd2.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/freebsd3.h 
/usr/local/include/net-snmp/system/freebsd3.h
installing freebsd3.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/freebsd4.h 
/usr/local/include/net-snmp/system/freebsd4.h
installing freebsd4.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/freebsd.h 
/usr/local/include/net-snmp/system/freebsd.h
installing freebsd.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/generic.h 
/usr/local/include/net-snmp/system/generic.h
installing generic.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/hpux.h 
/usr/local/include/net-snmp/system/hpux.h
installing hpux.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/irix.h 
/usr/local/include/net-snmp/system/irix.h
installing irix.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/linux.h 
/usr/local/include/net-snmp/system/linux.h
installing linux.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/mingw32.h 
/usr/local/include/net-snmp/system/mingw32.h
installing mingw32.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/mips.h 
/usr/local/include/net-snmp/system/mips.h
installing mips.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/netbsd.h 
/usr/local/include/net-snmp/system/netbsd.h
installing netbsd.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/openbsd.h 
/usr/local/include/net-snmp/system/openbsd.h
installing openbsd.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/osf5.h 
/usr/local/include/net-snmp/system/osf5.h
installing osf5.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/solaris2.6.h 
/usr/local/include/net-snmp/system/solaris2.6.h
installing solaris2.6.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/solaris2.7.h 
/usr/local/include/net-snmp/system/solaris2.7.h
installing solaris2.7.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/solaris2.8.h 
/usr/local/include/net-snmp/system/solaris2.8.h
installing solaris2.8.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/solaris2.9.h 
/usr/local/include/net-snmp/system/solaris2.9.h
installing solaris2.9.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/solaris.h 
/usr/local/include/net-snmp/system/solaris.h
installing solaris.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/sunos.h 
/usr/local/include/net-snmp/system/sunos.h
installing sunos.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/svr5.h 
/usr/local/include/net-snmp/system/svr5.h
installing svr5.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/sysv.h 
/usr/local/include/net-snmp/system/sysv.h
installing sysv.h in /usr/local/include/net-snmp/system
./install-sh -c -m 644 ./include/net-snmp/system/ultrix4.h 
/usr/local/include/net-snmp/system/ultrix4.h
installing ultrix4.h in /usr/local/include/net-snmp/system
creating directory /usr/local/include/net-snmp/machine
./install-sh -c -m 644 ./include/net-snmp/machine/generic.h 
/usr/local/include/net-snmp/machine/generic.h
installing generic.h in /usr/local/include/net-snmp/machine
making installlibs in /home/chiragp/net-snmp-5.1.2/snmplib
        /bin/sh ../libtool  --mode=link cc -g -Dhpux11  -rpath /usr/local/lib 
-version-info 6:2:1 -o libnetsnmp.la 
rm -fr .libs/libnetsnmp.la .libs/libnetsnmp.* .libs/libnetsnmp.*
/usr/bin/ld -b +h libnetsnmp.sl.6 +b /usr/local/lib -o .libs/libnetsnmp.sl.6.2   -lc 
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Reply via email to