$SUBJECT is a userspace tool, but includes kernel headers. This small obvious patch against 2.6.0-test1 should fix it. -- ifenslave.c +++ ifenslave.c @@ -97,8 +97,7 @@ include <sys/types.h> include <
This patch is absolutely senseless, you eliminate two such includes but three more still remain. This whole anti-kernel-headers-in-userspace thing is a total shamans dance and not founded in reality.
* David S. Miller <davem@xxxxxxxxxx> [Jul 16. 2003 14:52]: Urgs. Problem is some of these includes are different on different archs, and causes the thing to miscompile. How to fix that then? -- Mads
Nothing arch specific resides in linux/if.h :-) This means the problem eminates from asm/*.h headers which is where the fixes belong. What exactly is the error you get on ia64?
* David S. Miller <davem@xxxxxxxxxx> [Jul 16. 2003 15:21]: Yes. What fix, would you propose? a bunch of compile errors like the following: In file included from /usr/src/linux/include/asm/system.h:19
There ARE definitions that differ between kernel and userspace. Thinking they are the same is not founded in reality. And thinking that all of userspace is instantly recompiled against against the la
Sure, but none of the one's were talking about here. I'm not. GLIBC is munging netlink messages on the way out via sendmsg()? That'd be news to me. :-)
$SUBJECT is a userspace tool, but includes kernel headers. This small obvious patch against 2.6.0-test1 should fix it. -- ifenslave.c +++ ifenslave.c @@ -97,8 +97,7 @@ include <sys/types.h> include <
This patch is absolutely senseless, you eliminate two such includes but three more still remain. This whole anti-kernel-headers-in-userspace thing is a total shamans dance and not founded in reality.
* David S. Miller <davem@xxxxxxxxxx> [Jul 16. 2003 14:52]: Urgs. Problem is some of these includes are different on different archs, and causes the thing to miscompile. How to fix that then? -- Mads
Nothing arch specific resides in linux/if.h :-) This means the problem eminates from asm/*.h headers which is where the fixes belong. What exactly is the error you get on ia64?
* David S. Miller <davem@xxxxxxxxxx> [Jul 16. 2003 15:21]: Yes. What fix, would you propose? a bunch of compile errors like the following: In file included from /usr/src/linux/include/asm/system.h:19
There ARE definitions that differ between kernel and userspace. Thinking they are the same is not founded in reality. And thinking that all of userspace is instantly recompiled against against the la
Sure, but none of the one's were talking about here. I'm not. GLIBC is munging netlink messages on the way out via sendmsg()? That'd be news to me. :-)