From: Cyril H. <ch...@su...> - 2012-02-09 13:21:24
|
Hi! > >> hugemmap01: auto mount the temporary dir for testing > >> hugemmap02: auto mount the temporary dir for testing > >> hugemmap03: auto mount the temporary dir for testing > >> hugemmap04: auto mount the temporary dir for testing > >> > >> runtest/hugetlb | 8 ++-- > >> testcases/kernel/mem/hugetlb/hugemmap/Makefile | 11 ++++ > >> testcases/kernel/mem/hugetlb/hugemmap/hugemmap01.c | 55 +++++++++++++------- > >> testcases/kernel/mem/hugetlb/hugemmap/hugemmap02.c | 50 ++++++++++++------ > >> testcases/kernel/mem/hugetlb/hugemmap/hugemmap03.c | 55 +++++++++++++------- > >> testcases/kernel/mem/hugetlb/hugemmap/hugemmap04.c | 53 ++++++++++++------- > >> 6 files changed, 155 insertions(+), 77 deletions(-) I've got: gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall -I/home/metan/Work/git/ltp-dev/testcases/kernel/include -I/home/metan/Work/git/ltp-dev/testcases/kernel/mem/hugetlb/hugemmap/../lib -I/home/metan/Work/git/ltp-dev/testcases/kernel/mem/hugetlb/hugemmap/../../lib -I../../../../../include -I../../../../../include -L/home/metan/Work/git/ltp-dev/testcases/kernel/mem/hugetlb/hugemmap/../lib -L/home/metan/Work/git/ltp-dev/testcases/kernel/mem/hugetlb/hugemmap/../../lib -L../../../../../lib hugemmap04.c -lltp -lipc_hugetlb -lmem -o hugemmap04 /home/metan/Work/git/ltp-dev/testcases/kernel/mem/hugetlb/hugemmap/../../lib/libmem.a(mem.o): In function `oom': /home/metan/Work/git/ltp-dev/testcases/kernel/mem/lib/mem.c:37: undefined reference to `set_mempolicy' collect2: ld returned 1 exit status make: *** [hugemmap04] Error 1 Which looks like forgotten $(NUMA_LIBS) in LDFLAGS when you have numa devel libs installed. -- Cyril Hrubis ch...@su... |