Bug 23346 - telepathy-gabble-0.31: credentials compilation problem
Summary: telepathy-gabble-0.31: credentials compilation problem
Status: RESOLVED DUPLICATE of bug 22968
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: Other NetBSD
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-16 11:14 UTC by Thomas Klausner
Modified: 2009-08-24 13:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Thomas Klausner 2009-08-16 11:14:36 UTC
gibber-unix-transport.c doesn't compile on NetBSD-5.99.15/amd64:
gibber-unix-transport.c: In function 'gibber_unix_transport_send_credentials':
gibber-unix-transport.c:207: error: invalid application of 'sizeof' to incomplete type 'struct ucred'
gibber-unix-transport.c:225: error: invalid application of 'sizeof' to incomplete type 'struct ucred'
gibber-unix-transport.c:227: error: 'SCM_CREDENTIALS' undeclared (first use in this function)
gibber-unix-transport.c:227: error: (Each undeclared identifier is reported only once
gibber-unix-transport.c:227: error: for each function it appears in.)
gibber-unix-transport.c:230: error: dereferencing pointer to incomplete type
gibber-unix-transport.c:231: error: dereferencing pointer to incomplete type
gibber-unix-transport.c:232: error: dereferencing pointer to incomplete type
gibber-unix-transport.c: In function 'gibber_unix_transport_read':
gibber-unix-transport.c:259: error: invalid application of 'sizeof' to incomplete type 'struct ucred'
gibber-unix-transport.c:272: error: 'SO_PASSCRED' undeclared (first use in this function)
gibber-unix-transport.c:329: error: dereferencing pointer to incomplete type
gibber-unix-transport.c:330: error: dereferencing pointer to incomplete type
gibber-unix-transport.c:331: error: dereferencing pointer to incomplete type
Comment 1 Simon McVittie 2009-08-24 13:08:26 UTC
Same problem as on Darwin. Could you try out the patch seen on that bug and see whether it helps you, please?

If you're enough of a BSD guru to make credentials passing actually work on *BSD/Darwin, patches would be very welcome; we currently have no developers running BSD.

*** This bug has been marked as a duplicate of bug 22968 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.