giis 4.4 compilation failed on FC10 i386

40 views
Skip to first unread message

J_Tom_Moon_79

unread,
Mar 10, 2009, 1:05:02 AM3/10/09
to giis
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’
init.c:16: warning: unused variable ‘temp_fd’
init.c: In function ‘search4super_block’:
init.c:127: warning: too few arguments for format
init.c:138: error: invalid application of ‘sizeof’ to incomplete type
‘struct ext3_super_block’
init.c: In function ‘search4group_desc’:
init.c:188: error: invalid application of ‘sizeof’ to incomplete type
‘struct ext3_group_desc’
Failed
Compile inode.c In file included from inode.c:8:
giis.h:18:28: error: linux/ext3_fs.h: No such file or directory
In file included from inode.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)
inode.c: In function ‘find_inode_offset’:
inode.c:19: error: invalid application of ‘sizeof’ to incomplete type
‘struct ext3_group_desc’
Failed
Compile searchnupdate.c In file included from searchnupdate.c:8:
giis.h:18:28: error: linux/ext3_fs.h: No such file or directory
In file included from searchnupdate.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)
searchnupdate.c: In function ‘search4dir’:
searchnupdate.c:106: warning: statement with no effect
searchnupdate.c:107: warning: statement with no effect
Failed
Compile uninit.c In file included from uninit.c:9:
giis.h:18:28: error: linux/ext3_fs.h: No such file or directory
In file included from uninit.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
Linking giis gcc: main.o: No such file or directory
gcc: dir.o: No such file or directory
gcc: file.o: No such file or directory
gcc: get_it_i_say.o: No such file or directory
gcc: group.o: No such file or directory
gcc: init.o: No such file or directory
gcc: inode.o: No such file or directory
gcc: searchnupdate.o: No such file or directory
gcc: uninit.o: No such file or directory
Failed
All Done.


lakshmi

unread,
Mar 10, 2009, 3:35:18 AM3/10/09
to giis
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:
Reply all
Reply to author
Forward
0 new messages