[U-Boot] [PATCH] Refresh LZMA-lib to v4.65
Mike Frysinger
vapier at gentoo.org
Mon Jul 27 19:40:02 CEST 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090727/269981ff/attachment.pgp
More information about the U-Boot
mailing list