inode.h:88: error: syntax error before "cdev_t"

walt wa1ter at myrealbox.com
Tue Oct 3 13:16:43 PDT 2006


On Tue, 3 Oct 2006, walt wrote:

> This is while compiling pkgsrc libgtop2 on -current:
>
> In file included from procmem.c:44:
> /usr/include/ufs/ufs/inode.h:88: error: syntax error before "cdev_t"

> Any guesses?

Here is my guess:

# grep -r ufs1_ino_t /usr/include/*
/usr/include/fs/ufs/dinode.h:typedef __uint32_t ufs1_ino_t;
/usr/include/fs/ffs/dinode.h:typedef __uint32_t ufs1_ino_t;
/usr/include/ufs/ufs/dinode.h:typedef __uint32_t        ufs1_ino_t;
/usr/include/ufs/ffs/dinode.h:typedef __uint32_t        ufs1_ino_t;
/usr/include/vfs/ufs/dinode.h:typedef __uint32_t        ufs1_ino_t;
/usr/include/vfs/ffs/dinode.h:typedef __uint32_t        ufs1_ino_t;

AFAICT, ufs1_ino_t is never defined anywhere with a typedef.  Would
this be flagged at compile time as a 'syntax error'?





More information about the Bugs mailing list