25/05/2020 02:37, Dmitry Kozlyuk: > Code in Linux EAL that supports dynamic memory allocation (as opposed to > static allocation used by FreeBSD) is not OS-dependent and can be reused > by Windows EAL. Move such code to a file compiled only for the OS that > require it. > > Signed-off-by: Dmitry Kozlyuk <dmitry.kozl...@gmail.com> > --- > @@ -1943,7 +1633,7 @@ rte_eal_hugepage_init(void) > { > return internal_config.legacy_mem ? > eal_legacy_hugepage_init() : > - eal_hugepage_init(); > + eal_dynmem_hugepage_init();
There is a compilation issue, building clang+shared: undefined reference to `eal_dynmem_hugepage_init'