From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199707061656.JAA09736@panda.mosberger> Date: Sun, 6 Jul 1997 09:56:51 -0700 From: David Mosberger-Tang Subject: e9025461@student.tuwien.ac.at,axp-list@redhat.com Christian> All I get is: Christian> In file included from /usr/include/statfsbuf.h:1, Christian> from /usr/include/sys/statfs.h:26, Christian> from /usr/include/sys/vfs.h:4, Christian> from kfsstatus.cpp:34: Christian> /usr/include/asm/statfs.h:20: syntax error before `;' Christian> I finally discovered that the problem is "sys/statfs.h". -- This Christian> file can only be compiled if you compile with the option Christian> "-D_LOOSE_KERNEL_NAMES". Christian> This causes the setting of the "__KERNEL_STRICT_NAMES" -- define Christian> to be suppressed in "features.h". -- If "__KERNEL_STRICT_NAMES" Christian> is set, "asm/statfs.h" fails to declare the type "__kernel_fsid_t" Christian> which is causing the error message. Hmmh, looks like a typo. I'm pretty certain the intent was for to look like it does after applying this patch. --- asm/statfs.h~ Thu Jun 12 15:18:28 1997 +++ asm/statfs.h Sun Jul 6 09:52:17 1997 @@ -1,9 +1,9 @@ #ifndef _ALPHA_STATFS_H #define _ALPHA_STATFS_H -#ifndef __KERNEL_STRICT_NAMES +#include -#include +#ifndef __KERNEL_STRICT_NAMES typedef __kernel_fsid_t fsid_t; ---- The reason this went undetected for so long is most likely that most programs that include include beforehand, in which case the problem vanishes. --david -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com