Hi,
We are trying to enable USB Webcam .For that we first installed LTIB and then when we give ./LTIB -c command it gives the following error.
Error 1
make[2]: Leaving directory `/tmp/rpm-ubuntu/BUILD/rpm-4.0.4/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/rpm-ubuntu/BUILD/rpm-4.0.4'
make: *** [all-recursive-am] Error 2
error: Bad exit status from /media/disk/L2.6.31_10.07.11_ER_source/y/ltib/tmp/rpm-tmp.54676 (%build)
RPM build errors:
Bad exit status from /media/disk/L2.6.31_10.07.11_ER_source/y/ltib/tmp/rpm-tmp.54676 (%build)
Build time for rpm-fs: 1435 seconds
Failed building rpm-fs
could not glob rpm in: /tmp/rpm-ubuntu/RPMS/armv7l/rpm-fs-* at ./ltib line 2408.
traceback:
main::check_rpm_setup:2408
main::host_checks:1423
main:542
Started: Tue Oct 26 06:36:08 2010
Ended: Tue Oct 26 07:00:08 2010
Elapsed: 1440 seconds
These packages failed to build:
rpm-fs
Build Failed
Please let me know the reason for the error.
Am also attaching the log file with this.
Maybe it's late to reply, just some comments:
From the log, librpmio lib is missing:
../rpmio/.libs/librpmio.so: undefined reference to `mp32addmul'
../rpmio/.libs/librpmio.so: undefined reference to `mp32setmul'
collect2: ld returned 1 exit status
make[2]: *** [dump] Error 1
if you're on Ubuntu, try to install librpmio deb by: "sudo apt-get install librpmio0", it may help. Other related librpm* packages:
librpm0 librpm1-dev librpm-dbg
librpm0-dev librpmbuild0 librpm-dev