[PATCH] tar: Fix build error when CONFIG_UNCOMPRESS is not selected

Abdoulaye Walsimou GAYE awg at embtoolkit.org
Sun Jan 27 23:07:02 UTC 2013


On 01/27/2013 11:48 PM, Denys Vlasenko wrote:
> On Saturday 26 January 2013 16:24, Abdoulaye Walsimou Gaye wrote:
>> Signed-off-by: Abdoulaye Walsimou Gaye <awg at embtoolkit.org>
>> ---
>>   archival/libarchive/Kbuild.src |    2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/archival/libarchive/Kbuild.src b/archival/libarchive/Kbuild.src
>> index 58457fc..87e1ab9 100644
>> --- a/archival/libarchive/Kbuild.src
>> +++ b/archival/libarchive/Kbuild.src
>> @@ -48,7 +48,7 @@ lib-$(CONFIG_DPKG_DEB)                  += $(DPKG_FILES)
>>   lib-$(CONFIG_GUNZIP)                    += open_transformer.o decompress_gunzip.o
>>   lib-$(CONFIG_RPM2CPIO)                  += decompress_gunzip.o get_header_cpio.o
>>   lib-$(CONFIG_RPM)                       += open_transformer.o decompress_gunzip.o get_header_cpio.o
>> -lib-$(CONFIG_TAR)                       += get_header_tar.o
>> +lib-$(CONFIG_TAR)                       += get_header_tar.o decompress_uncompress.o
>>   lib-$(CONFIG_UNCOMPRESS)                += decompress_uncompress.o
>>   lib-$(CONFIG_UNZIP)                     += decompress_gunzip.o
>>   lib-$(CONFIG_LZOP)                      += lzo1x_1.o lzo1x_1o.o lzo1x_d.o
>
> Please send me .config which fails to build...

Hello,
Sorry for the miss of details of my commit message.
archival/tar.c uses unpack_Z_stream() which is only implemented in libarchive/decompress_uncompress.c,
if I am not wrong.

I will revert the local patch I have and send the full link error and attach the .config file.

Thanks,
AWG


More information about the busybox mailing list