Web lists-archives.com

Re: [Mingw-users] mingw compiling git

Sent: Saturday, July 23, 2016 at 3:40 PM
From: "Peter Bohning" <peter.bohning@xxxxxxx>
To: eliz@xxxxxxx, mingw-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Mingw-users] mingw compiling git
Sent: Saturday, July 23, 2016 at 12:53 PM
From: "Eli Zaretskii" <eliz@xxxxxxx>
To: "MinGW Users List" <mingw-users@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Mingw-users] mingw compiling git
> From: "Peter Bohning" <peter.bohning@xxxxxxx>
> Date: Sat, 23 Jul 2016 17:26:29 +0200
> Sensitivity: Normal
> Well but if I use gcc on a different file with stdarg, it finds it. So its something about the way git calls the
> compiler that maybe uses strings with backslashes wrong or something.

Could be, but then how can we help you here, unless you tell more
about the build process, like some environment variables set by it, or
GCC options it uses?
I'm not sure if configure failed before and I didn't notice, but I tried it again and got a socklen_t cannot find replacement type, so I altered the configure file and added #include <ws2tcpip.h>.  Configure works but now I'm getting more make file errors:
<command-line>:0:18: error: redefinition of 'struct sockaddr_in'
In file included from git-compat-util.h:153:0,
from cache.h:4,
from credential-store.c:1:
c:\mingw\include\winsock2.h:254:8 note originally defined here
struct sockaddr_in {
redefinition of struct itimerval
compat/mingw.h: originally defined here
compat/bswap.h:12:15: error: unknown type name 'uint32_t'
static inline uint32_t default_swab32(uint32_t val)
I fixed some of the errors and then it had trouble compiling compat/mingw.c and I gave up and installed msysgit.  Sorry for bothering the list, thanks anyway.
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
MinGW-users mailing list

This list observes the Etiquette found at 
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe