
On Tuesday 21 July 2009 04:45:49 Luigi 'Comio' Mantellini wrote:
--- /dev/null +++ b/lib_generic/lzma/LzmaDec.c @@ -0,0 +1,1007 @@ +/* LzmaDec.c -- LZMA Decoder +2008-11-06 : Igor Pavlov : Public domain */
+#include "LzmaDec.h"
+#include <string.h>
there is no string.h in the source tree. because of this, the .depend step fails: make[1]: Entering directory `/usr/local/src/u-boot/blackfin/lib_generic/lzma' LzmaDec.c:9:20: error: string.h: No such file or directory
i know there's a hack in the Makefile: CFLAGS += -D_LZMA_PROB32 -I$(TOPDIR)/include/linux
looks like this should be CPPFLAGS, not CFLAGS. or fix the source and drop the -I hack.
--- a/lib_generic/lzma/LzmaTools.c +++ b/lib_generic/lzma/LzmaTools.c
- SizeT inProcessed;
this variable isnt used in this function: LzmaTools.c: In function ‘lzmaBuffToBuffDecompress’: LzmaTools.c:64: warning: unused variable ‘inProcessed’ -mike