* [LTP] Unable to run eventfd test, even the libaio-dev installed on debian 10.
@ 2019-10-31 9:26 limingyu
2019-10-31 9:36 ` Jan Stancek
0 siblings, 1 reply; 5+ messages in thread
From: limingyu @ 2019-10-31 9:26 UTC (permalink / raw)
To: ltp
When I try to run eventfd testcase under testcases/kernel/syscalls, it turns out that I should install libaio-dev packages. But it didn't helps when I DO installed the package.
leemeans@deepin:/media/leemeans/learning/Gitprojects/ltp/testcases/kernel/syscalls/eventfd$ dpkg -l | grep libaioii libaio-dev:amd64 0.3.112-3 amd64 Linux kernel AIO access library - development files
ii libaio1:amd64 0.3.112-3 amd64 Linux kernel AIO access library - shared library
leemeans@deepin:/media/leemeans/learning/Gitprojects/ltp/testcases/kernel/syscalls/eventfd$ make && sudo ./eventfd01
make -C "/media/leemeans/learning/Gitprojects/ltp/lib" -f "/media/leemeans/learning/Gitprojects/ltp/lib/Makefile" all
make[1]: ?????/media/leemeans/learning/Gitprojects/ltp/lib?
make[2]: ?????/media/leemeans/learning/Gitprojects/ltp/lib/tests?
make[2]: ??all????????
make[2]: ?????/media/leemeans/learning/Gitprojects/ltp/lib/tests?
make[2]: ?????/media/leemeans/learning/Gitprojects/ltp/lib/newlib_tests?
make[2]: ??all????????
make[2]: ?????/media/leemeans/learning/Gitprojects/ltp/lib/newlib_tests?
make[1]: ?????/media/leemeans/learning/Gitprojects/ltp/lib?
eventfd01 1 TCONF : eventfd01.c:733: test requires libaio and it's development packages
eventfd01 2 TCONF : eventfd01.c:733: Remaining cases not appropriate for configuration
After go through the internet, it turns out that I need confdefs.h which is generated by the configure script. I tried re-run the configure but it didn't helps too. I can't find the generated confdef.h!
Anybody have any ideas, please?
------------------
???????????
Wuhan Deepin Technology Co., Ltd.
???????Leemeans
??????????77??????B18?6?
???????????????28??????B?603?
??????????????????1610?
???www.deepin.org???????????
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20191031/b6fb0543/attachment.htm>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [LTP] Unable to run eventfd test, even the libaio-dev installed on debian 10.
2019-10-31 9:26 [LTP] Unable to run eventfd test, even the libaio-dev installed on debian 10 limingyu
@ 2019-10-31 9:36 ` Jan Stancek
2019-10-31 9:46 ` limingyu
0 siblings, 1 reply; 5+ messages in thread
From: Jan Stancek @ 2019-10-31 9:36 UTC (permalink / raw)
To: ltp
----- Original Message -----
> When I try to run eventfd testcase under testcases/kernel/syscalls, it turns
> out that I should install libaio-dev packages. But it didn't helps when I DO
> installed the package.
>
> leemeans@deepin:/media/leemeans/learning/Gitprojects/ltp/testcases/kernel/syscalls/eventfd$
> dpkg -l | grep libaioii libaio-dev:amd64 0.3.112-3 amd64 Linux kernel AIO
> access library - development files
> ii libaio1:amd64 0.3.112-3 amd64 Linux kernel AIO access library - shared
> library
> leemeans@deepin:/media/leemeans/learning/Gitprojects/ltp/testcases/kernel/syscalls/eventfd$
> make && sudo ./eventfd01
> make -C "/media/leemeans/learning/Gitprojects/ltp/lib" -f
> "/media/leemeans/learning/Gitprojects/ltp/lib/Makefile" all
> make[1]: ?????/media/leemeans/learning/Gitprojects/ltp/lib?
> make[2]: ?????/media/leemeans/learning/Gitprojects/ltp/lib/tests?
> make[2]: ??all????????
> make[2]: ?????/media/leemeans/learning/Gitprojects/ltp/lib/tests?
> make[2]: ?????/media/leemeans/learning/Gitprojects/ltp/lib/newlib_tests?
> make[2]: ??all????????
> make[2]: ?????/media/leemeans/learning/Gitprojects/ltp/lib/newlib_tests?
> make[1]: ?????/media/leemeans/learning/Gitprojects/ltp/lib?
> eventfd01 1 TCONF : eventfd01.c:733: test requires libaio and it's
> development packages
> eventfd01 2 TCONF : eventfd01.c:733: Remaining cases not appropriate for
> configuration
>
> After go through the internet, it turns out that I need confdefs.h which is
> generated by the configure script. I tried re-run the configure but it
> didn't helps too. I can't find the generated confdef.h!
>
> Anybody have any ideas, please?
>
After you run ./configure, look at config.log to see what *aio checks failed.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [LTP] Unable to run eventfd test, even the libaio-dev installed on debian 10.
2019-10-31 9:36 ` Jan Stancek
@ 2019-10-31 9:46 ` limingyu
2019-10-31 9:53 ` Jan Stancek
0 siblings, 1 reply; 5+ messages in thread
From: limingyu @ 2019-10-31 9:46 UTC (permalink / raw)
To: ltp
Thanks for your reply!
After I check the config.log, I think all check go into the right place, but confdefs.h didn't show up, it's sort of weird.
Some output from config.log:
configure:6159: checking libaio.h usability
configure:6159: gcc -c -g -O2 -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:6159: $? = 0
configure:6159: result: yes
configure:6159: checking libaio.h presence
configure:6159: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
configure:6159: $? = 0
configure:6159: result: yes
configure:6159: checking for libaio.h
configure:6159: result: yes
configure:6170: checking for io_setup in -laio
configure:6195: gcc -o conftest -g -O2 -D_FORTIFY_SOURCE=2 conftest.c -laio >&5
configure:6195: $? = 0
configure:6204: result: yes
configure:6218: checking io_set_eventfd is defined in aio library or aio header
I'm confused about the reason why I didn't got the confdefs.h. Is this the normal case or just happend to me?
BTW, I tried find . -name confdefs.h under ltp topdir, it gets nothing.
------------------
???????????
Wuhan Deepin Technology Co., Ltd.
???????Leemeans
??????????77??????B18?6?
???????????????28??????B?603?
??????????????????1610?
???www.deepin.org???????????
------------------ Original ------------------
From: "Jan Stancek";
Date: 2019?10?31?(???) ??5:36
To: "limingyu";
Cc: "LTP List"; "??";
Subject: Re: [LTP] Unable to run eventfd test, even the libaio-dev installed on debian 10.
----- Original Message -----
> When I try to run eventfd testcase under testcases/kernel/syscalls, it turns
> out that I should install libaio-dev packages. But it didn't helps when I DO
> installed the package.
>
> leemeans@deepin:/media/leemeans/learning/Gitprojects/ltp/testcases/kernel/syscalls/eventfd$
> dpkg -l | grep libaioii libaio-dev:amd64 0.3.112-3 amd64 Linux kernel AIO
> access library - development files
> ii libaio1:amd64 0.3.112-3 amd64 Linux kernel AIO access library - shared
> library
> leemeans@deepin:/media/leemeans/learning/Gitprojects/ltp/testcases/kernel/syscalls/eventfd$
> make && sudo ./eventfd01
> make -C "/media/leemeans/learning/Gitprojects/ltp/lib" -f
> "/media/leemeans/learning/Gitprojects/ltp/lib/Makefile" all
> make[1]: ?????/media/leemeans/learning/Gitprojects/ltp/lib?
> make[2]: ?????/media/leemeans/learning/Gitprojects/ltp/lib/tests?
> make[2]: ??all????????
> make[2]: ?????/media/leemeans/learning/Gitprojects/ltp/lib/tests?
> make[2]: ?????/media/leemeans/learning/Gitprojects/ltp/lib/newlib_tests?
> make[2]: ??all????????
> make[2]: ?????/media/leemeans/learning/Gitprojects/ltp/lib/newlib_tests?
> make[1]: ?????/media/leemeans/learning/Gitprojects/ltp/lib?
> eventfd01 1 TCONF : eventfd01.c:733: test requires libaio and it's
> development packages
> eventfd01 2 TCONF : eventfd01.c:733: Remaining cases not appropriate for
> configuration
>
> After go through the internet, it turns out that I need confdefs.h which is
> generated by the configure script. I tried re-run the configure but it
> didn't helps too. I can't find the generated confdef.h!
>
> Anybody have any ideas, please?
>
After you run ./configure, look at config.log to see what *aio checks failed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20191031/7abc5efa/attachment.htm>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [LTP] Unable to run eventfd test, even the libaio-dev installed on debian 10.
2019-10-31 9:46 ` limingyu
@ 2019-10-31 9:53 ` Jan Stancek
[not found] ` <tencent_01F277DA0DC3756E3C6BE5D9@qq.com>
0 siblings, 1 reply; 5+ messages in thread
From: Jan Stancek @ 2019-10-31 9:53 UTC (permalink / raw)
To: ltp
----- Original Message -----
> Thanks for your reply!
> After I check the config.log, I think all check go into the right place, but
> confdefs.h didn't show up, it's sort of weird.
> Some output from config.log:
> configure:6159: checking libaio.h usability
> configure:6159: gcc -c -g -O2 -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:6159: $? = 0
> configure:6159: result: yes
> configure:6159: checking libaio.h presence
> configure:6159: gcc -E -D_FORTIFY_SOURCE=2 conftest.c
> configure:6159: $? = 0
> configure:6159: result: yes
> configure:6159: checking for libaio.h
> configure:6159: result: yes
> configure:6170: checking for io_setup in -laio
> configure:6195: gcc -o conftest -g -O2 -D_FORTIFY_SOURCE=2 conftest.c -laio
> >&5
> configure:6195: $? = 0
> configure:6204: result: yes
> configure:6218: checking io_set_eventfd is defined in aio library or aio
> header
Above looks OK. Please do also "make clean" on everything, just to be sure
you're not using old binaries. I don't see eventfd01 being rebuilt in your
first email.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [LTP] Unable to run eventfd test, even the libaio-dev installed on debian 10.
[not found] ` <tencent_01F277DA0DC3756E3C6BE5D9@qq.com>
@ 2019-10-31 14:08 ` Jan Stancek
0 siblings, 0 replies; 5+ messages in thread
From: Jan Stancek @ 2019-10-31 14:08 UTC (permalink / raw)
To: ltp
----- Original Message -----
> It works, thanks a lot.
Reporter answered privately it's resolved.
>
> > Above looks OK. Please do also "make clean" on everything, just to be sure
> > you're not using old binaries. I don't see eventfd01 being rebuilt in your
> > first email.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-10-31 14:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-31 9:26 [LTP] Unable to run eventfd test, even the libaio-dev installed on debian 10 limingyu
2019-10-31 9:36 ` Jan Stancek
2019-10-31 9:46 ` limingyu
2019-10-31 9:53 ` Jan Stancek
[not found] ` <tencent_01F277DA0DC3756E3C6BE5D9@qq.com>
2019-10-31 14:08 ` Jan Stancek
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.