Hi Coders,

I am attempting to compile netsnmp 5.5 on:

HP-UX cphpad3c B.11.23 U ia64 3469871600 unlimited-user license

I am using the default configure (no options passed), gnu make, and  
gcc version 4.2.3

I started with a clean source tree and encounter the following error  
from gmake:

Any tips/suggestions appreciated!

Thanks,
John

libtool: compile:  gcc -I../include -I. -I../snmplib -g -O2 -Uhpux11  
-Dhpux11=hpux11 -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE  
-fPIC -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE  
-D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe  
-I/opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi/CORE -c system.c   
-fPIC -DPIC -o .libs/system.o
system.c: In function 'get_myaddr':
system.c:653: error: storage size of 'ifc' isn't known
system.c:669: error: invalid application of 'sizeof' to incomplete  
type 'struct ifreq'
system.c:674: error: invalid application of 'sizeof' to incomplete  
type 'struct ifreq'
system.c:677: error: invalid application of 'sizeof' to incomplete  
type 'struct ifconf'
system.c:708: error: increment of pointer to unknown structure
system.c:708: error: arithmetic on pointer to an incomplete type
system.c:711: error: dereferencing pointer to incomplete type
system.c:714: error: dereferencing pointer to incomplete type
system.c:716: error: invalid application of 'sizeof' to incomplete  
type 'struct ifreq'
system.c:719: error: dereferencing pointer to incomplete type
system.c:719: error: 'IFF_UP' undeclared (first use in this function)
system.c:719: error: (Each undeclared identifier is reported only once
system.c:719: error: for each function it appears in.)
system.c:723: error: dereferencing pointer to incomplete type
system.c:730: error: invalid application of 'sizeof' to incomplete  
type 'struct ifreq'
system.c:734: error: dereferencing pointer to incomplete type
gmake[1]: *** [system.lo] Error 1
gmake[1]: Leaving directory `/var/compile_work/net-snmp-5.5/snmplib'
gmake: *** [subdirs] Error 1



------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to