https://bugs.freedesktop.org/show_bug.cgi?id=62055

          Priority: medium
            Bug ID: 62055
          Assignee: [email protected]
           Summary: Build fails - needs sys/epoll and then SO_PEERCRED.
          Severity: blocker
    Classification: Unclassified
                OS: NetBSD
          Reporter: [email protected]
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: 1.0.5
         Component: wayland
           Product: Wayland

Created attachment 76214
  --> https://bugs.freedesktop.org/attachment.cgi?id=76214&action=edit
Wayland build log (without modifying wayland-os.c)

Needs sys/epoll.h, which seems a Linuxism. When changed to use just poll.h, the
build continues and further fails with:

Making all in src
  CC       wayland-os.lo
wayland-os.c: In function 'wl_os_epoll_create_cloexec':
wayland-os.c:145:2: warning: implicit declaration of function 'epoll_create'
  CCLD     libwayland-util.la
  CCLD     wayland-scanner
/usr/pkg/bin/bmake  all-am
  CC       wayland-protocol.lo
  CC       wayland-server.lo
wayland-server.c:78:15: error: field 'ucred' has incomplete type
wayland-server.c: In function 'wl_client_create':
wayland-server.c:350:33: error: 'SO_PEERCRED' undeclared (first use in this
function)
wayland-server.c:350:33: note: each undeclared identifier is reported only once
for each function it appears in
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to