Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: routeprot.h has bug related to IP_LOCAL_BINDING
https://bugzilla.redhat.com/show_bug.cgi?id=680583
Summary: routeprot.h has bug related to IP_LOCAL_BINDING Product: Fedora Version: 13 Platform: Unspecified OS/Version: Unspecified Status: NEW Severity: unspecified Priority: unspecified Component: mingw32-w32api AssignedTo: rjones@redhat.com ReportedBy: greearb@candelatech.com QAContact: extras-qa@fedoraproject.org CC: rjones@redhat.com, kalev@smartlink.ee, fedora-mingw@lists.fedoraproject.org Classification: Fedora
Description of problem:
It seems IP_LOCAL_BINDING is defined after it is used.
Version-Release number of selected component (if applicable):
mingw32-w32api-3.13-5.fc13.noarch
How reproducible:
Always
Steps to Reproduce: 1. Try to compile something that uses routprot.h 2. 3.
Actual results:
In file included from fea/data_plane/fibconfig/fibconfig_entry_get_iphelper.cc:34: /usr/i686-pc-mingw32/sys-root/mingw/include/routprot.h:51: error: 'IP_LOCAL_BINDING' does not name a type scons: *** [obj/i386-pc-mingw32/fea/data_plane/fibconfig/fibconfig_entry_get_iphelper.o] Error 1 scons: building terminated because of errors.
Expected results:
Sweet binary goodness.
Additional info:
This seems to fix things:
diff --git a/routprot.h.orig b/routprot.h index 54fe9ee..2b57df8 100644 --- a/routprot.h.orig +++ b/routprot.h @@ -43,6 +43,11 @@ extern "C" { #define IPX_PROTOCOL_NLSP 0x00020002 /*--- Router Management Reference - Router Management Structures */ #if (_WIN32_WINNT >= 0x0500) +typedef struct IP_LOCAL_BINDING { + DWORD Address; + DWORD Mask; +} IP_LOCAL_BINDING,*PIP_LOCAL_BINDING; + typedef struct IP_ADAPTER_BINDING_INFO { ULONG AddressCount; DWORD RemoteAddress; @@ -50,10 +55,7 @@ typedef struct IP_ADAPTER_BINDING_INFO { ULONGLONG Speed; IP_LOCAL_BINDING Address[]; } IP_ADAPTER_BINDING_INFO,*PIP_ADAPTER_BINDING_INFO; -typedef struct IP_LOCAL_BINDING { - DWORD Address; - DWORD Mask; -} IP_LOCAL_BINDING,*PIP_LOCAL_BINDING; + typedef struct IPX_ADAPTER_BINDING_INFO { ULONG AdapterIndex; UCHAR Network[4];
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=680583
--- Comment #1 from Richard W.M. Jones rjones@redhat.com 2011-03-02 06:59:11 EST --- We don't particularly deal with upstream bugs in MinGW, just packaging bugs. So take a look at the upstream bug tracker:
http://www.mingw.org/reporting_bugs
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=680583
--- Comment #2 from Bug Zapper triage@lists.fedoraproject.org 2011-05-30 07:13:24 EDT ---
This message is a reminder that Fedora 13 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '13'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 13's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 13 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=680583
Bug Zapper triage@lists.fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |WONTFIX Flag|needinfo?(greearb@candelate | |ch.com) | Last Closed| |2011-06-27 08:08:39
--- Comment #3 from Bug Zapper triage@lists.fedoraproject.org 2011-06-27 08:08:39 EDT ---
Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.