Hi Daniel

Thanks a lot for reporting this bug and even more so for pointing out
the solution as well. ;-)

With the attached patch which is a much stripped down version of what's
in #294474, mindi-busybox compiles fine with gcc-4.0.

Best regards
Andree

On Fri, 2005-07-15 at 21:25 -0700, Daniel Schepler wrote:
> Package: mindi-busybox
> Severity: serious
> Version: 1.00-4
> 
> >From my build log:
> 
> ...
> gcc -I/tmp/buildd/mindi-busybox-1.00/include 
> -I/tmp/buildd/mindi-busybox-1.00/include 
> -I/tmp/buildd/mindi-busybox-1.00/libbb -D_LARGEFILE_SOURCE 
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wstrict-prototypes 
> -Wshadow -Os -march=i386 -mpreferred-stack-boundary=2 -falign-functions=0 
> -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG   
>   -c -o /tmp/buildd/mindi-busybox-1.00/archival/gzip.o 
> /tmp/buildd/mindi-busybox-1.00/archival/gzip.c
> /tmp/buildd/mindi-busybox-1.00/archival/gzip.c:2166: warning: type qualifiers 
> ignored on function return type
> /tmp/buildd/mindi-busybox-1.00/archival/gzip.c:2166: error: conflicting types 
> for 'build_bl_tree'
> /tmp/buildd/mindi-busybox-1.00/archival/gzip.c:1643: error: previous 
> declaration of 'build_bl_tree' was here
> make[1]: *** [/tmp/buildd/mindi-busybox-1.00/archival/gzip.o] Error 1
> make[1]: Leaving directory `/tmp/buildd/mindi-busybox-1.00'
> make: *** [build-stamp] Error 2
> 
> This looks like it's probably the same problem as in bug #294474; try
> the patch there.
> 
> -- System Information:
> Debian Release: testing/unstable
> Architecture: amd64 (x86_64)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.11-9-amd64-k8
> Locale: LANG=en, LC_CTYPE=en (charmap=UTF-8) (ignored: LC_ALL set to 
> en_US.UTF-8)
> 
-- 
Andree Leidenfrost
Sydney - Australia


Attachment: gzip.c+ifupdown.c-#318551.diff
Description: Binary data

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to