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
[email protected]

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to