[Wayland-bugs] [Bug 62055] New: Build fails - needs sys/epoll and then SO_PEERCRED.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 9 03:33:07 PST 2013


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

          Priority: medium
            Bug ID: 62055
          Assignee: wayland-bugs at lists.freedesktop.org
           Summary: Build fails - needs sys/epoll and then SO_PEERCRED.
          Severity: blocker
    Classification: Unclassified
                OS: NetBSD
          Reporter: lolbugzilla at mailinator.com
          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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20130309/e28044af/attachment.html>


More information about the Wayland-bugs mailing list