Messages in this thread | | | From | "Khimenko Victor" <> | Date | Sat, 3 Apr 1999 21:22:31 +0400 (MSD) | Subject | Re: un.h (2.2.5) breaks bind 8.2 compile? |
| |
In <Pine.LNX.4.05.9904031157270.8316-100000@rd.novaone.dynip.com> R Dicaire (ardy@novaone.dynip.com) wrote: > Seems bind 8.2 compile is choking on sa_family_t in > /usr/src/linux/include/linux/un.h:
> from un.h kernel 2.2.5:
> #ifndef _LINUX_UN_H > #define _LINUX_UN_H
> #define UNIX_PATH_MAX 108
> struct sockaddr_un { > sa_family_t sun_family; /* AF_UNIX */ > char sun_path[UNIX_PATH_MAX]; /* pathname */ > };
> #endif /* _LINUX_UN_H */
> I changed "sa_family_t" to "unsigned short" and the bind compile doesn't > choke on sa_family_t anymore, odd thing is this compile doesn't > choke on a Red Hat machine, I run a Slackware 3.6 box. I have tried > to compile on other Slackware 3.6 kernel 2.2.5 boxes, and I get same > error.
> Is sa_family_t a glibc thing?
No. Just glibc does not use /usr/src/linux/kernel/linux/*.h files :-)) In user program compilation time at least...
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |