how to fix "undefined reference to `numa_move_pages' " when make?
Opened this issue · 2 comments
dadahua555 commented
the error like this:
./.libs/libnumatop.a(map.o): In function `map_map2numa':
/root/code/C/numatop/common/os/map.c:367: undefined reference to `numa_move_pages'
./.libs/libnumatop.a(map.o): In function `map_addr2nodedst':
/root/code/C/numatop/common/os/map.c:393: undefined reference to `numa_move_pages'
mattliemAWS commented
+1
ColinIanKing commented
This "missing" reference is found in the numa library and the prototype is found in numa.h - if it's missing then perhaps your numa.h headers are old or missing this functionality.