I'm getting error compiling in Fedora 11, in Fedora 10 I was compiling without errors. Please, see attached file.
Op zondag 21-06-2009 om 17:14 uur [tijdzone -0300], schreef Fabrício Godoy:
I'm getting error compiling in Fedora 11, in Fedora 10 I was compiling without errors. Please, see attached file.
Hi,
The declaration of IP_ADAPTER_ADDRESSES is in the file /usr/i686-pc-mingw32/sys-root/mingw/include/iptypes.h and guarded with a '#if (_WIN32_WINNT >= 0x0501) && defined(_WINSOCK2_H)' block.
I guess that the compiler flag '-D_WIN32_WINNT=0x0501' got lost somewhere in your transition from Fedora 10 to Fedora 11.
Regards,
Erik van Pienbroek
Hi,
Unfortunely no, I'm sure that WINVER is defined to 0x0502.
Thanks.
2009/6/21 Erik van Pienbroek erik@vanpienbroek.nl
Op zondag 21-06-2009 om 17:14 uur [tijdzone -0300], schreef Fabrício Godoy:
I'm getting error compiling in Fedora 11, in Fedora 10 I was compiling without errors. Please, see attached file.
Hi,
The declaration of IP_ADAPTER_ADDRESSES is in the file /usr/i686-pc-mingw32/sys-root/mingw/include/iptypes.h and guarded with a '#if (_WIN32_WINNT >= 0x0501) && defined(_WINSOCK2_H)' block.
I guess that the compiler flag '-D_WIN32_WINNT=0x0501' got lost somewhere in your transition from Fedora 10 to Fedora 11.
Regards,
Erik van Pienbroek
fedora-mingw mailing list fedora-mingw@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
On Mon, 2009-06-22 at 16:39 -0300, Fabrício Godoy wrote:
Hi,
Unfortunely no, I'm sure that WINVER is defined to 0x0502.
He was speaking about _WIN32_WINNT not about WINVER. Could it be a problem?
F.
2009/6/21 Erik van Pienbroek erik@vanpienbroek.nl Op zondag 21-06-2009 om 17:14 uur [tijdzone -0300], schreef Fabrício Godoy: > I'm getting error compiling in Fedora 11, in Fedora 10 I was compiling > without errors. > Please, see attached file.
Hi, The declaration of IP_ADAPTER_ADDRESSES is in the file /usr/i686-pc-mingw32/sys-root/mingw/include/iptypes.h and guarded with a '#if (_WIN32_WINNT >= 0x0501) && defined(_WINSOCK2_H)' block. I guess that the compiler flag '-D_WIN32_WINNT=0x0501' got lost somewhere in your transition from Fedora 10 to Fedora 11. Regards, Erik van Pienbroek _______________________________________________ fedora-mingw mailing list fedora-mingw@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
fedora-mingw mailing list fedora-mingw@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
Well, I tried _WIN32_WINNT too.
But, windef.h has following code:
#ifndef WINVER #define WINVER 0x0400 /* * If you need Win32 API features newer the Win95 and WinNT then you must * define WINVER before including windows.h or any other method of including * the windef.h header. */ #endif #ifndef _WIN32_WINNT #define _WIN32_WINNT WINVER /*
2009/6/22 Fridrich Strba fridrich.strba@bluewin.ch
On Mon, 2009-06-22 at 16:39 -0300, Fabrício Godoy wrote:
Hi,
Unfortunely no, I'm sure that WINVER is defined to 0x0502.
He was speaking about _WIN32_WINNT not about WINVER. Could it be a problem?
F.
2009/6/21 Erik van Pienbroek erik@vanpienbroek.nl Op zondag 21-06-2009 om 17:14 uur [tijdzone -0300], schreef Fabrício Godoy: > I'm getting error compiling in Fedora 11, in Fedora 10 I was compiling > without errors. > Please, see attached file.
Hi, The declaration of IP_ADAPTER_ADDRESSES is in the file /usr/i686-pc-mingw32/sys-root/mingw/include/iptypes.h and guarded with a '#if (_WIN32_WINNT >= 0x0501) && defined(_WINSOCK2_H)' block. I guess that the compiler flag '-D_WIN32_WINNT=0x0501' got lost somewhere in your transition from Fedora 10 to Fedora 11. Regards, Erik van Pienbroek _______________________________________________ fedora-mingw mailing list fedora-mingw@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
fedora-mingw mailing list fedora-mingw@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
fedora-mingw mailing list fedora-mingw@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
Resolved. The problem is that _WINSOCK2_H/winsock2.h is no more defined/included by windows.h.
Thanks.
2009/6/22 Fabrício Godoy skarllot@gmail.com
Well, I tried _WIN32_WINNT too.
But, windef.h has following code:
#ifndef WINVER #define WINVER 0x0400 /*
- If you need Win32 API features newer the Win95 and WinNT then you must
- define WINVER before including windows.h or any other method of
including
- the windef.h header.
*/ #endif #ifndef _WIN32_WINNT #define _WIN32_WINNT WINVER /*
2009/6/22 Fridrich Strba fridrich.strba@bluewin.ch
On Mon, 2009-06-22 at 16:39 -0300, Fabrício Godoy wrote:
Hi,
Unfortunely no, I'm sure that WINVER is defined to 0x0502.
He was speaking about _WIN32_WINNT not about WINVER. Could it be a problem?
F.
2009/6/21 Erik van Pienbroek erik@vanpienbroek.nl Op zondag 21-06-2009 om 17:14 uur [tijdzone -0300], schreef Fabrício Godoy: > I'm getting error compiling in Fedora 11, in Fedora 10 I was compiling > without errors. > Please, see attached file.
Hi, The declaration of IP_ADAPTER_ADDRESSES is in the file /usr/i686-pc-mingw32/sys-root/mingw/include/iptypes.h and guarded with a '#if (_WIN32_WINNT >= 0x0501) && defined(_WINSOCK2_H)' block. I guess that the compiler flag '-D_WIN32_WINNT=0x0501' got lost somewhere in your transition from Fedora 10 to Fedora 11. Regards, Erik van Pienbroek _______________________________________________ fedora-mingw mailing list fedora-mingw@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
fedora-mingw mailing list fedora-mingw@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw
fedora-mingw mailing list fedora-mingw@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/fedora-mingw