LTIB build failed while including net-snmp pacakge
hi
I am trying to buld an kernel image for freesacale imx6q proceesor using LTIB (Linux target image bulder). while including net-snmp package i got following error- Processing: expat =================== Processing: udev ================== Processing: net-snmp ====================== Build path taken because: directory build, no prebuilt rpm, scbuild/scdeploy already unpacked package Processing: net-snmp ====================== Build path taken because: directory build, build key set, no prebuilt rpm, rpmbuild --dbpath /home/deal/ltib/rootfs//var/lib/rpm --target arm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define '__strip strip' --define '_topdir /home/deal/ltib/rpm' --define '_prefix /usr' --define '_tmppath /home/deal/ltib/tmp' --define '_rpmdir /home/deal/ltib/rpm/RPMS' --define '_mandir /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit /home/deal/ltib/dist/lfs-5.1/net-snmp/net-snmp.spec Building target platforms: arm Building for target arm Executing(%build): /bin/sh -e /home/deal/ltib/tmp/rpm-tmp.17783 + umask 022 + cd /home/deal/ltib/rpm/BUILD + cd net-snmp-5.4.1 + ./configure --prefix=/usr --host=arm-linux --build=x86_64-unknown-linux-gnu --disable-embedded-perl --without-perl-modules with_endianness=big --enable-mini-agent --with-default-snmp-version=3 --disable-des --disable-debugging --with-sys-contact=who@where --with-logfile=/var/log/snmp --with-transports=UDP TCP --with-defaults checking what to build and install... agent apps man local mibs using default persistent mask 077 using default AgentX socket /var/agentx/master using default "enterprise.net-snmp" using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..." using default notifications "NET-SNMP-MIB::netSnmpNotifications" using OS default send buffer size for server sockets . . . . . . . . . . config.status: creating testing/Makefile config.status: creating man/Makefile config.status: creating mibs/Makefile config.status: creating net-snmp-config config.status: creating include/net-snmp/net-snmp-config.h config.status: include/net-snmp/net-snmp-config.h is unchanged config.status: executing default commands --------------------------------------------------------- Net-SNMP configuration summary: --------------------------------------------------------- SNMP Versions Supported: 1 2c 3 Net-SNMP Version: 5.4.1 Building for: linux Network transport support: Callback Unix UDP TCP SNMPv3 Security Modules: usm Agent MIB code: default_modules => snmpv3mibs mibII/snmp_mib mibII/system_mib mibII/sysORTable mibII/vacm_vars utilities/execute Embedded Perl support: disabled SNMP Perl modules: disabled SNMP Python modules: disabled Authentication support: MD5 SHA1 Encryption support: DES AES --------------------------------------------------------- + make chmod a+x net-snmp-config making all in /home/deal/ltib/rpm/BUILD/net-snmp-5.4.1/snmplib touch net-snmp-config-x make[1]: Entering directory `/home/deal/ltib/rpm/BUILD/net-snmp-5.4.1/snmplib' make[1]: Leaving directory `/home/deal/ltib/rpm/BUILD/net-snmp-5.4.1/snmplib' making all in /home/deal/ltib/rpm/BUILD/net-snmp-5.4.1/agent make[1]: Entering directory `/home/deal/ltib/rpm/BUILD/net-snmp-5.4.1/agent' making all in /home/deal/ltib/rpm/BUILD/net-snmp-5.4.1/agent/helpers /bin/sh ../libtool --mode=compile gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2 -Ulinux -Dlinux=linux -c -o mib_modules.lo mib_modules.c make[1]: *** No rule to make target `helpers/libnetsnmphelpers.la', needed by `libnetsnmpmibs.la'. Stop. make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory `/home/deal/ltib/rpm/BUILD/net-snmp-5.4.1/agent/helpers' /bin/sh ../../libtool --mode=link gcc -g -O2 -Ulinux -Dlinux=linux -rpath /usr/lib -version-info 16:0:1 -o libnetsnmphelpers.la all_helpers.lo baby_steps.lo bulk_to_next.lo cache_handler.lo debug_handler.lo instance.lo mode_end_call.lo multiplexer.lo null.lo old_api.lo read_only.lo row_merge.lo scalar.lo scalar_group.lo serialize.lo stash_cache.lo stash_to_next.lo table.lo table_array.lo table_container.lo table_data.lo table_dataset.lo table_iterator.lo table_row.lo table_tdata.lo watcher.lo ../libnetsnmpagent.la ../../snmplib/libnetsnmp.la gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2 -Ulinux -Dlinux=linux -c mib_modules.c -fPIC -DPIC -o .libs/mib_modules.o gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2 -Ulinux -Dlinux=linux -c mib_modules.c -o mib_modules.o >/dev/null 2>&1 gcc -shared .libs/all_helpers.o .libs/baby_steps.o .libs/bulk_to_next.o .libs/cache_handler.o .libs/debug_handler.o .libs/instance.o .libs/mode_end_call.o .libs/multiplexer.o .libs/null.o .libs/old_api.o .libs/read_only.o .libs/row_merge.o .libs/scalar.o .libs/scalar_group.o .libs/serialize.o .libs/stash_cache.o .libs/stash_to_next.o .libs/table.o .libs/table_array.o .libs/table_container.o .libs/table_data.o .libs/table_dataset.o .libs/table_iterator.o .libs/table_row.o .libs/table_tdata.o .libs/watcher.o -Wl,--rpath -Wl,/home/deal/ltib/rpm/BUILD/net-snmp-5.4.1/agent/.libs -Wl,--rpath -Wl,/home/deal/ltib/rpm/BUILD/net-snmp-5.4.1/snmplib/.libs -L/home/deal/ltib/rpm/BUILD/net-snmp-5.4.1/snmplib/.libs ../.libs/libnetsnmpagent.so ../../snmplib/.libs/libnetsnmp.so -Wl,-soname -Wl,libnetsnmphelpers.so.15 -o .libs/libnetsnmphelpers.so.15.1.0 (cd .libs && rm -f libnetsnmphelpers.so.15 && ln -s libnetsnmphelpers.so.15.1.0 libnetsnmphelpers.so.15) (cd .libs && rm -f libnetsnmphelpers.so && ln -s libnetsnmphelpers.so.15.1.0 libnetsnmphelpers.so) ar cru .libs/libnetsnmphelpers.a all_helpers.o baby_steps.o bulk_to_next.o cache_handler.o debug_handler.o instance.o mode_end_call.o multiplexer.o null.o old_api.o read_only.o row_merge.o scalar.o scalar_group.o serialize.o stash_cache.o stash_to_next.o table.o table_array.o table_container.o table_data.o table_dataset.o table_iterator.o table_row.o table_tdata.o watcher.o arm-linux-ranlib .libs/libnetsnmphelpers.a creating libnetsnmphelpers.la (cd .libs && rm -f libnetsnmphelpers.la && ln -s ../libnetsnmphelpers.la libnetsnmphelpers.la) : libnetsnmphelpers.la make[2]: Leaving directory `/home/deal/ltib/rpm/BUILD/net-snmp-5.4.1/agent/helpers' making all in /home/deal/ltib/rpm/BUILD/net-snmp-5.4.1/agent/mibgroup make[2]: Entering directory `/home/deal/ltib/rpm/BUILD/net-snmp-5.4.1/agent/mibgroup' make[2]: Leaving directory `/home/deal/ltib/rpm/BUILD/net-snmp-5.4.1/agent/mibgroup' make[1]: Leaving directory `/home/deal/ltib/rpm/BUILD/net-snmp-5.4.1/agent' make: *** [subdirs] Error 1 error: Bad exit status from /home/deal/ltib/tmp/rpm-tmp.17783 (%build) RPM build errors: Bad exit status from /home/deal/ltib/tmp/rpm-tmp.17783 (%build) Build time for net-snmp: 33 seconds Failed building net-snmp f_buildrpms() returned an error, exiting traceback: main:572 Started: Thu Jan 15 14:32:49 2015 Ended: Thu Jan 15 14:33:25 2015 Elapsed: 36 seconds These packages failed to build: net-snmp Please help me out Thanks |
All times are GMT -5. The time now is 11:28 PM. |