venkat@desktop:~/workspace/semFS/src/driver$ make clean
/bin/rm -f semfs ext2fs.o semfs.o xml.o
venkat@desktop:~/workspace/semFS/src/driver$ make
gcc -g -O2 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I. -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c ext2fs.c
In file included from ext2fs.c:11:
semfs.h:15:27: error: ext2fs/ext2fs.h: No such file or directory
semfs.h:16:28: error: ext2fs/ext2_fs.h: No such file or directory
In file included from ext2fs.c:11:
semfs.h:21: error: expected specifier-qualifier-list before ext2_filsys
semfs.h:48: error: expected specifier-qualifier-list before errcode_t
semfs.h:61: error: expected =, ,, ;, asm or __attribute__ before semfs_ino_t
semfs.h:65: error: expected specifier-qualifier-list before semfs_ino_t
semfs.h:70: error: expected =, ,, ;, asm or __attribute__ before semfs_file_t
semfs.h:120: error: expected ) before struct
semfs.h:122: error: expected ) before struct
semfs.h:123: error: expected ) before struct
semfs.h:125: error: expected ) before const
semfs.h:127: error: expected ) before int
semfs.h:128: error: expected ) before const
semfs.h:129: error: expected =, ,, ;, asm or __attribute__ before do_open
semfs.h:130: error: expected ) before const
semfs.h:132: warning: parameter names (without types) in function declaration
semfs.h:133: error: expected ) before const
semfs.h:134: error: expected ) before const
semfs.h:135: error: expected declaration specifiers or ... before ext2_ino_t
semfs.h:136: error: expected declaration specifiers or ... before ext2_ino_t
semfs.h:141: error: expected ) before const
semfs.h:142: error: expected ) before const
semfs.h:144: error: expected ) before struct
semfs.h:151: warning: parameter names (without types) in function declaration
ext2fs.c:24: error: expected ) before ino
ext2fs.c:41: error: expected ) before fs
ext2fs.c:52: error: expected ) before fs
ext2fs.c: In function ext2_file_type:
ext2fs.c:70: error: EXT2_FT_REG_FILE undeclared (first use in this function)
ext2fs.c:70: error: (Each undeclared identifier is reported only once
ext2fs.c:70: error: for each function it appears in.)
ext2fs.c:73: error: EXT2_FT_DIR undeclared (first use in this function)
ext2fs.c:76: error: EXT2_FT_CHRDEV undeclared (first use in this function)
ext2fs.c:79: error: EXT2_FT_BLKDEV undeclared (first use in this function)
ext2fs.c:82: error: EXT2_FT_SYMLINK undeclared (first use in this function)
ext2fs.c:85: error: EXT2_FT_FIFO undeclared (first use in this function)
ext2fs.c:88: error: EXT2_FT_SOCK undeclared (first use in this function)
ext2fs.c: At top level:
ext2fs.c:93: error: expected ) before fs
ext2fs.c:99: error: expected ) before fs
ext2fs.c:120: error: expected ) before fs
ext2fs.c:132: error: expected =, ,, ;, asm or __attribute__ before do_open
ext2fs.c:147: error: expected ) before fs
ext2fs.c:198: error: expected ) before fs
ext2fs.c:208: error: expected ) before fs
ext2fs.c:229: error: expected ) before fs
ext2fs.c:250: error: expected ) before fs
ext2fs.c:291: error: expected declaration specifiers or ... before ext2_ino_t
ext2fs.c: In function do_read:
ext2fs.c:294: error: errcode_t undeclared (first use in this function)
ext2fs.c:294: error: expected ; before rc
ext2fs.c:295: error: __u64 undeclared (first use in this function)
ext2fs.c:295: error: expected ; before pos
ext2fs.c:300: error: rc undeclared (first use in this function)
ext2fs.c:300: error: pos undeclared (first use in this function)
ext2fs.c: At top level:
ext2fs.c:315: error: expected declaration specifiers or ... before ext2_ino_t
ext2fs.c: In function do_write:
ext2fs.c:318: error: errcode_t undeclared (first use in this function)
ext2fs.c:318: error: expected ; before rc
ext2fs.c:319: error: __u64 undeclared (first use in this function)
ext2fs.c:319: error: expected ; before pos
ext2fs.c:320: error: storage size of inode isnt known
ext2fs.c:321: error: rc undeclared (first use in this function)
ext2fs.c:321: error: pos undeclared (first use in this function)
ext2fs.c:333: error: struct ext2_file has no member named fs
ext2fs.c:333: error: ino undeclared (first use in this function)
ext2fs.c: In function do_file_flush:
ext2fs.c:343: error: errcode_t undeclared (first use in this function)
ext2fs.c:343: error: expected ; before rc
ext2fs.c:344: error: rc undeclared (first use in this function)
ext2fs.c: At top level:
ext2fs.c:355: error: expected ) before fs
ext2fs.c:390: error: expected ) before fs
ext2fs.c:398: error: expected ) before fs
ext2fs.c:422: error: expected specifier-qualifier-list before ext2_ino_t
ext2fs.c:426: error: expected ) before dir
ext2fs.c:446: error: expected ) before fs
make: *** [ext2fs.o] Error 1