[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#288981: busybox-cvs: FTBFS (amd64/gcc-4.0): conflicting types for 'build_bl_tree'



On Thu, Jan 06, 2005 at 05:28:11PM +0100, Andreas Jochens wrote:
> Package: busybox-cvs
> Severity: normal
> Tags: patch
> 
> gcc -I./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -Wstrict-prototypes -Wshadow -Os -fomit-frame-pointer -DNDEBUG     -c -o archival/gzip.o archival/gzip.c
> archival/gzip.c:2166: warning: type qualifiers ignored on function return type
> archival/gzip.c:2166: error: conflicting types for 'build_bl_tree'
> archival/gzip.c:1643: error: previous declaration of 'build_bl_tree' was here
> make[1]: *** [archival/gzip.o] Error 1
> make[1]: Leaving directory `/busybox-cvs-20040623'
> make: *** [build-arch-deb-stamp] Error 2
> 
> With the attached patch 'busybox-cvs' can be compiled
> on amd64 using gcc-4.0.

Current upstream (from Subversion, svn://busybox.net/trunk/busybox)
compiles cleanly on amd64 with the gcc-4.0 in Ubuntu 5.04 (CVS
20050301), although the 'environ' which you changed to 'environm' is
still 'environ' throughout; can you shed any light on this?

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: