Mykola Golub wrote: > In file included from /usr/include/linux/fs.h:272, > from chardev.c:20: > /usr/include/linux/hpfs_fs_i.h:5: parse error before `ino_t' > /usr/include/linux/hpfs_fs_i.h:5: warning: no semicolon at end of struct or union Вероятно там запись типа: struct times { ... } ino_t; Попробуй переделать так: struct times { ... }; struct times ino_t;