aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tmpfs
diff options
context:
space:
mode:
authorShuah Khan <skhan@linuxfoundation.org>2019-12-10 17:12:33 -0700
committerShuah Khan <skhan@linuxfoundation.org>2019-12-23 10:52:40 -0700
commit7648dd9fc981cec52df8a635fa2eefc249e138b9 (patch)
tree1af9b6533e5eae73168ac1c63d297b4f1a973355 /tools/testing/selftests/tmpfs
parentLinux 5.5-rc3 (diff)
downloadlinux-dev-7648dd9fc981cec52df8a635fa2eefc249e138b9.tar.xz
linux-dev-7648dd9fc981cec52df8a635fa2eefc249e138b9.zip
selftests: filesystems/epoll: fix build error
epoll build fails to find pthread lib. Fix Makefile to use LDLIBS instead of LDFLAGS. LDLIBS is the right flag to use here with -l option when invoking ld. gcc -I../../../../../usr/include/ -lpthread epoll_wakeup_test.c -o .../tools/testing/selftests/filesystems/epoll/epoll_wakeup_test /usr/bin/ld: /tmp/ccaZvJUl.o: in function `kill_timeout': epoll_wakeup_test.c:(.text+0x4dd): undefined reference to `pthread_kill' /usr/bin/ld: epoll_wakeup_test.c:(.text+0x4f2): undefined reference to `pthread_kill' /usr/bin/ld: /tmp/ccaZvJUl.o: in function `epoll9': epoll_wakeup_test.c:(.text+0x6382): undefined reference to `pthread_create' /usr/bin/ld: epoll_wakeup_test.c:(.text+0x64d2): undefined reference to `pthread_create' /usr/bin/ld: epoll_wakeup_test.c:(.text+0x6626): undefined reference to `pthread_join' /usr/bin/ld: epoll_wakeup_test.c:(.text+0x684c): undefined reference to `pthread_tryjoin_np' /usr/bin/ld: epoll_wakeup_test.c:(.text+0x6864): undefined reference to `pthread_kill' /usr/bin/ld: epoll_wakeup_test.c:(.text+0x6878): undefined reference to `pthread_join' Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/tmpfs')
0 files changed, 0 insertions, 0 deletions