I also met this problem on ppc machine with SLES 10.2. -------------------- # uname -a Linux clashlp1 2.6.16.60-0.21-ppc64 #1 SMP Tue May 6 07:41:02 CDT 2008 ppc64 ppc64 ppc64 GNU/Linux
# ltp-intermediate-20080820/tools/scripts/numa_test.sh yes # rpm -qa | grep numa numactl-0.9.6-3.23 numactl-64bit-0.9.6-3.23 --------------------- I checked the numactl package and found the problem was due to the unmatch of the version of numa. The numa_move_pages was supported from numactl-2.0.0. See the change log of it. ===================== # cat numactl-2.0.0/CHANGES ...... 2.0.0[-rc1] - Version 2 (symbol versioning) - ....... - Support for move_pages(2) to numactl, and numa_move_pages() to libnuma - Add the move_pages test command to exercise the move_pages(2) system call ....... ----------------------------------------- Best regards! Jin Bing Guo 郭晋兵 Linux for System p Test IBM China Systems & Technology Laboratory in Beijing Tel: +86-10-82454439 Email: [EMAIL PROTECTED] ------------------------------------- "Do today what others won't so tomorrow you do what other's can't" Subrata Modak <[EMAIL PROTECTED] et.ibm.com> To Vijay Kumar 08/21/2008 10:39 <[EMAIL PROTECTED]> PM cc ltp-list <ltp-list@lists.sourceforge.net>, Please respond to Masatake YAMATO [EMAIL PROTECTED] <[EMAIL PROTECTED]>, Li Zefan t.ibm.com <[EMAIL PROTECTED]>, Shi Weihua <[EMAIL PROTECTED]>, Jin Bing Guo/China/[EMAIL PROTECTED], Garrett Cooper <[EMAIL PROTECTED]>, Mike Frysinger <[EMAIL PROTECTED]> Subject [BUILD ERRORS #1] move_pages() for ppc64 & Hi Vijay, move_pages() failed to compile on the following machine. I am not sure how it got introduced as i had verified it on lots of cross architecture machines. I am not sure whether the auto generation of linux_syscall_numbers.h is working fine, as most of these errors (i am going to report some more errors in subsequent mails) are related to syscall macros not found/defined. Can you please look in to this and give the required fix: 1) Linux 2.6.16.21-0.8-ppc64 #1 SMP Mon Jul 3 18:25:39 UTC 2006 ppc64 ppc64 ppc64 GNU/Linux make[4]: Entering directory `/root/subrata/ltp/ltp-intermediate-20080820/testcases/kernel/syscalls/move_pages' cc -Wall -I../../include -g -Wall -I../../../../include -Wall -c -o move_pages_support.o move_pages_support.c cc -Wall -I../../include -g -Wall -I../../../../include -Wall move_pages01.c move_pages_support.o -L../../../../lib -lltp -lnuma -lrt -o move_pages01 move_pages01.c: In function ‘main’: move_pages01.c:101: warning: implicit declaration of function ‘numa_move_pages’ /tmp/ccQaUX0V.o: In function `main': /root/subrata/ltp/ltp-intermediate-20080820/testcases/kernel/syscalls/move_pages/move_pages01.c:101: undefined reference to `numa_move_pages' collect2: ld returned 1 exit status make[4]: *** [move_pages01] Error 1 Regards-- Subrata
<<inline: graycol.gif>>
<<inline: pic05670.gif>>
<<inline: ecblank.gif>>
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list