[Date Prev][Date Next]
Re: Compile problems with 2.4.16 and Fedora 10
David Hawes wrote:
Don't add it indiscriminately. Just define it in the getpeereid.c file;
playing with _GNU preprocessor symbols has been known to break a lot of builds
in the past, which is why we don't define it by default.
Rick Stevens wrote:
"struct ucred" is defined in<asm/socket.h> and the compile doesn't seem
to be picking that up. Never had this issue with 2.4.10 or 2.4.11.
Add -D_GNU_SOURCE to your CPPFLAGS:
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/