Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build recvmmsg01.c #727

Closed
Cypresslin opened this issue Sep 23, 2020 · 2 comments
Closed

Failed to build recvmmsg01.c #727

Cypresslin opened this issue Sep 23, 2020 · 2 comments

Comments

@Cypresslin
Copy link
Contributor

Build failed for recvmmsg01.c on Ubuntu Bionic 5.4.0-49.53~18.04.1:

    recvmmsg01.c: In function ‘do_test’:
    recvmmsg01.c:86:9: error: request for member ‘type’ in something not a structure or union
    timeout.type = tv->ts_type;
    ^
    recvmmsg01.c: At top level:
    recvmmsg01.c:127:1: warning: missing initializer for field ‘caps’ of ‘struct tst_test’ [-Wmissing-field-initializers]
    };
    ^
    In file included from ../../../../include/tst_timer.h:19:0,
    from ../../../../include/time64_variants.h:20,
    from ../sendmmsg/sendmmsg.h:9,
    from recvmmsg01.c:13:
    ../../../../include/tst_test.h:248:18: note: ‘caps’ declared here
    struct tst_cap *caps;
    ^~~~
    make[4]: *** [recvmmsg01] Error 1
    make[3]: *** [all] Error 2
    make[2]: *** [all] Error 2
    make[1]: *** [all] Error 2
    make: *** [testcases-all] Error 

Introduced in: 135af8e ("syscalls/{send|recv}mmsg: add a test case for timeout and errno test")

@pevik
Copy link
Member

pevik commented Sep 23, 2020

@pevik
Copy link
Member

pevik commented Sep 23, 2020

You can add your Reported-by or Review-by tag on the patch on mailing list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants