bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compile error with parted-1.4.17


From: Ahmed El-Mahmoudy
Subject: Re: compile error with parted-1.4.17
Date: Sat, 11 Aug 2001 07:38:40 +0300 (EEST)

I am using a Linux kernel-2.4.4, GCC-3.0, Glibc-2.2 system. When compiling
parted-1.4.17, I got this error :

make[3]: Entering directory `/usr2/src/parted-1.4.17/libparted/fs_ext2'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. 
-I../../include     -D_REENTRANT -D_FILE_OFFSET_BITS=64 
-DLOCALEDIR="\"/usr/local/share/locale\"" 
-DLOCALEDIR="\"/usr/local/share/locale\"" -W -Wall -Wno-unused -Wno-switch 
-Werror -c ext2.c
../../libtool: test: =: unary operator expected
rm -f .libs/ext2.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -D_REENTRANT 
-D_FILE_OFFSET_BITS=64 -DLOCALEDIR=\"/usr/local/share/locale\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -W -Wall -Wno-unused -Wno-switch 
-Werror -c ext2.c  -fPIC -DPIC -o .libs/ext2.lo
In file included from ext2.h:53,
                 from ext2.c:28:
ext2_fs.h:81: parse error before "inode"
cc1: warnings being treated as errors
ext2_fs.h:81: warning: no semicolon at end of struct or union
ext2_fs.h:82: warning: type defaults to `int' in declaration of `rec_len'
ext2_fs.h:82: warning: data definition has no type or storage class
ext2_fs.h:83: warning: type defaults to `int' in declaration of `name_len'
ext2_fs.h:83: warning: data definition has no type or storage class
ext2_fs.h:84: warning: type defaults to `int' in declaration of `file_type'
ext2_fs.h:84: warning: data definition has no type or storage class
ext2_fs.h:86: parse error before '}' token
ext2_fs.h:90: parse error before "bg_block_bitmap"
ext2_fs.h:90: warning: no semicolon at end of struct or union
ext2_fs.h:91: warning: type defaults to `int' in declaration of 
`bg_inode_bitmap'
ext2_fs.h:91: warning: data definition has no type or storage class
ext2_fs.h:92: warning: type defaults to `int' in declaration of `bg_inode_table'
ext2_fs.h:92: warning: data definition has no type or storage class
ext2_fs.h:93: warning: type defaults to `int' in declaration of 
`bg_free_blocks_count'
ext2_fs.h:93: warning: data definition has no type or storage class
ext2_fs.h:94: warning: type defaults to `int' in declaration of 
`bg_free_inodes_count'
ext2_fs.h:94: warning: data definition has no type or storage class
ext2_fs.h:95: warning: type defaults to `int' in declaration of 
`bg_used_dirs_count'
ext2_fs.h:95: warning: data definition has no type or storage class
ext2_fs.h:96: warning: type defaults to `int' in declaration of `bg_pad'
ext2_fs.h:96: warning: data definition has no type or storage class
ext2_fs.h:97: warning: type defaults to `int' in declaration of `bg_reserved'
ext2_fs.h:97: warning: data definition has no type or storage class
ext2_fs.h:98: parse error before '}' token
ext2_fs.h:102: parse error before "i_mode"
ext2_fs.h:102: warning: no semicolon at end of struct or union
ext2_fs.h:103: warning: type defaults to `int' in declaration of `i_uid'
ext2_fs.h:103: warning: data definition has no type or storage class
ext2_fs.h:104: warning: type defaults to `int' in declaration of `i_size'
ext2_fs.h:104: warning: data definition has no type or storage class
ext2_fs.h:105: warning: type defaults to `int' in declaration of `i_atime'
ext2_fs.h:105: warning: data definition has no type or storage class
ext2_fs.h:106: warning: type defaults to `int' in declaration of `i_ctime'
ext2_fs.h:106: warning: data definition has no type or storage class
ext2_fs.h:107: warning: type defaults to `int' in declaration of `i_mtime'
ext2_fs.h:107: warning: data definition has no type or storage class
ext2_fs.h:108: warning: type defaults to `int' in declaration of `i_dtime'
ext2_fs.h:108: warning: data definition has no type or storage class
ext2_fs.h:109: warning: type defaults to `int' in declaration of `i_gid'
ext2_fs.h:109: warning: data definition has no type or storage class
ext2_fs.h:110: warning: type defaults to `int' in declaration of `i_links_count'
ext2_fs.h:110: warning: data definition has no type or storage class
ext2_fs.h:111: warning: type defaults to `int' in declaration of `i_blocks'
ext2_fs.h:111: warning: data definition has no type or storage class
ext2_fs.h:112: warning: type defaults to `int' in declaration of `i_flags'
ext2_fs.h:112: warning: data definition has no type or storage class
ext2_fs.h:115: parse error before "l_i_reserved1"
ext2_fs.h:115: warning: no semicolon at end of struct or union
ext2_fs.h:118: parse error before "h_i_translator"
ext2_fs.h:118: warning: no semicolon at end of struct or union
ext2_fs.h:119: warning: type defaults to `int' in declaration of `hurd1'
ext2_fs.h:119: warning: data definition has no type or storage class
ext2_fs.h:121: parse error before "m_i_reserved1"
ext2_fs.h:121: warning: no semicolon at end of struct or union
ext2_fs.h:122: warning: type defaults to `int' in declaration of `masix1'
ext2_fs.h:122: warning: data definition has no type or storage class
ext2_fs.h:123: parse error before '}' token
ext2_fs.h:123: warning: type defaults to `int' in declaration of `osd1'
ext2_fs.h:123: warning: data definition has no type or storage class
ext2_fs.h:124: warning: type defaults to `int' in declaration of `i_block'
ext2_fs.h:124: warning: data definition has no type or storage class
ext2_fs.h:125: warning: type defaults to `int' in declaration of `i_generation'
ext2_fs.h:125: warning: data definition has no type or storage class
ext2_fs.h:126: warning: type defaults to `int' in declaration of `i_file_acl'
ext2_fs.h:126: warning: data definition has no type or storage class
ext2_fs.h:127: warning: type defaults to `int' in declaration of `i_dir_acl'
ext2_fs.h:127: warning: data definition has no type or storage class
ext2_fs.h:128: warning: type defaults to `int' in declaration of `i_faddr'
ext2_fs.h:128: warning: data definition has no type or storage class
ext2_fs.h:131: parse error before "l_i_frag"
ext2_fs.h:131: warning: no semicolon at end of struct or union
ext2_fs.h:132: warning: no semicolon at end of struct or union
ext2_fs.h:133: warning: type defaults to `int' in declaration of `i_pad1'
ext2_fs.h:133: warning: data definition has no type or storage class
ext2_fs.h:134: warning: type defaults to `int' in declaration of `l_i_reserved2'
ext2_fs.h:134: warning: data definition has no type or storage class
ext2_fs.h:135: parse error before '}' token
ext2_fs.h:135: warning: type defaults to `int' in declaration of `linux2'
ext2_fs.h:135: warning: data definition has no type or storage class
ext2_fs.h:137: parse error before "h_i_frag"
ext2_fs.h:137: warning: no semicolon at end of struct or union
ext2_fs.h:138: warning: type defaults to `int' in declaration of `h_i_fsize'
ext2_fs.h:138: warning: data definition has no type or storage class
ext2_fs.h:139: warning: type defaults to `int' in declaration of `h_i_mode_high'
ext2_fs.h:139: warning: data definition has no type or storage class
ext2_fs.h:140: warning: type defaults to `int' in declaration of `h_i_uid_high'
ext2_fs.h:140: warning: data definition has no type or storage class
ext2_fs.h:141: warning: type defaults to `int' in declaration of `h_i_gid_high'
ext2_fs.h:141: warning: data definition has no type or storage class
ext2_fs.h:142: warning: type defaults to `int' in declaration of `h_i_author'
ext2_fs.h:142: warning: data definition has no type or storage class
ext2_fs.h:143: parse error before '}' token
ext2_fs.h:143: warning: type defaults to `int' in declaration of `hurd2'
ext2_fs.h:143: warning: data definition has no type or storage class
ext2_fs.h:145: parse error before "m_i_frag"
ext2_fs.h:145: warning: no semicolon at end of struct or union
ext2_fs.h:146: warning: type defaults to `int' in declaration of `m_i_fsize'
ext2_fs.h:146: warning: data definition has no type or storage class
ext2_fs.h:147: warning: type defaults to `int' in declaration of `m_pad1'
ext2_fs.h:147: warning: data definition has no type or storage class
ext2_fs.h:148: warning: type defaults to `int' in declaration of `m_i_reserved2'
ext2_fs.h:148: warning: data definition has no type or storage class
ext2_fs.h:149: parse error before '}' token
ext2_fs.h:149: warning: type defaults to `int' in declaration of `masix2'
ext2_fs.h:149: warning: data definition has no type or storage class
ext2_fs.h:150: parse error before '}' token
ext2_fs.h:150: warning: type defaults to `int' in declaration of `osd2'
ext2_fs.h:150: warning: data definition has no type or storage class
ext2_fs.h:151: parse error before '}' token
ext2_fs.h:155: parse error before "s_inodes_count"
ext2_fs.h:155: warning: no semicolon at end of struct or union
ext2_fs.h:156: warning: type defaults to `int' in declaration of 
`s_blocks_count'
ext2_fs.h:156: warning: data definition has no type or storage class
ext2_fs.h:157: warning: type defaults to `int' in declaration of 
`s_r_blocks_count'
ext2_fs.h:157: warning: data definition has no type or storage class
ext2_fs.h:158: warning: type defaults to `int' in declaration of 
`s_free_blocks_count'
ext2_fs.h:158: warning: data definition has no type or storage class
ext2_fs.h:159: warning: type defaults to `int' in declaration of 
`s_free_inodes_count'
ext2_fs.h:159: warning: data definition has no type or storage class
ext2_fs.h:160: warning: type defaults to `int' in declaration of 
`s_first_data_block'
ext2_fs.h:160: warning: data definition has no type or storage class
ext2_fs.h:161: warning: type defaults to `int' in declaration of 
`s_log_block_size'
ext2_fs.h:161: warning: data definition has no type or storage class
ext2_fs.h:162: warning: type defaults to `int' in declaration of 
`s_log_frag_size'
ext2_fs.h:162: warning: data definition has no type or storage class
ext2_fs.h:163: warning: type defaults to `int' in declaration of 
`s_blocks_per_group'
ext2_fs.h:163: warning: data definition has no type or storage class
ext2_fs.h:164: warning: type defaults to `int' in declaration of 
`s_frags_per_group'
ext2_fs.h:164: warning: data definition has no type or storage class
ext2_fs.h:165: warning: type defaults to `int' in declaration of 
`s_inodes_per_group'
ext2_fs.h:165: warning: data definition has no type or storage class
ext2_fs.h:166: warning: type defaults to `int' in declaration of `s_mtime'
ext2_fs.h:166: warning: data definition has no type or storage class
ext2_fs.h:167: warning: type defaults to `int' in declaration of `s_wtime'
ext2_fs.h:167: warning: data definition has no type or storage class
ext2_fs.h:168: warning: type defaults to `int' in declaration of `s_mnt_count'
ext2_fs.h:168: warning: data definition has no type or storage class
ext2_fs.h:169: warning: type defaults to `int' in declaration of 
`s_max_mnt_count'
ext2_fs.h:169: warning: data definition has no type or storage class
ext2_fs.h:170: warning: type defaults to `int' in declaration of `s_magic'
ext2_fs.h:170: warning: data definition has no type or storage class
ext2_fs.h:171: warning: type defaults to `int' in declaration of `s_state'
ext2_fs.h:171: warning: data definition has no type or storage class
ext2_fs.h:172: warning: type defaults to `int' in declaration of `s_errors'
ext2_fs.h:172: warning: data definition has no type or storage class
ext2_fs.h:173: warning: type defaults to `int' in declaration of 
`s_minor_rev_level'
ext2_fs.h:173: warning: data definition has no type or storage class
ext2_fs.h:174: warning: type defaults to `int' in declaration of `s_lastcheck'
ext2_fs.h:174: warning: data definition has no type or storage class
ext2_fs.h:175: warning: type defaults to `int' in declaration of 
`s_checkinterval'
ext2_fs.h:175: warning: data definition has no type or storage class
ext2_fs.h:176: warning: type defaults to `int' in declaration of `s_creator_os'
ext2_fs.h:176: warning: data definition has no type or storage class
ext2_fs.h:177: warning: type defaults to `int' in declaration of `s_rev_level'
ext2_fs.h:177: warning: data definition has no type or storage class
ext2_fs.h:178: warning: type defaults to `int' in declaration of `s_def_resuid'
ext2_fs.h:178: warning: data definition has no type or storage class
ext2_fs.h:179: warning: type defaults to `int' in declaration of `s_def_resgid'
ext2_fs.h:179: warning: data definition has no type or storage class
ext2_fs.h:193: warning: type defaults to `int' in declaration of `s_first_ino'
ext2_fs.h:193: warning: data definition has no type or storage class
ext2_fs.h:194: warning: type defaults to `int' in declaration of `s_inode_size'
ext2_fs.h:194: warning: data definition has no type or storage class
ext2_fs.h:195: warning: type defaults to `int' in declaration of 
`s_block_group_nr'
ext2_fs.h:195: warning: data definition has no type or storage class
ext2_fs.h:196: warning: type defaults to `int' in declaration of 
`s_feature_compat'
ext2_fs.h:196: warning: data definition has no type or storage class
ext2_fs.h:197: warning: type defaults to `int' in declaration of 
`s_feature_incompat'
ext2_fs.h:197: warning: data definition has no type or storage class
ext2_fs.h:198: warning: type defaults to `int' in declaration of 
`s_feature_ro_compat'
ext2_fs.h:198: warning: data definition has no type or storage class
ext2_fs.h:199: warning: type defaults to `int' in declaration of `s_uuid'
ext2_fs.h:199: warning: data definition has no type or storage class
ext2_fs.h:202: warning: type defaults to `int' in declaration of 
`s_algorithm_usage_bitmap'
ext2_fs.h:202: warning: data definition has no type or storage class
ext2_fs.h:207: warning: type defaults to `int' in declaration of 
`s_prealloc_blocks'
ext2_fs.h:207: warning: data definition has no type or storage class
ext2_fs.h:208: warning: type defaults to `int' in declaration of 
`s_prealloc_dir_blocks'
ext2_fs.h:208: warning: data definition has no type or storage class
ext2_fs.h:209: warning: type defaults to `int' in declaration of `s_padding1'
ext2_fs.h:209: warning: data definition has no type or storage class
ext2_fs.h:210: warning: type defaults to `int' in declaration of `s_reserved'
ext2_fs.h:210: warning: data definition has no type or storage class
ext2_fs.h:211: parse error before '}' token
In file included from ext2.c:28:
ext2.h:104: field `sb' has incomplete type
ext2.h: In function `ext2_is_data_block':
ext2.h:227: arithmetic on pointer to an incomplete type
ext2.h:227: dereferencing pointer to incomplete type
ext2.h:228: arithmetic on pointer to an incomplete type
ext2.h:228: dereferencing pointer to incomplete type
ext2.h:231: arithmetic on pointer to an incomplete type
ext2.h:231: dereferencing pointer to incomplete type
ext2.h:232: arithmetic on pointer to an incomplete type
ext2.h:232: dereferencing pointer to incomplete type
ext2.c: In function `ext2_get_block_state':
ext2.c:58: arithmetic on pointer to an incomplete type
ext2.c:58: dereferencing pointer to incomplete type
ext2.c: In function `ext2_find_free_block':
ext2.c:70: arithmetic on pointer to an incomplete type
ext2.c:70: dereferencing pointer to incomplete type
ext2.c: In function `ext2_find_free_inode':
ext2.c:99: arithmetic on pointer to an incomplete type
ext2.c:99: dereferencing pointer to incomplete type
ext2.c: In function `ext2_set_block_state':
ext2.c:171: arithmetic on pointer to an incomplete type
ext2.c:171: dereferencing pointer to incomplete type
ext2.c:185: arithmetic on pointer to an incomplete type
ext2.c:185: dereferencing pointer to incomplete type
ext2.c:185: arithmetic on pointer to an incomplete type
ext2.c:185: dereferencing pointer to incomplete type
ext2.c: In function `ext2_get_inode_offset':
ext2.c:289: sizeof applied to an incomplete type
ext2.c:291: arithmetic on pointer to an incomplete type
ext2.c:291: dereferencing pointer to incomplete type
ext2.c: In function `ext2_get_inode_state':
ext2.c:308: arithmetic on pointer to an incomplete type
ext2.c:308: dereferencing pointer to incomplete type
ext2.c: In function `ext2_read_inode':
ext2.c:327: sizeof applied to an incomplete type
ext2.c: In function `ext2_set_inode_state':
ext2.c:342: arithmetic on pointer to an incomplete type
ext2.c:342: dereferencing pointer to incomplete type
ext2.c:358: arithmetic on pointer to an incomplete type
ext2.c:358: dereferencing pointer to incomplete type
ext2.c:358: arithmetic on pointer to an incomplete type
ext2.c:358: dereferencing pointer to incomplete type
ext2.c: In function `_inode_update_size':
ext2.c:373: dereferencing pointer to incomplete type
ext2.c:373: dereferencing pointer to incomplete type
ext2.c:375: dereferencing pointer to incomplete type
ext2.c:375: dereferencing pointer to incomplete type
ext2.c:377: dereferencing pointer to incomplete type
ext2.c: In function `ext2_do_inode':
ext2.c:384: `udata' undeclared (first use in this function)
ext2.c:384: (Each undeclared identifier is reported only once
ext2.c:384: for each function it appears in.)
ext2.c:390: dereferencing pointer to incomplete type
ext2.c:413: dereferencing pointer to incomplete type
ext2.c:415: dereferencing pointer to incomplete type
ext2.c:420: dereferencing pointer to incomplete type
ext2.c:424: dereferencing pointer to incomplete type
ext2.c:430: dereferencing pointer to incomplete type
ext2.c:434: dereferencing pointer to incomplete type
ext2.c:435: dereferencing pointer to incomplete type
ext2.c:436: dereferencing pointer to incomplete type
ext2.c:438: dereferencing pointer to incomplete type
ext2.c:439: dereferencing pointer to incomplete type
ext2.c:442: dereferencing pointer to incomplete type
ext2.c:443: parse error before ')' token
ext2.c:468: dereferencing pointer to incomplete type
ext2.c:476: dereferencing pointer to incomplete type
ext2.c:477: dereferencing pointer to incomplete type
ext2.c:479: dereferencing pointer to incomplete type
ext2.c:480: parse error before ')' token
ext2.c:485: `udata2' undeclared (first use in this function)
ext2.c:493: parse error before ')' token
ext2.c:520: dereferencing pointer to incomplete type
ext2.c: In function `ext2_write_inode':
ext2.c:550: sizeof applied to an incomplete type
ext2.c: In function `ext2_zero_inode':
ext2.c:558: storage size of `buf' isn't known
ext2.c:560: sizeof applied to an incomplete type
ext2.c: In function `ext2_determine_itoffset':
ext2.c:681: arithmetic on pointer to an incomplete type
ext2.c:681: dereferencing pointer to incomplete type
ext2.c:706: arithmetic on pointer to an incomplete type
ext2.c:706: dereferencing pointer to incomplete type
ext2.c:707: arithmetic on pointer to an incomplete type
ext2.c:707: dereferencing pointer to incomplete type
ext2.c:708: arithmetic on pointer to an incomplete type
ext2.c:708: dereferencing pointer to incomplete type
ext2.c: In function `ext2_open':
ext2.c:800: sizeof applied to an incomplete type
ext2.c:802: sizeof applied to an incomplete type
ext2.c:820: sizeof applied to an incomplete type
make[3]: *** [ext2.lo] Error 1
make[3]: Leaving directory `/usr2/src/parted-1.4.17/libparted/fs_ext2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr2/src/parted-1.4.17/libparted'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr2/src/parted-1.4.17'
make: *** [all-recursive-am] Error 2

On Sat, 11 Aug 2001, Andrew Clausen wrote:

> On Fri, Aug 10, 2001 at 03:57:18PM +0300, Ahmed El-Mahmoudy wrote:
>
> Try 1.4.17.
>
> Andrew
>

Regards,

 Ahmed El-Mahmoudy





reply via email to

[Prev in Thread] Current Thread [Next in Thread]