smadaminov / ovs-dpdk-meson-issues

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

fatal error LNK1181: cannot open input file ':librte_common_iavf.a.lib' #92

Open williamtu opened 3 years ago

williamtu commented 3 years ago
[235/286] Linking target utilities/ovs-dpctl.exe
FAILED: utilities/ovs-dpctl.exe utilities/ovs-dpctl.pdb
"clang"  -Wl,/MACHINE:X64 -Wl,/OUT:utilities/ovs-dpctl.exe utilities/ovs-dpctl.exe.p/ovs-dpctl.c.obj "-Wl,/nologo" "-Wl,/release" "-Wl,/
nologo" "-Wl,/DEBUG" "-Wl,/PDB:utilities\ovs-dpctl.pdb" "-Wl,/FORCE:MULTIPLE" "-Wl,/WHOLEARCHIVE" "-lmincore" "-ladvapi32" "-lsetupapi"
"-ldbghelp" "lib\libopenvswitch.a" "-Wl,--no-undefined" "-Wl,--whole-archive" "-Wl,--no-whole-archive" "-Wl,--as-needed" "C:/temp/dpdk/l
ib/librte_security.a" "C:/temp/dpdk/lib/librte_stack.a" "C:/temp/dpdk/lib/librte_pdump.a" "C:/temp/dpdk/lib/librte_latencystats.a" "C:/t
emp/dpdk/lib/librte_gso.a" "C:/temp/dpdk/lib/librte_gro.a" "C:/temp/dpdk/lib/librte_cfgfile.a" "C:/temp/dpdk/lib/librte_cryptodev.a" "C:
/temp/dpdk/lib/librte_bitratestats.a" "C:/temp/dpdk/lib/librte_timer.a" "C:/temp/dpdk/lib/librte_hash.a" "C:/temp/dpdk/lib/librte_metric
s.a" "C:/temp/dpdk/lib/librte_cmdline.a" "C:/temp/dpdk/lib/librte_pci.a" "C:/temp/dpdk/lib/librte_ethdev.a" "C:/temp/dpdk/lib/librte_met
er.a" "C:/temp/dpdk/lib/librte_net.a" "C:/temp/dpdk/lib/librte_mbuf.a" "C:/temp/dpdk/lib/librte_mempool.a" "C:/temp/dpdk/lib/librte_rcu.
a" "C:/temp/dpdk/lib/librte_ring.a" "C:/temp/dpdk/lib/librte_eal.a" "C:/temp/dpdk/lib/librte_telemetry.a" "C:/temp/dpdk/lib/librte_kvarg
s.a" "-LC:/temp/dpdk/lib" "-l:librte_common_iavf.a" "-l:librte_bus_auxiliary.a" "-l:librte_bus_pci.a" "-l:librte_bus_vdev.a" "-l:librte_
mempool_ring.a" "-l:librte_mempool_stack.a" "-l:librte_net_i40e.a" "-l:librte_net_iavf.a" "-l:librte_net_ice.a" "-l:librte_net_ixgbe.a"
"-l:librte_net_vmxnet3.a" "-l:librte_security.a" "-l:librte_stack.a" "-l:librte_pdump.a" "-l:librte_latencystats.a" "-l:librte_gso.a" "-
l:librte_gro.a" "-l:librte_cfgfile.a" "-l:librte_cryptodev.a" "-l:librte_bitratestats.a" "-l:librte_timer.a" "-l:librte_hash.a" "-l:libr
te_metrics.a" "-l:librte_cmdline.a" "-l:librte_pci.a" "-l:librte_ethdev.a" "-l:librte_meter.a" "-l:librte_net.a" "-l:librte_mbuf.a" "-l:
librte_mempool.a" "-l:librte_rcu.a" "-l:librte_ring.a" "-l:librte_eal.a" "-l:librte_telemetry.a" "-l:librte_kvargs.a" "-ldbghelp" "-lset
upapi" "-lws2_32" "-lmincore" "C:/PTHREADS-BUILT/lib/libpthreadVC3.lib" "-lWs2_32" "-lWbemUuid" "-lShlwapi" "-lIphlpapi" "-Wl,/SUBSYSTEM
:CONSOLE" "-lkernel32" "-luser32" "-lgdi32" "-lwinspool" "-lshell32" "-lole32" "-loleaut32" "-luuid" "-lcomdlg32"
LINK : warning LNK4044: unrecognized option '/-no-undefined'; ignored
LINK : warning LNK4044: unrecognized option '/-whole-archive'; ignored
LINK : warning LNK4044: unrecognized option '/-no-whole-archive'; ignored
LINK : warning LNK4044: unrecognized option '/-as-needed'; ignored
LINK : fatal error LNK1181: cannot open input file ':librte_common_iavf.a.lib'
clang: error: linker command failed with exit code 1181 (use -v to see invocation)
williamtu commented 3 years ago

seems to be a Meson issue... I'm using meson 0.55.0 for DPDK and using 0.59.0 for OVS-DPDK

PS C:\TEMP\dpdk\lib> meson -v
0.55.0
PS C:\TEMP\dpdk\lib> C:\meson59.exe -v
0.59.0