This is the mail archive of the
cygwin
mailing list for the Cygwin project.
gzip-1.3.12-2 build from source fails with errors during make
- From: ymcp <cygwin dot x dot ymcp at xoxy dot net>
- To: cygwin at cygwin dot com
- Date: Sun, 13 Mar 2011 13:47:29 +0000
- Subject: 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.
Thanks,
Yuri McPhedran
Attachment:
cygcheck.out
Description: Text document
Attachment:
config.log
Description: Text document
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple