net-snmp fails to compile on hp-ux
Салихов Артур Маратович <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, I try to configure Net-Snmp v 5.6.1, my system: HP-UX 11.23 U ia64, gcc version 4.2.3: bash# ./configure --prefix=/opt/snmp --without-rpm . . . checking sys/sema.h presence... yes configure: WARNING: sys/sema.h: present but cannot be compiled configure: WARNING: sys/sema.h: check for missing prerequisite headers? configure: WARNING: sys/sema.h: see the Autoconf documentation configure: WARNING: sys/sema.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/sema.h: proceeding with the preprocessor's result configure: WARNING: sys/sema.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------------------------- ## configure: WARNING: ## Report this to [email protected] ## configure: WARNING: ## ---------------------------------------------------- ## . . . And finally: bash# make /usr/bin/sed -f sedscript ./EXAMPLE.conf.def > EXAMPLE.conf making all in /opt/DISTRIB/net-snmp-5.6.1/snmplib /bin/sh ../libtool --mode=compile /usr/local/bin/gcc -I../include -I. -I../snmplib -fno-strict-aliasing -g -O2 -Uhpux11 -Dhpux11=hpux11 -c -o system.lo system.c libtool: compile: /usr/local/bin/gcc -I../include -I. -I../snmplib -fno-strict-aliasing -g -O2 -Uhpux11 -Dhpux11=hpux11 -c system.c -fPIC -DPIC -o .libs/system.o system.c: In function 'get_myaddr': system.c:454: error: storage size of 'ifc' isn't known system.c:470: error: invalid application of 'sizeof' to incomplete type 'struct ifreq' system.c:475: error: invalid application of 'sizeof' to incomplete type 'struct ifreq' system.c:478: error: invalid application of 'sizeof' to incomplete type 'struct ifconf' system.c:509: error: increment of pointer to unknown structure system.c:509: error: arithmetic on pointer to an incomplete type system.c:512: error: dereferencing pointer to incomplete type system.c:515: error: dereferencing pointer to incomplete type system.c:517: error: invalid application of 'sizeof' to incomplete type 'struct ifreq' system.c:520: error: dereferencing pointer to incomplete type system.c:520: error: 'IFF_UP' undeclared (first use in this function) system.c:520: error: (Each undeclared identifier is reported only once system.c:520: error: for each function it appears in.) system.c:524: error: dereferencing pointer to incomplete type system.c:531: error: invalid application of 'sizeof' to incomplete type 'struct ifreq' system.c:535: error: dereferencing pointer to incomplete type *** Error exit code 1 Stop. *** Error exit code 1 Stop. Do you have any ideas about this error??? --- Best regards, Artur Salikhov ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ 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