Hi, I am trying to build net-snmp-5.2.rc4 on HP-UX B.11.11 U 9000/800 with gcc version 3.3.2
using ./configure --enable-static --enable-shared=no --with-libs=-lnm --disable-mib-loading And i get the following WARNINGs: 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: see the Autoconf documentation configure: WARNING: netinet/ip.h: section "Present But Cannot Be Compiled" configure: WARNING: netinet/ip.h: proceeding with the preprocessor's result configure: WARNING: netinet/ip.h: in the future, the compiler will take precedence 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: see the Autoconf documentation configure: WARNING: netinet/ip_icmp.h: section "Present But Cannot Be Compiled" configure: WARNING: netinet/ip_icmp.h: proceeding with the preprocessor's result configure: WARNING: netinet/ip_icmp.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------------------------- ## configure: WARNING: ## Report this to [EMAIL PROTECTED] ## configure: WARNING: ## ---------------------------------------------------- ## checking for netinet/ip_icmp.h... yes checking net/if_arp.h usability... no checking net/if_arp.h presence... yes configure: WARNING: net/if_arp.h: present but cannot be compiled configure: WARNING: net/if_arp.h: check for missing prerequisite headers? configure: WARNING: net/if_arp.h: see the Autoconf documentation configure: WARNING: net/if_arp.h: section "Present But Cannot Be Compiled" configure: WARNING: net/if_arp.h: proceeding with the preprocessor's result configure: WARNING: net/if_arp.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------------------------- ## configure: WARNING: ## Report this to [EMAIL PROTECTED] ## configure: WARNING: ## ---------------------------------------------------- ## checking for net/if_arp.h... yes 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: see the Autoconf documentation configure: WARNING: netinet/if_ether.h: section "Present But Cannot Be Compiled" configure: WARNING: netinet/if_ether.h: proceeding with the preprocessor's result configure: WARNING: netinet/if_ether.h: in the future, the compiler will take precedence 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: see the Autoconf documentation configure: WARNING: netinet/ip_var.h: section "Present But Cannot Be Compiled" configure: WARNING: netinet/ip_var.h: proceeding with the preprocessor's result configure: WARNING: netinet/ip_var.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------------------------- ## configure: WARNING: ## Report this to [EMAIL PROTECTED] ## configure: WARNING: ## ---------------------------------------------------- ## checking for netinet/ip_var.h... yes 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: see the Autoconf documentation configure: WARNING: netinet/udp_var.h: section "Present But Cannot Be Compiled" configure: WARNING: netinet/udp_var.h: proceeding with the preprocessor's result configure: WARNING: netinet/udp_var.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------------------------- ## configure: WARNING: ## Report this to [EMAIL PROTECTED] ## configure: WARNING: ## ---------------------------------------------------- ## checking for netinet/udp_var.h... yes can i proceed with the build ? Earlier configurations without --enable-shared=no --with-libs=-lnm seemed to go fine.Also i noticed a lot warnings with casting(with integers/pointers) -- is this code 64 bit clean ? cheers, bharat ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
