All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP]  ld failed to link numa while compiling migrate_pages01
@ 2016-03-23 11:45 $rik
  2016-03-23 12:35 ` Jan Stancek
  0 siblings, 1 reply; 5+ messages in thread
From: $rik @ 2016-03-23 11:45 UTC (permalink / raw)
  To: ltp

Hi Cyril/LTP Devs,

Today i pulled few fixes from master branch [1] on top of last LTP
release. While compiling i am getting below exception at
migrate_pages01. Can you help in look into the issue once?

make[4]: Entering directory
'/home/linaro/ltp-master/testcases/kernel/syscalls/migrate_pages'
gcc -static -g -O2 -fno-strict-aliasing -pipe -Wall -W
-Wold-style-definition -static
-I/home/linaro/ltp-master/testcases/kernel/include
-I/home/linaro/ltp-master/testcases/kernel/syscalls/migrate_pages/../utils/
-DNUMA_VERSION1_COMPATIBILITY
-I/home/linaro/ltp-master/testcases/kernel/include
-I../../../../include -I../../../../include  -c -o migrate_pages01.o
migrate_pages01.c
gcc -static -g -O2 -fno-strict-aliasing -pipe -Wall -W
-Wold-style-definition -static
-I/home/linaro/ltp-master/testcases/kernel/include
-I/home/linaro/ltp-master/testcases/kernel/syscalls/migrate_pages/../utils/
-DNUMA_VERSION1_COMPATIBILITY
-I/home/linaro/ltp-master/testcases/kernel/include
-I../../../../include -I../../../../include  -c -o
migrate_pages_common.o migrate_pages_common.c
make -C "/home/linaro/Srikanth/ltp-master/testcases/kernel/include" -f
"/home/linaro/ltp-master/testcases/kernel/include/Makefile" all
make[5]: Entering directory '/home/linaro/ltp-master/testcases/kernel/include'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/linaro/ltp-master/testcases/kernel/include'
gcc -static -pthread  -L/home/linaro/ltp-master/testcases/kernel/lib
-L../../../../lib  migrate_pages01.o migrate_pages_common.o   -lltp
-lnuma -lkerntest -lltp -o migrate_pages01
migrate_pages01.o: In function `test_invalid_perm':
/home/linaro/ltp-master/testcases/kernel/syscalls/migrate_pages/migrate_pages01.c:183:
warning: Using 'getpwnam' in statically linked applications requires
at runtime the shared libraries from the glibc version used for
linking
/home/linaro/ltp-master/testcases/kernel/lib/libkerntest.a(numa_helper.o):
In function `get_max_node':
/home/linaro/ltp-master/testcases/kernel/lib/numa_helper.c:53:
undefined reference to `numa_max_possible_node'
/home/linaro/ltp-master/testcases/kernel/lib/libkerntest.a(numa_helper.o):
In function `get_allowed_nodes_arr':
/home/linaro/ltp-master/testcases/kernel/lib/numa_helper.c:177:
undefined reference to `numa_available'
/home/linaro/ltp-master/testcases/kernel/lib/libkerntest.a(numa_helper.o):
In function `get_max_node':
/home/linaro/ltp-master/testcases/kernel/lib/numa_helper.c:53:
undefined reference to `numa_max_possible_node'
/home/linaro/ltp-master/testcases/kernel/lib/libkerntest.a(numa_helper.o):
In function `get_allowed_nodes_arr':
/home/linaro/ltp-master/testcases/kernel/lib/numa_helper.c:177:
undefined reference to `numa_available'
/home/linaro/ltp-master/testcases/kernel/lib/libkerntest.a(numa_helper.o):
In function `get_max_node':
/home/linaro/ltp-master/testcases/kernel/lib/numa_helper.c:53:
undefined reference to `numa_max_possible_node'
collect2: error: ld returned 1 exit status
<builtin>: recipe for target 'migrate_pages01' failed
make[4]: *** [migrate_pages01] Error 1


[1] https://github.com/linux-test-project/ltp.git

-- 
Thanks & Regards,
M.Srikanth Kumar.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-24  9:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-23 11:45 [LTP] ld failed to link numa while compiling migrate_pages01 $rik
2016-03-23 12:35 ` Jan Stancek
2016-03-23 13:22   ` $rik
2016-03-23 13:44     ` Jan Stancek
2016-03-24  9:53       ` $rik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.