smadaminov / ovs-dpdk-meson-issues

VMware Summer 2021
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

windows meson: 'netinet/in.h' file not found #22

Closed williamtu closed 3 years ago

williamtu commented 3 years ago

Found ninja.EXE-1.10.0 at "C:\Program Files\Meson\ninja.EXE" Command line for building ['lib\libopenvswitch.a'] is long, using a response file [1/239] Compiling C object lib/libopenvswitch.a.p/netdev-offload.c.obj FAILED: lib/libopenvswitch.a.p/netdev-offload.c.obj "clang" "-Ilib\libopenvswitch.a.p" "-Ilib" "-I..\lib" "-I." "-I.." "-Iinclude\openflow" "-I..\include\openflow" "-Iinclude\openvswitch" "-I..\include\openvswitch" " -Iinclude" "-I..\include" "-Xclang" "-fcolor-diagnostics" "-pipe" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-g" -MD -MQ lib/libopenvswitch.a.p/netdev-offloa d.c.obj -MF "lib\libopenvswitch.a.p\netdev-offload.c.obj.d" -o lib/libopenvswitch.a.p/netdev-offload.c.obj "-c" ../lib/netdev-offload.c In file included from ../lib/netdev-offload.c:19: In file included from ..\lib/netdev-offload.h:23: In file included from ..\lib/packets.h:26: ..\include\openvswitch/packets.h:21:10: fatal error: 'netinet/in.h' file not found

include <netinet/in.h>

     ^~~~~~~~~~~~~~
smadaminov commented 3 years ago

On Windows should add include/windows/netinet/in.h to the include directories provided in the ovs repository