How to execute the compiled snmp files on lpc3250 board with linux ubuntu host

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to execute the compiled snmp files on lpc3250 board with linux ubuntu host

467 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MOHAMMAD BIYABANI on Tue Apr 02 22:14:41 MST 2013
Hi,
Now i am working on Linux ubuntu system with 11.10 ubuntu and kernel version Linux-3.0.10 version. I was downloaded Net-snmp-5.4.3 package from NET_SNMP Website and then I have compiled Net-snmp-5.4.3 using below procedure. But i am not able to identify next step for to check my client (i am using LPC3250 board) that means how to execute compiled SNMP files on my board. I have got the .o,.c,.lo,.dsp files but not .exe or .bin files after compilation. Please help me...

The procedure that i was followed to compile the NET-SNMP with output
1. Go to the contained file of NET-SNMP like below

root@mohan:/home/mohan/net-snmp-5.4.4#

2. Run ./configure
root@mohan:/home/mohan/net-snmp-5.4.4# ./configure


3. Perform Make operation

root@mohan:/home/mohan/net-snmp-5.4.4# make ARCH=arm CROSS_COMPILE=arm-linux-

making man page alias register_app_premib_handler.3 -> read_config APIs
making man page alias register_config_handler.3 -> read_config APIs
making man page alias register_mib_handlers.3 -> read_config APIs
making man page alias register_premib_handler.3 -> read_config APIs
making man page alias unregister_app_config_handler.3 -> read_config APIs
making man page alias unregister_config_handler.3 -> read_config APIs
making man page alias snmp_alarm_register.3 -> snmp_alarm APIs
making man page alias snmp_alarm_register_hr.3 -> snmp_alarm APIs
making man page alias snmp_alarm_unregister.3 -> snmp_alarm APIs
making man page alias fprint_description.3 -> snmp_set_save_descriptions APIs
making man page alias fprint_objid.3 -> snmp_set_save_descriptions APIs
making man page alias fprint_value.3 -> snmp_set_save_descriptions APIs
making man page alias fprint_variable.3 -> snmp_set_save_descriptions APIs
making man page alias snprint_objid.3 -> snmp_set_save_descriptions APIs
making man page alias snprint_value.3 -> snmp_set_save_descriptions APIs
making man page alias snprint_variable.3 -> snmp_set_save_descriptions APIs
making man page alias sprint_realloc_objid.3 -> snmp_set_save_descriptions APIs
making man page alias sprint_realloc_value.3 -> snmp_set_save_descriptions APIs
making man page alias sprint_realloc_variable.3 -> snmp_set_save_descriptions APIs
making man page alias send_easy_trap.3 -> snmp_trap APIs
making man page alias send_trap_vars.3 -> snmp_trap APIs
making man page alias send_v2trap.3 -> snmp_trap APIs
make[1]: Leaving directory `/home/mohan/net-snmp-5.4.4/man'
making all in /home/mohan/net-snmp-5.4.4/local
make[1]: Entering directory `/home/mohan/net-snmp-5.4.4/local'
/bin/sed -f ../sedscript ./snmpcheck.def > snmpcheck
if test "x/usr/bin/perl" != "x" ; then \
/usr/bin/perl -p -e 's%^#!.*/perl.*%#!/usr/bin/perl%' snmpcheck > snmpcheck.made ; \
else \
touch snmpcheck.made ; \
fi
if test "x/usr/bin/perl" != "x" ; then \
/usr/bin/perl -p -e 's%^#!.*/perl.*%#!/usr/bin/perl%' ./tkmib > tkmib.made; \
else \
touch tkmib.made; \
fi
if test "x/usr/bin/perl" != "x" ; then \
/usr/bin/perl -p -e 's%^#!.*/perl.*%#!/usr/bin/perl%;s#/usr/local/share/snmp#/usr/local/share/snmp#;' ./mib2c > mib2c.made; \
else \
touch mib2c.made; \
fi
if test "x/usr/bin/perl" != "x" ; then \
/usr/bin/perl -p -e 's%^#!.*/perl.*%#!/usr/bin/perl%' ./fixproc > fixproc.made; \
else \
touch fixproc.made; \
fi
if test "x/usr/bin/perl" != "x" ; then \
/usr/bin/perl -p -e 's%^#!.*/perl.*%#!/usr/bin/perl%' ./ipf-mod.pl > ipf-mod.pl.made; \
else \
touch ipf-mod.pl.made; \
fi
if test "x/usr/bin/perl" != "x" ; then \
/usr/bin/perl -p -e 's%^#!.*/perl.*%#!/usr/bin/perl%; s#/usr/local/share#/usr/local/share#g; s#/usr/local/etc/snmp#/usr/local/etc/snmp#g; s#/var/net-snmp#/var/net-snmp#g' ./snmpconf > snmpconf.made; \
else \
touch snmpconf.made; \
fi
if test "x/usr/bin/perl" != "x" ; then \
/usr/bin/perl -p -e 's%^#!.*/perl.*%#!/usr/bin/perl%; s#/usr/local/share#/usr/local/share#g; s#/usr/local/etc/snmp##g' ./traptoemail > traptoemail.made; \
else \
touch traptoemail.made; \
fi
make[1]: Leaving directory `/home/mohan/net-snmp-5.4.4/local'
making all in /home/mohan/net-snmp-5.4.4/mibs
make[1]: Entering directory `/home/mohan/net-snmp-5.4.4/mibs'
make[1]: Leaving directory `/home/mohan/net-snmp-5.4.4/mibs'
chmod a+x net-snmp-config
touch net-snmp-config-x
Checking if your kit is complete...
Looks good
Warning: -L../../snmplib/.libs changed to -L/home/mohan/net-snmp-5.4.4/perl/default_store/../../snmplib/.libs
Warning: -L../../snmplib/ changed to -L/home/mohan/net-snmp-5.4.4/perl/default_store/../../snmplib/
Writing Makefile for NetSNMP::default_store
Checking if your kit is complete...
Looks good
Warning: -L../../snmplib/.libs changed to -L/home/mohan/net-snmp-5.4.4/perl/ASN/../../snmplib/.libs
Warning: -L../../snmplib/ changed to -L/home/mohan/net-snmp-5.4.4/perl/ASN/../../snmplib/
Writing Makefile for NetSNMP::ASN
Checking if your kit is complete...
Looks good
Warning: -L../../snmplib/.libs changed to -L/home/mohan/net-snmp-5.4.4/perl/OID/../../snmplib/.libs
Warning: -L../../snmplib/ changed to -L/home/mohan/net-snmp-5.4.4/perl/OID/../../snmplib/
Writing Makefile for NetSNMP::OID
Checking if your kit is complete...
Looks good
Warning: -L../../snmplib/.libs changed to -L/home/mohan/net-snmp-5.4.4/perl/agent/../../snmplib/.libs
Warning: -L../../snmplib/ changed to -L/home/mohan/net-snmp-5.4.4/perl/agent/../../snmplib/
Warning: -L../../agent/.libs changed to -L/home/mohan/net-snmp-5.4.4/perl/agent/../../agent/.libs
Warning: -L../../agent/ changed to -L/home/mohan/net-snmp-5.4.4/perl/agent/../../agent/
Warning: -L../../agent/helpers/.libs changed to -L/home/mohan/net-snmp-5.4.4/perl/agent/../../agent/helpers/.libs
Warning: -L../../agent/helpers/ changed to -L/home/mohan/net-snmp-5.4.4/perl/agent/../../agent/helpers/
Writing Makefile for NetSNMP::agent::Support
Warning: -L../../../snmplib/.libs changed to -L/home/mohan/net-snmp-5.4.4/perl/agent/default_store/../../../snmplib/.libs
Warning: -L../../../snmplib/ changed to -L/home/mohan/net-snmp-5.4.4/perl/agent/default_store/../../../snmplib/
Writing Makefile for NetSNMP::agent::default_store
Writing Makefile for NetSNMP::agent
Checking if your kit is complete...
Looks good
Warning: -L../../snmplib/.libs changed to -L/home/mohan/net-snmp-5.4.4/perl/SNMP/../../snmplib/.libs
Warning: -L../../snmplib/ changed to -L/home/mohan/net-snmp-5.4.4/perl/SNMP/../../snmplib/
Writing Makefile for SNMP
Checking if your kit is complete...
Looks good
Warning: prerequisite NetSNMP::OID 5.02 not found.
Warning: -L../../apps/.libs changed to -L/home/mohan/net-snmp-5.4.4/perl/TrapReceiver/../../apps/.libs
Warning: -L../../apps changed to -L/home/mohan/net-snmp-5.4.4/perl/TrapReceiver/../../apps
Warning: -L../../agent/.libs changed to -L/home/mohan/net-snmp-5.4.4/perl/TrapReceiver/../../agent/.libs
Warning: -L../../agent changed to -L/home/mohan/net-snmp-5.4.4/perl/TrapReceiver/../../agent
Warning: -L../../agent/helpers/.libs changed to -L/home/mohan/net-snmp-5.4.4/perl/TrapReceiver/../../agent/helpers/.libs
Warning: -L../../agent/helpers changed to -L/home/mohan/net-snmp-5.4.4/perl/TrapReceiver/../../agent/helpers
Warning: -L../../snmplib/.libs changed to -L/home/mohan/net-snmp-5.4.4/perl/TrapReceiver/../../snmplib/.libs
Warning: -L../../snmplib changed to -L/home/mohan/net-snmp-5.4.4/perl/TrapReceiver/../../snmplib
Writing Makefile for NetSNMP::TrapReceiver
Writing Makefile for Bundle::NetSNMP
make[1]: Entering directory `/home/mohan/net-snmp-5.4.4/perl'
cp Makefile.subs.pl blib/lib/Bundle/Makefile.subs.pl
make[2]: Entering directory `/home/mohan/net-snmp-5.4.4/perl/default_store'
cp default_store.pm ../blib/lib/NetSNMP/default_store.pm
AutoSplitting ../blib/lib/NetSNMP/default_store.pm (../blib/lib/auto/NetSNMP/default_store)
/usr/bin/perl /usr/share/perl/5.12.4/ExtUtils/xsubpp -prototypes -typemap /usr/share/perl/5.12/ExtUtils/typemap -typemap typemap default_store.xs > default_store.xsc && mv default_store.xsc default_store.c
cc -c -I../../include -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.12/CORE -I. -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"5.0404\" -DXS_VERSION=\"5.0404\" -fPIC "-I/usr/lib/perl/5.12/CORE" default_store.c
Running Mkbootstrap for NetSNMP::default_store ()
chmod 644 default_store.bs
rm -f ../blib/arch/auto/NetSNMP/default_store/default_store.so
LD_RUN_PATH="/usr/local/lib:/usr/lib/perl/5.12/CORE" cc -shared -O2 -g -L/usr/local/lib -fstack-protector default_store.o -o ../blib/arch/auto/NetSNMP/default_store/default_store.so \
-L/home/mohan/net-snmp-5.4.4/perl/default_store/../../snmplib/.libs -L/home/mohan/net-snmp-5.4.4/perl/default_store/../../snmplib -L/usr/local/lib -lnetsnmp -lcrypto \

chmod 755 ../blib/arch/auto/NetSNMP/default_store/default_store.so
cp default_store.bs ../blib/arch/auto/NetSNMP/default_store/default_store.bs
chmod 644 ../blib/arch/auto/NetSNMP/default_store/default_store.bs
Manifying ../blib/man3/NetSNMP::default_store.3pm
make[2]: Leaving directory `/home/mohan/net-snmp-5.4.4/perl/default_store'
make[2]: Entering directory `/home/mohan/net-snmp-5.4.4/perl/ASN'
cp ASN.pm ../blib/lib/NetSNMP/ASN.pm
AutoSplitting ../blib/lib/NetSNMP/ASN.pm (../blib/lib/auto/NetSNMP/ASN)
/usr/bin/perl /usr/share/perl/5.12.4/ExtUtils/xsubpp -prototypes -typemap /usr/share/perl/5.12/ExtUtils/typemap ASN.xs > ASN.xsc && mv ASN.xsc ASN.c
cc -c -I../../include -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.12/CORE -I. -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"5.0404\" -DXS_VERSION=\"5.0404\" -fPIC "-I/usr/lib/perl/5.12/CORE" ASN.c
Running Mkbootstrap for NetSNMP::ASN ()
chmod 644 ASN.bs
rm -f ../blib/arch/auto/NetSNMP/ASN/ASN.so
LD_RUN_PATH="/usr/local/lib:/usr/lib/perl/5.12/CORE" cc -shared -O2 -g -L/usr/local/lib -fstack-protector ASN.o -o ../blib/arch/auto/NetSNMP/ASN/ASN.so \
-L/home/mohan/net-snmp-5.4.4/perl/ASN/../../snmplib/.libs -L/home/mohan/net-snmp-5.4.4/perl/ASN/../../snmplib -L/usr/local/lib -lnetsnmp -lcrypto \

chmod 755 ../blib/arch/auto/NetSNMP/ASN/ASN.so
cp ASN.bs ../blib/arch/auto/NetSNMP/ASN/ASN.bs
chmod 644 ../blib/arch/auto/NetSNMP/ASN/ASN.bs
Manifying ../blib/man3/NetSNMP::ASN.3pm
make[2]: Leaving directory `/home/mohan/net-snmp-5.4.4/perl/ASN'
make[2]: Entering directory `/home/mohan/net-snmp-5.4.4/perl/OID'
cp OID.pm ../blib/lib/NetSNMP/OID.pm
AutoSplitting ../blib/lib/NetSNMP/OID.pm (../blib/lib/auto/NetSNMP/OID)
/usr/bin/perl /usr/share/perl/5.12.4/ExtUtils/xsubpp -prototypes -typemap /usr/share/perl/5.12/ExtUtils/typemap -typemap typemap OID.xs > OID.xsc && mv OID.xsc OID.c
cc -c -I../../include -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.12/CORE -I. -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"5.0404\" -DXS_VERSION=\"5.0404\" -fPIC "-I/usr/lib/perl/5.12/CORE" OID.c
Running Mkbootstrap for NetSNMP::OID ()
chmod 644 OID.bs
rm -f ../blib/arch/auto/NetSNMP/OID/OID.so
LD_RUN_PATH="/usr/local/lib:/usr/lib/perl/5.12/CORE" cc -shared -O2 -g -L/usr/local/lib -fstack-protector OID.o -o ../blib/arch/auto/NetSNMP/OID/OID.so \
-L/home/mohan/net-snmp-5.4.4/perl/OID/../../snmplib/.libs -L/home/mohan/net-snmp-5.4.4/perl/OID/../../snmplib -L/usr/local/lib -lnetsnmp -lcrypto \

chmod 755 ../blib/arch/auto/NetSNMP/OID/OID.so
cp OID.bs ../blib/arch/auto/NetSNMP/OID/OID.bs
chmod 644 ../blib/arch/auto/NetSNMP/OID/OID.bs
Manifying ../blib/man3/NetSNMP::OID.3pm
make[2]: Leaving directory `/home/mohan/net-snmp-5.4.4/perl/OID'
make[2]: Entering directory `/home/mohan/net-snmp-5.4.4/perl/agent'
cp agent.pm ../blib/lib/NetSNMP/agent.pm
AutoSplitting ../blib/lib/NetSNMP/agent.pm (../blib/lib/auto/NetSNMP/agent)
cp netsnmp_request_infoPtr.pm ../blib/lib/NetSNMP/agent/netsnmp_request_infoPtr.pm
make[3]: Entering directory `/home/mohan/net-snmp-5.4.4/perl/agent/Support'
cp Support.pm ../../blib/lib/NetSNMP/agent/Support.pm
make[3]: Leaving directory `/home/mohan/net-snmp-5.4.4/perl/agent/Support'
make[3]: Entering directory `/home/mohan/net-snmp-5.4.4/perl/agent/default_store'
cp default_store.pm ../../blib/lib/NetSNMP/agent/default_store.pm
AutoSplitting ../../blib/lib/NetSNMP/agent/default_store.pm (../../blib/lib/auto/NetSNMP/agent/default_store)
/usr/bin/perl /usr/share/perl/5.12.4/ExtUtils/xsubpp -prototypes -typemap /usr/share/perl/5.12/ExtUtils/typemap default_store.xs > default_store.xsc && mv default_store.xsc default_store.c
cc -c -I../../../include -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.12/CORE -I. -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"5.0404\" -DXS_VERSION=\"5.0404\" -fPIC "-I/usr/lib/perl/5.12/CORE" default_store.c
Running Mkbootstrap for NetSNMP::agent::default_store ()
chmod 644 default_store.bs
rm -f ../../blib/arch/auto/NetSNMP/agent/default_store/default_store.so
LD_RUN_PATH="/usr/local/lib:/usr/lib/perl/5.12/CORE" cc -shared -O2 -g -L/usr/local/lib -fstack-protector default_store.o -o ../../blib/arch/auto/NetSNMP/agent/default_store/default_store.so \
-L/home/mohan/net-snmp-5.4.4/perl/agent/default_store/../../../snmplib/.libs -L/home/mohan/net-snmp-5.4.4/perl/agent/default_store/../../../snmplib -L/usr/local/lib -lnetsnmp -lcrypto \

chmod 755 ../../blib/arch/auto/NetSNMP/agent/default_store/default_store.so
cp default_store.bs ../../blib/arch/auto/NetSNMP/agent/default_store/default_store.bs
chmod 644 ../../blib/arch/auto/NetSNMP/agent/default_store/default_store.bs
Manifying ../../blib/man3/NetSNMP::agent::default_store.3pm
make[3]: Leaving directory `/home/mohan/net-snmp-5.4.4/perl/agent/default_store'
/usr/bin/perl /usr/share/perl/5.12.4/ExtUtils/xsubpp -prototypes -typemap /usr/share/perl/5.12/ExtUtils/typemap -typemap typemap agent.xs > agent.xsc && mv agent.xsc agent.c
cc -c -I../../include -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.12/CORE -I. -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"5.0404\" -DXS_VERSION=\"5.0404\" -fPIC "-I/usr/lib/perl/5.12/CORE" agent.c
agent.xs: In function ‘handler_wrapper’:
agent.xs:399:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
agent.xs:403:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
agent.xs:407:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
agent.xs:411:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
agent.xs: In function ‘XS_NetSNMP__agent_errlog’:
agent.xs:492:9: warning: format not a string literal and no format arguments [-Wformat-security]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_handler_registration_register’:
agent.xs:542:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_handler_registrationPtr_getRootOID’:
agent.xs:567:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs:577:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_request_infoPtr_getOID’:
agent.xs:606:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs:616:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_request_infoPtr_getOIDptr’:
agent.xs:637:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_request_infoPtr_getType’:
agent.xs:652:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_request_infoPtr_setType’:
agent.xs:665:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_request_infoPtr_getValue’:
agent.xs:677:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_request_infoPtr_getDelegated’:
agent.xs:690:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_request_infoPtr_setDelegated’:
agent.xs:702:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_request_infoPtr_getProcessed’:
agent.xs:711:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_request_infoPtr_setProcessed’:
agent.xs:723:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_request_infoPtr_getStatus’:
agent.xs:732:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_request_infoPtr_setStatus’:
agent.xs:744:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_request_infoPtr_getRepeat’:
agent.xs:753:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_request_infoPtr_setRepeat’:
agent.xs:765:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_request_infoPtr_setValue’:
agent.xs:786:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs:983:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_request_infoPtr_setOID’:
agent.xs:1017:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_request_infoPtr_setError’:
agent.xs:1032:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs:1033:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_request_infoPtr_next’:
agent.xs:1044:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs:1049:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_agent_request_info_getMode’:
agent.xs:1066:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
agent.xs: In function ‘XS_NetSNMP__agent__netsnmp_agent_request_info_setMode’:
agent.xs:1078:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
Running Mkbootstrap for NetSNMP::agent ()
chmod 644 agent.bs
rm -f ../blib/arch/auto/NetSNMP/agent/agent.so
LD_RUN_PATH="/usr/local/lib:/usr/lib/perl/5.12/CORE" cc -shared -O2 -g -L/usr/local/lib -fstack-protector agent.o -o ../blib/arch/auto/NetSNMP/agent/agent.so \
-L/usr/local/lib -L/home/mohan/net-snmp-5.4.4/perl/agent/../../snmplib/.libs -L/home/mohan/net-snmp-5.4.4/perl/agent/../../snmplib -L/home/mohan/net-snmp-5.4.4/perl/agent/../../agent/.libs -L/home/mohan/net-snmp-5.4.4/perl/agent/../../agent -L/home/mohan/net-snmp-5.4.4/perl/agent/../../agent/helpers/.libs -L/home/mohan/net-snmp-5.4.4/perl/agent/../../agent/helpers -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp \

chmod 755 ../blib/arch/auto/NetSNMP/agent/agent.so
cp agent.bs ../blib/arch/auto/NetSNMP/agent/agent.bs
chmod 644 ../blib/arch/auto/NetSNMP/agent/agent.bs
Manifying ../blib/man3/NetSNMP::netsnmp_request_infoPtr.3pm
Manifying ../blib/man3/NetSNMP::agent.3pm
make[2]: Leaving directory `/home/mohan/net-snmp-5.4.4/perl/agent'
make[2]: Entering directory `/home/mohan/net-snmp-5.4.4/perl/SNMP'
cp SNMP.pm ../blib/lib/SNMP.pm
AutoSplitting ../blib/lib/SNMP.pm (../blib/lib/auto/SNMP)
/usr/bin/perl /usr/share/perl/5.12.4/ExtUtils/xsubpp -noprototypes -typemap /usr/share/perl/5.12/ExtUtils/typemap -typemap typemap SNMP.xs > SNMP.xsc && mv SNMP.xsc SNMP.c
cc -c -I../../include -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.12/CORE -I. -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"5.0404\" -DXS_VERSION=\"5.0404\" -fPIC "-I/usr/lib/perl/5.12/CORE" SNMP.c
SNMP.xs: In function ‘_bulkwalk_send_pdu’:
SNMP.xs:1808:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
SNMP.xs: In function ‘XS_SNMP__update_session’:
SNMP.xs:2859:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
SNMP.xs: In function ‘XS_SNMP__read_mib’:
SNMP.xs:2959:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
SNMP.xs: In function ‘XS_SNMP__read_module’:
SNMP.xs:2982:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
SNMP.xs: In function ‘XS_SNMP__set’:
SNMP.xs:3026:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
SNMP.xs: In function ‘XS_SNMP__catch’:
SNMP.xs:3154:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
SNMP.xs: In function ‘XS_SNMP__get’:
SNMP.xs:3233:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
SNMP.xs: In function ‘XS_SNMP__getnext’:
SNMP.xs:3459:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
SNMP.xs: In function ‘XS_SNMP__getbulk’:
SNMP.xs:3704:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
SNMP.xs: In function ‘XS_SNMP__bulkwalk’:
SNMP.xs:3929:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
SNMP.xs:4124:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
SNMP.xs: In function ‘XS_SNMP__trapV1’:
SNMP.xs:4234:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
SNMP.xs: In function ‘XS_SNMP__trapV2’:
SNMP.xs:4373:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
SNMP.xs: In function ‘XS_SNMP__inform’:
SNMP.xs:4512:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
SNMP.xs: In function ‘XS_SNMP__translate_obj’:
SNMP.xs:4786:9: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat]
SNMP.xs: In function ‘XS_SNMP__MIB__NODE_TIEHASH’:
SNMP.xs:5014:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
SNMP.xs: In function ‘XS_SNMP__MIB__NODE_FETCH’:
SNMP.xs:5046:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
SNMP.xs:5098:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
SNMP.xs:5179:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
SNMP.xs:5216:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Running Mkbootstrap for SNMP ()
chmod 644 SNMP.bs
rm -f ../blib/arch/auto/SNMP/SNMP.so
LD_RUN_PATH="/usr/local/lib:/usr/lib/perl/5.12/CORE" cc -shared -O2 -g -L/usr/local/lib -fstack-protector SNMP.o -o ../blib/arch/auto/SNMP/SNMP.so \
-L/home/mohan/net-snmp-5.4.4/perl/SNMP/../../snmplib/.libs -L/home/mohan/net-snmp-5.4.4/perl/SNMP/../../snmplib -L/usr/local/lib -lnetsnmp -lcrypto \

chmod 755 ../blib/arch/auto/SNMP/SNMP.so
cp SNMP.bs ../blib/arch/auto/SNMP/SNMP.bs
chmod 644 ../blib/arch/auto/SNMP/SNMP.bs
Manifying ../blib/man3/SNMP.3
make[2]: Leaving directory `/home/mohan/net-snmp-5.4.4/perl/SNMP'
make[2]: Entering directory `/home/mohan/net-snmp-5.4.4/perl/TrapReceiver'
cp TrapReceiver.pm ../blib/lib/NetSNMP/TrapReceiver.pm
AutoSplitting ../blib/lib/NetSNMP/TrapReceiver.pm (../blib/lib/auto/NetSNMP/TrapReceiver)
/usr/bin/perl /usr/share/perl/5.12.4/ExtUtils/xsubpp -prototypes -typemap /usr/share/perl/5.12/ExtUtils/typemap -typemap typemap TrapReceiver.xs > TrapReceiver.xsc && mv TrapReceiver.xsc TrapReceiver.c
cc -c -I. -I../../include -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.12/CORE -I. -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"5.0404\" -DXS_VERSION=\"5.0404\" -fPIC "-I/usr/lib/perl/5.12/CORE" TrapReceiver.c
In file included from TrapReceiver.xs:6:0:
ppport.h:227:0: warning: "PERL_UNUSED_DECL" redefined [enabled by default]
/usr/lib/perl/5.12/CORE/perl.h:308:0: note: this is the location of the previous definition
TrapReceiver.xs: In function ‘perl_trapd_handler’:
TrapReceiver.xs:145:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
TrapReceiver.xs:197:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘unsigned int’ [-Wformat]
Running Mkbootstrap for NetSNMP::TrapReceiver ()
chmod 644 TrapReceiver.bs
rm -f ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.so
LD_RUN_PATH="/usr/local/lib:/usr/lib/perl/5.12/CORE" cc -shared -O2 -g -L/usr/local/lib -fstack-protector TrapReceiver.o -o ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.so \
-L/home/mohan/net-snmp-5.4.4/perl/TrapReceiver/../../apps/.libs -L/home/mohan/net-snmp-5.4.4/perl/TrapReceiver/../../apps -L/home/mohan/net-snmp-5.4.4/perl/TrapReceiver/../../agent/.libs -L/home/mohan/net-snmp-5.4.4/perl/TrapReceiver/../../agent -L/home/mohan/net-snmp-5.4.4/perl/TrapReceiver/../../agent/helpers/.libs -L/home/mohan/net-snmp-5.4.4/perl/TrapReceiver/../../agent/helpers -L/home/mohan/net-snmp-5.4.4/perl/TrapReceiver/../../snmplib/.libs -L/home/mohan/net-snmp-5.4.4/perl/TrapReceiver/../../snmplib -lnetsnmptrapd -lnetsnmpagent -lnetsnmp \

chmod 755 ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.so
cp TrapReceiver.bs ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.bs
chmod 644 ../blib/arch/auto/NetSNMP/TrapReceiver/TrapReceiver.bs
Manifying ../blib/man3/NetSNMP::TrapReceiver.3pm
make[2]: Leaving directory `/home/mohan/net-snmp-5.4.4/perl/TrapReceiver'
make[1]: Leaving directory `/home/mohan/net-snmp-5.4.4/perl'


Thanks & Regards,
MOHAMMAD BIYABANI.
linuxubuntu biyabani is online now   Report This Post
Labels (1)
0 Kudos
0 Replies