net-snmp-5.2.1.2 Fails to Compile HP-UX 11i GCC-4.0.1

"Briggs, Patrick" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <6D119A557EC1614DA077381947F54DB855CA05@tec-exchange2k.tec.clintiech.net>
gcc -v:
Using built-in specs.
Target: hppa2.0w-hp-hpux11.11
Configured with: ../configure --prefix=/opt/gcc --with-gnu-as
--with-as=/opt/binutils/bin/as --enable-languages=c,c++,objc
Thread model: single
gcc version 4.0.1

./configure --prefix=/opt/snmp --enable-embedded-perl --enable-shared

gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib
-I/usr/local/ssl/include -D_HPUX_SOURCE -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/opt/perl5/lib/5.8.7/PA-RISC2.0/CORE -O3 -march=2.0 -Dhpux11 -c
mibII/interfaces.c  -fPIC -DPIC -o mibII/.libs/interfaces.lo
In file included from mibII/interfaces.c:56:
/usr/include/sys/socketvar.h:495: error: array type has incomplete element
type
mibII/interfaces.c:1999: error: static declaration of
'Interface_Scan_Get_Count' follows non-static declaration
mibII/interfaces.h:27: error: previous declaration of
'Interface_Scan_Get_Count' was here
make[2]: *** [mibII/interfaces.lo] Error 1
make[2]: Leaving directory
`/home/tec3712/software/net-snmp-5.2.1.2/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/tec3712/software/net-snmp-5.2.1.2/agent'
make: *** [subdirs] Error 1

- Patrick Briggs

This e-mail message, including any attachments, is for the sole use of the
intended recipient(s) and may contain confidential or privileged
information.  Any unauthorized review, use, disclosure or distribution is
prohibited.  If you are not the intended recipient, please contact the
sender by reply e-mail and destroy the message.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.