036d82365e
The code didn't compile when using exported mempool functions under Windows. compilation error logs: rte_mempool_exports.def : error LNK2001: unresolved external symbol rte_mempool_cache_flush rte_mempool_exports.def : error LNK2001: unresolved external symbol rte_mempool_default_cache rte_mempool_exports.def : error LNK2001: unresolved external symbol rte_mempool_generic_get rte_mempool_exports.def : error LNK2001: unresolved external symbol rte_mempool_generic_put lib\librte_mempool.dll.a : fatal error LNK1120: 4 unresolved externals clang: error: linker command failed with exit code 1120 (use -v to see invocation) The cause was that there were some inline functions that were included in the export list. To solve this the functions, which are implemented in the header and shouldn't be exported, were removed from rte_mempool_version.map export list. Fixes: |
||
---|---|---|
.. | ||
Makefile | ||
mempool_trace_points.c | ||
meson.build | ||
rte_mempool_ops_default.c | ||
rte_mempool_ops.c | ||
rte_mempool_trace_fp.h | ||
rte_mempool_trace.h | ||
rte_mempool_version.map | ||
rte_mempool.c | ||
rte_mempool.h |