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]

Compiler errors building Git 1.7.9-1 with cygport

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
    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
    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.

Attachment: transcript.log
Description: transcript.log

Attachment: config.log
Description: config.log

Attachment: git-1.7.9-1-compile.log
Description: git-1.7.9-1-compile.log

Attachment: cygcheck.out
Description: cygcheck.out

Problem reports:
Unsubscribe info:

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