[dpdk-stable] [PATCH v3] eal/windows: fix link error with MinGW

Thomas Monjalon thomas at monjalon.net
Sun Nov 22 18:57:36 CET 2020


> > Linking with the 'pci' driver when building with MinGW on Windows fails with
> > undefined symbol 'GUID_DEVCLASS_NET'.
> > This occurs because devguid.h is included in rte_windows.h before INITGUID
> > is defined.
> > 
> > Move the include of devguid.h after the definition of INITGUID.
> > 
> > Fixes: b762221ac24f ("bus/pci: support Windows with bifurcated drivers")
> > Cc: stable at dpdk.org
> > 
> > Signed-off-by: Nick Connolly <nick.connolly at mayadata.io>
> 
> Reviewed-by: Tal Shnaiderman <talshn at nvidia.com>

Applied, thanks






More information about the stable mailing list