Compiler errors building Git 1.7.9-1 with cygport
Adam Dinwoodie
Adam.Dinwoodie@metaswitch.com
Tue Dec 18 14:45:00 GMT 2012
I'm attempting to compile the Cygwin Git code from source using cygport, but
hitting compile errors I can't resolve.
I'd normally associate errors of this ilk with a syntax error early in cygwin.c
or wint32.h, but I can't spot anything obvious. Google and my brief searches
of the mailing lists aren't helping. I assume I'm doing something wrong, else
there wouldn't be a Git binary to download, although my expectation had been
that downloaded source packages should Just Work(TM).
$ cygport git-1.7.9-1.cygport compile
<...snipped...>
In file included from /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/winnt.h:16:0,
from /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/windef.h:139,
from /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/windows.h:69,
from compat/win32.h:6,
from compat/cygwin.c:3:
/usr/include/ctype.h:8:5: error: expected ')' before '__c'
/usr/include/ctype.h:8:5: error: expected expression before ']' token
/usr/include/ctype.h:8:5: error: expected ')' before '!=' token
<...snipped...>
Makefile:2074: recipe for target `compat/cygwin.o' failed
There are also a whole bunch of messages from gcc-4 about "unrecognized option
'-pthread'" which I've been assuming are benign.
I've attached a more complete transcript, plus cygcheck output and the build's
config.log and compile.log, in case these are useful.
---
Adam Dinwoodie
Messages posted to this list are made in a personal capacity.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: transcript.log
Type: application/octet-stream
Size: 16911 bytes
Desc: transcript.log
URL: <http://cygwin.com/pipermail/cygwin/attachments/20121218/f988a566/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 46625 bytes
Desc: config.log
URL: <http://cygwin.com/pipermail/cygwin/attachments/20121218/f988a566/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: git-1.7.9-1-compile.log
Type: application/octet-stream
Size: 16561 bytes
Desc: git-1.7.9-1-compile.log
URL: <http://cygwin.com/pipermail/cygwin/attachments/20121218/f988a566/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 61285 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20121218/f988a566/attachment-0003.obj>
-------------- next part --------------
--
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
More information about the Cygwin
mailing list