Using gcc 4.0.2 GNU make 3.80 (I have tried bot 32bit and 64bit versions of gcc)

 

# uname -a

HP-UX HOSTNAME B.11.11 U 9000/800 192606541 unlimited-user license

 

Configure command:

 

./configure --with-libs=-lnm \

--with-cc=gcc \

--prefix=/home/USER/test \

--with-persistent-directory="/var/net-snmp" \

--with-copy-persistent-files="no" \

--with-default-snmp-verion="3" \

--with-sys-contact="System Administrator" \

--with-sys-location="Unknown" \

--with-defaults \

--with-logfile="/var/adm/snmpd.log" \

--with-mib-modules="host" \

--disable-applications \

--disable-manuals \

--disable-scripts \

--disable-mibs \

--disable-mib-loading

 

I have also tried a variety of configure options such as –without-mib-modules=”notificaition notification-log-mib notification/snmpNotifyTable”

 

Make fails with the following error message consistently.

 

gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -g -O2 -Dhpux11 -c mibII/vacm_context.c  -fPIC -DPIC -o mibII/.libs/vacm_context.lo

mibII/vacm_context.c: In function 'get_first_context':

mibII/vacm_context.c:39: warning: pointer targets in passing argument 2 of 'snmp_set_var_value' differ in signedness

mibII/vacm_context.c: In function 'get_next_context':

mibII/vacm_context.c:67: warning: pointer targets in passing argument 2 of 'snmp_set_var_value' differ in signedness

mibII/vacm_context.c: In function 'vacm_context_handler':

mibII/vacm_context.c:145: warning: pointer targets in passing argument 3 of 'snmp_set_var_typed_value' differ in signedness

gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -g -O2 -Dhpux11 -c mibII/vacm_context.c -o mibII/vacm_context.o >/dev/null 2>&1

mv -f mibII/.libs/vacm_context.lo mibII/vacm_context.lo

make[2]: Leaving directory `/home/dpike/net-snmp-5.3.0.1/agent/mibgroup'

make[1]: *** No rule to make target `mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_interface.h', needed by `mib_modules.lo'.  Stop.

make[1]: Leaving directory `/home/dpike/net-snmp-5.3.0.1/agent'

make: *** [subdirs] Error 1

 

It always fails at the same place. I would very much appreciate if somebody could point me in the right direction.

 

Thanks,

David

 

Reply via email to