bugzilla-daemon at mindrot.org
2002-Oct-25 04:04 UTC
[Bug 421] compile error on Debian slink
http://bugzilla.mindrot.org/show_bug.cgi?id=421 ------- Additional Comments From mouring at eviladmin.org 2002-10-25 14:03 ------- [.. Important part from URL..] gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. - I/usr/local/ssl/include -DHAVE_CONFIG_H -c bsd-getpeereid.c bsd-getpeereid.c: In function `getpeereid': bsd-getpeereid.c:35: storage size of `cred' isn't known bsd-getpeereid.c:35: warning: unused variable `cred' make[1]: *** [bsd-getpeereid.o] Error 1 I dealt with this recently on an old Redhat 6.2 Alpha box. Your glibc is out of date. You more than likely have 2.0. Which does not include the correct headers from kernel space (back when /usr/includes/linux/ was linked to /usr/src/linux/include/). The hack is to just do a #undef SO_PEERCRED at the top of the bsd-getpeereid.c file. As for a better solution. I'm not sure. I don't want to include <linux/*> stuff. That I think is the wrong solution. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-Oct-25 06:06 UTC
[Bug 421] compile error on Debian slink
http://bugzilla.mindrot.org/show_bug.cgi?id=421 fong at pigtail.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From fong at pigtail.net 2002-10-25 16:06 ------- Due to old glibc in Debian slink. Work around tips from anonymous guru: add #undef SO_PEERCRED at the top of the bsd-getpeereid.c ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-Oct-25 13:15 UTC
[Bug 421] compile error on Debian slink
http://bugzilla.mindrot.org/show_bug.cgi?id=421 mouring at eviladmin.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Additional Comments From mouring at eviladmin.org 2002-10-25 23:15 ------- This bug still exists in the source. Don't close it until a final decision is made about how it iwll be handled in the CVS tree. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Possibly Parallel Threads
- [Bug 421] compile error on Debian slink
- [PATCH] implementation of getpeereid() for Solaris
- [Bug 536] no access to tty on Linux 2.0 and 2.4+libc5
- Joining a Windows Server 2008 / 2008 R2 DC to a Samba AD - ISSUE - The RPC server is unavailable
- [Bug 421] New: compile error on Debian slink