Is there a fix or workaround for this error when cross-compiling gzip
with i686-w64-mingw32-gcc?  We build such an executable in the Debian
package build to support the debian-installer team.  A quick scan
through the gzip and gnulib git repositories didn't point to anything
obvious.

Bdale

--- Begin Message ---
Source: gzip
Version: 1.4-2
Severity: serious

>From my pbuilder build log:

...
  CC     error.o
  CC     exitfail.o
  CC     fchdir.o
../../lib/fchdir.c: In function '_gl_register_fd':
../../lib/fchdir.c:153:7: warning: passing argument 2 of 'rpl_fstat' from 
incompatible pointer type [enabled by default]
./sys/stat.h:355:12: note: expected 'struct _stat64 *' but argument is of type 
'struct stat *'
../../lib/fchdir.c: At top level:
../../lib/fchdir.c:222:1: error: conflicting types for 'rpl_fstat'
./sys/stat.h:355:12: note: previous declaration of 'rpl_fstat' was here
make[4]: *** [fchdir.o] Error 1
make[4]: Leaving directory `/tmp/buildd/gzip-1.4/build-indep/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/gzip-1.4/build-indep/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/buildd/gzip-1.4/build-indep/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/buildd/gzip-1.4/build-indep'
make: *** [build-indep-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-- 
Daniel Schepler



--- End Message ---

Attachment: pgp5zXg8dnLo9.pgp
Description: PGP signature

Reply via email to