smadaminov / ovs-dpdk-meson-issues

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

windows meson pthread not found #21

Closed williamtu closed 2 years ago

williamtu commented 3 years ago

FAILED: lib/libofproto.a.p/classifier.c.obj "clang" "-Ilib\libofproto.a.p" "-Ilib" "-I..\lib" "-I." "-I.." "-Iinclude\openflow" "-I..\include\openflow" "-Iinclude\openv switch" "-I..\include\openvswitch" "-Iinclude" "-I..\include" "-Xclang" "-fcolor-diagnostics" "-pipe" "-D_FILE_OFFSET_BITS=6 4" "-Wall" "-Winvalid-pch" "-g" "-Werror" -MD -MQ lib/libofproto.a.p/classifier.c.obj -MF "lib\libofproto.a.p\classifier.c.o bj.d" -o lib/libofproto.a.p/classifier.c.obj "-c" ../lib/classifier.c In file included from ../lib/classifier.c:18: In file included from ..\lib/classifier.h:301: In file included from ..\lib/cmap.h:22: In file included from ..\lib/ovs-rcu.h:161: ..\lib/ovs-atomic.h:315:10: fatal error: 'pthread.h' file not found

include

smadaminov commented 2 years ago

was caused by not linking with posix pthreads library. Now meson requires to provide this flag so closing. added as a prerequisite in the readme