H Tomi,
To compile giis from source,you need kernel source codes too. Because
giis uses ext3 File system header files.
Sample error:
giis.h:18:28: error: linux/ext3_fs.h: No such file or directory
In case if you want to install giis without kernel codes ,I have also
provided binary version along with the source code , I believe you can
install giis binary
(Please refer INSTALL file for more details)
Any problems or issues,don't hesitate to post it here :)
Cheers,
Lakshmipathi.G
On Mar 10, 10:05 am, J_Tom_Moon_79 <jtm.moon.forum.u...@gmail.com>
wrote:
> Hi,
> I tried to compile and install giis on my Fedora Core 10 i386
> machine. The compilation failed.
> Here is the output:
> ~/Downloads/giis_4.4/src 21:55:24 on Mon Mar 09
> localhost[1336]: ./configure
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for main in -lm... yes
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for memset... yes
> checking for mkdir... yes
> checking for rmdir... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating config.h
> config.status: config.h is unchanged
> ~/Downloads/giis_4.4/src 21:55:41 on Mon Mar 09
> localhost[1337]: make
> Compile main.c In file included from main.c:8:
> giis.h:18:28: error: linux/ext3_fs.h: No such file or directory
> In file included from main.c:8:
> giis.h:75: error: field ‘sb’ has incomplete type
> giis.h:76: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_super_block’
> giis.h:80: error: field ‘gd’ has incomplete type
> giis.h:81: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_group_desc’
> giis.h:85: error: field ‘in’ has incomplete type
> giis.h:86: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_inode’
> giis.h:89: error: field ‘de’ has incomplete type
> giis.h:90: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> giis.h:142: error: ‘EXT3_N_BLOCKS’ undeclared here (not in a function)
> main.c:371:11: warning: unknown escape sequence: '\040'
> main.c:371:11: warning: unknown escape sequence: '\040'
> Failed
> Compile dir.c In file included from dir.c:8:
> giis.h:18:28: error: linux/ext3_fs.h: No such file or directory
> In file included from dir.c:8:
> giis.h:75: error: field ‘sb’ has incomplete type
> giis.h:76: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_super_block’
> giis.h:80: error: field ‘gd’ has incomplete type
> giis.h:81: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_group_desc’
> giis.h:85: error: field ‘in’ has incomplete type
> giis.h:86: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_inode’
> giis.h:89: error: field ‘de’ has incomplete type
> giis.h:90: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> giis.h:142: error: ‘EXT3_N_BLOCKS’ undeclared here (not in a function)
> dir.c: In function ‘read_dir’:
> dir.c:47: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> dir.c: In function ‘show_dir’:
> dir.c:488: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> dir.c:501: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> dir.c:507: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> dir.c:513: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> dir.c:519: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> dir.c:527: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> dir.c:533: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> dir.c:539: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> dir.c:545: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> dir.c:551: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> dir.c:557: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> dir.c:563: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> Failed
> Compile file.c In file included from file.c:9:
> giis.h:18:28: error: linux/ext3_fs.h: No such file or directory
> In file included from file.c:9:
> giis.h:75: error: field ‘sb’ has incomplete type
> giis.h:76: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_super_block’
> giis.h:80: error: field ‘gd’ has incomplete type
> giis.h:81: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_group_desc’
> giis.h:85: error: field ‘in’ has incomplete type
> giis.h:86: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_inode’
> giis.h:89: error: field ‘de’ has incomplete type
> giis.h:90: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> giis.h:142: error: ‘EXT3_N_BLOCKS’ undeclared here (not in a function)
> file.c:782:18: warning: unknown escape sequence '\/'
> file.c: In function ‘read_conf_file_inum’:
> file.c:982: warning: type defaults to ‘int’ in declaration of
> ‘new_dir_added’
> Failed
> Compile get_it_i_say.c In file included from get_it_i_say.c:9:
> giis.h:18:28: error: linux/ext3_fs.h: No such file or directory
> In file included from get_it_i_say.c:9:
> giis.h:75: error: field ‘sb’ has incomplete type
> giis.h:76: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_super_block’
> giis.h:80: error: field ‘gd’ has incomplete type
> giis.h:81: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_group_desc’
> giis.h:85: error: field ‘in’ has incomplete type
> giis.h:86: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_inode’
> giis.h:89: error: field ‘de’ has incomplete type
> giis.h:90: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> giis.h:142: error: ‘EXT3_N_BLOCKS’ undeclared here (not in a function)
> Failed
> Compile group.c In file included from group.c:8:
> giis.h:18:28: error: linux/ext3_fs.h: No such file or directory
> In file included from group.c:8:
> giis.h:75: error: field ‘sb’ has incomplete type
> giis.h:76: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_super_block’
> giis.h:80: error: field ‘gd’ has incomplete type
> giis.h:81: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_group_desc’
> giis.h:85: error: field ‘in’ has incomplete type
> giis.h:86: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_inode’
> giis.h:89: error: field ‘de’ has incomplete type
> giis.h:90: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> giis.h:142: error: ‘EXT3_N_BLOCKS’ undeclared here (not in a function)
> group.c: In function ‘get_group_desc’:
> group.c:21: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_group_desc’
> group.c: In function ‘eye_on_gd’:
> group.c:47: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_group_desc’
> Failed
> Compile init.c In file included from init.c:8:
> giis.h:18:28: error: linux/ext3_fs.h: No such file or directory
> In file included from init.c:8:
> giis.h:75: error: field ‘sb’ has incomplete type
> giis.h:76: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_super_block’
> giis.h:80: error: field ‘gd’ has incomplete type
> giis.h:81: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_group_desc’
> giis.h:85: error: field ‘in’ has incomplete type
> giis.h:86: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_inode’
> giis.h:89: error: field ‘de’ has incomplete type
> giis.h:90: error: invalid application of ‘sizeof’ to incomplete type
> ‘struct ext3_dir_entry_2’
> giis.h:142: error: ‘EXT3_N_BLOCKS’ undeclared here (not in a function)
> init.c: In function ‘init’:
> init.c:17: warning: unused variable ‘buf’
> init.c:16: warning: unused variable ‘i’
...
read more »