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

walt wa1ter at myrealbox.com
Tue Oct 3 12:50:46 PDT 2006


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"

Here is a snippet of inod.h up to line 88:
struct inode {
        struct inode    *i_next;/* Hash chain */
        struct  vnode  *i_vnode;/* Vnode associated with this inode. */
        struct  vnode  *i_devvp;/* Vnode for block I/O. */
        uint32_t i_flag;        /* flags, see below */
        cdev_t    i_dev;        /* Device associated with the inode. */

I can't spot any syntax error there, so maybe the error message is
misleading?  Any guesses?






More information about the Bugs mailing list