Hi Peter, I tried to apply this, but the current CVS version does not have patches: 7,8 and 9.
Could you send these and a I'll get them all applied. Regards, Stuart On 28/02/12 19:37, Peter Barada wrote: > When building mtd-utils-20080618 using CodeSourcery 2011.09-70 for ARM > (gcc-4.6.1) it fails with (at least): > > gcc -I./inc -I./src -I../include -std=gnu99 -DPACKAGE_VERSION=\"1.0\" > -O2 -g -Werror -Wall -Wwrite-strings -W -c -o error.o ./src/error.c -g > -Wp,-MD,.error.c.dep > ./src/error.c: In function 'info_msg': > ./src/error.c:77:6: error: variable 'n' set but not used > [-Werror=unused-but-set-variable] > cc1: all warnings being treated as errors > > make[1]: *** [error.o] Error 1 > make[1]: Leaving directory > `/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/mtd-utils/ubi-utils' > make: *** [all] Error 2 > error: Bad exit status from > /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/tmp/rpm-tmp.85594 > (%build) > > > RPM build errors: > Bad exit status from > /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/tmp/rpm-tmp.85594 > (%build) > Build time for mtd-utils: 7 seconds > > Failed building mtd-utils > > > The attached patch fixes this (at least makes mtd-utils build) for > gcc-4.5+... > > > > > _______________________________________________ > LTIB home page: http://ltib.org > > Ltib mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/ltib _______________________________________________ LTIB home page: http://ltib.org Ltib mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/ltib
