This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gzip-1.3.12-2 build from source fails with errors during make

I'm trying to build the latest gzip-1.3.12-2 from source, following the instructions in "/usr/src/gzip-1.3.12-2/INSTALL", but get some errors during the "make" step.

I don't think there are any errors during the "configure" step, but have attached the "config.log" file if you want to check. After doing "./configure", running "make" gives the following output:

Making all in lib
make[1]: Entering directory `/usr/src/gzip-1.3.12-2/lib'
make all-am
make[2]: Entering directory `/usr/src/gzip-1.3.12-2/lib'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -g -O2 -MT utimens.o -MD -MP -MF .deps/utimens.Tpo -c -o utimens.o utimens.c
In file included from ./sys/stat.h:27,
from ./fcntl.h:26,
from utimens.c:29:
///usr/include/sys/stat.h:165: error: conflicting types for `futimens'
utimens.h:2: error: previous declaration of `futimens' was here
utimens.c: In function `utimens':
utimens.c:188: warning: passing argument 2 of `futimens' from incompatible pointer type
utimens.c:188: error: too many arguments to function `futimens'
make[2]: *** [utimens.o] Error 1
make[2]: Leaving directory `/usr/src/gzip-1.3.12-2/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/gzip-1.3.12-2/lib'
make: *** [all-recursive] Error 1

The "cygcheck.out" file is also attached.

I'm not familiar with building packages from source on Cygwin, so could be doing something stupid. However, as a test, I was able to successfully build "wget" from source following the instructions in "/usr/share/doc/Cygwin/wget.README".

So, I assume that there isn't anything too wrong with my build environment... but maybe there are some Cygwin specific instructions that I need to follow to build "gzip"? The ones in the INSTALL file seem to be generic, but that's all I have been able to find.

Yuri McPhedran

Attachment: cygcheck.out
Description: Text document

Attachment: config.log
Description: Text document

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]