bugzilla-daemon at mindrot.org
2003-Jan-09 18:38 UTC
[Bug 421] compile error on Debian slink
http://bugzilla.mindrot.org/show_bug.cgi?id=421 ------- Additional Comments From carl at chage.com 2003-01-10 05:38 ------- I noticed the same problem with a compile error where ucred is undefined in SUSE Linux 6.1. The problem is the test for SO_PEERCRED-- the feature is not available even though the define is present. In my linux/socket.h there is a "#define SCM_CREDENTIALS" next to the ucred definition, so the change from #if defined(SO_PEERCRED) to #if defined(SO_PEERCRED) && defined(SCM_CREDENTIALS) solves the compile problem, but I don't know which other distributions have the same. It may be SCM_CREDS or SCM_RIGHTS. Perhaps the only good way to check is with a new autoconfigure variable. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Jan-10 02:57 UTC
[Bug 421] compile error on Debian slink
http://bugzilla.mindrot.org/show_bug.cgi?id=421 ------- Additional Comments From fong at pigtail.net 2003-01-10 13:57 ------- #if defined(SO_PEERCRED) && defined(SCM_CREDENTIALS) also works with Debian Slink. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Maybe Matching Threads
- [Bug 421] compile error on Debian slink
- [Bug 536] no access to tty on Linux 2.0 and 2.4+libc5
- [PATCH] implementation of getpeereid() for Solaris
- [Bug 421] New: compile error on Debian slink
- Re: [PATCH nbdkit v2 1/3] server: Add new APIs for reading the client’s SO_PEERCRED.