+
Skip to content

Build issue with Ubuntu 4.15 / 5.4 with commit dee17d04b #474

@Cypresslin

Description

@Cypresslin

Hello,
We found a build failure with commit dee17d0 on a test unit running Ubuntu Bionic 5.4.0-221.241~18.04.1

The build has failed with:

$ make check-build
make --quiet --no-print-directory all-recursive
Making all in include
Making all in src
Making all in .
  CC       libseccomp_la-api.lo
  CC       libseccomp_la-system.lo
In file included from system.c:29:0:
system.h:201:15: warning: ‘struct seccomp_notif_resp’ declared inside parameter list will not be visible outside of this definition or declaration
        struct seccomp_notif_resp **resp);
               ^~~~~~~~~~~~~~~~~~
system.h:200:29: warning: ‘struct seccomp_notif’ declared inside parameter list will not be visible outside of this definition or declaration
 int sys_notify_alloc(struct seccomp_notif **req,
                             ^~~~~~~~~~~~~
system.h:202:39: warning: ‘struct seccomp_notif’ declared inside parameter list will not be visible outside of this definition or declaration
 int sys_notify_receive(int fd, struct seccomp_notif *req);
                                       ^~~~~~~~~~~~~
system.h:203:39: warning: ‘struct seccomp_notif_resp’ declared inside parameter list will not be visible outside of this definition or declaration
 int sys_notify_respond(int fd, struct seccomp_notif_resp *resp);
                                       ^~~~~~~~~~~~~~~~~~
system.c:472:5: error: conflicting types for ‘sys_notify_alloc’
 int sys_notify_alloc(struct seccomp_notif **req,
     ^~~~~~~~~~~~~~~~
In file included from system.c:29:0:
system.h:200:5: note: previous declaration of ‘sys_notify_alloc’ was here
 int sys_notify_alloc(struct seccomp_notif **req,
     ^~~~~~~~~~~~~~~~
system.c:517:5: error: conflicting types for ‘sys_notify_receive’
 int sys_notify_receive(int fd, struct seccomp_notif *req)
     ^~~~~~~~~~~~~~~~~~
In file included from system.c:29:0:
system.h:202:5: note: previous declaration of ‘sys_notify_receive’ was here
 int sys_notify_receive(int fd, struct seccomp_notif *req);
     ^~~~~~~~~~~~~~~~~~
system.c:538:5: error: conflicting types for ‘sys_notify_respond’
 int sys_notify_respond(int fd, struct seccomp_notif_resp *resp)
     ^~~~~~~~~~~~~~~~~~
In file included from system.c:29:0:
system.h:203:5: note: previous declaration of ‘sys_notify_respond’ was here
 int sys_notify_respond(int fd, struct seccomp_notif_resp *resp);
     ^~~~~~~~~~~~~~~~~~
Makefile:686: recipe for target 'libseccomp_la-system.lo' failed
Makefile:887: recipe for target 'all-recursive' failed
Makefile:521: recipe for target 'all-recursive' failed
Makefile:430: recipe for target 'all' failed
make[3]: *** [libseccomp_la-system.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

This applies to Ubuntu Bionic 4.15.0-212-generic as well.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载