Не получается собрать anyfs-tools

Автор sidbar, 17 сентября 2017, 14:17:02

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

sidbar

Может у кого-то получилось собрать эту программу? Не понятно что ей еще не хватает для сборки, в configure есть варнинг:
WARNING! The package configured successful, but the next features was disabled:

* Mpeg2 recovering with anysurrect (depends on libmpeg2)
* BZIP2 recovering with anysurrect (depends on libbz2)
Наверное это не может повлиять на ошибки make программы при сборке?
Версия anyfs-tools-0.85.1c http://anyfs-tools.sourceforge.net

Открыть содержимое (спойлер)
gcc -g3 -O3 -Wall -std=gnu99 -I../../include -I/usr/include/ext2fs -I/usr/include/et -g -O2 -c build_e2fs.c
build_e2fs.c: In function 'set_fs_defaults':
build_e2fs.c:221:7: error: 'struct ext2_super_block' has no member named 's_log_frag_size'; did you mean 's_log_block_size'?
  super->s_log_frag_size = super->s_log_block_size =
       ^~
build_e2fs.c: In function 'handle_bad_blocks':
build_e2fs.c:340:5: error: invalid use of undefined type 'struct opaque_ext2_group_desc'
     fs->group_desc[group].bg_free_blocks_count++;
     ^~
build_e2fs.c:340:19: error: dereferencing pointer to incomplete type 'struct opaque_ext2_group_desc'
     fs->group_desc[group].bg_free_blocks_count++;
                   ^
build_e2fs.c: In function 'write_inode_tables':
build_e2fs.c:439:3: error: invalid use of undefined type 'struct opaque_ext2_group_desc'
   blk = fs->group_desc.bg_inode_table;
   ^~~
build_e2fs.c: In function 'create_bad_block_inode':
build_e2fs.c:465:2: error: invalid use of undefined type 'struct opaque_ext2_group_desc'
  fs->group_desc[0].bg_free_inodes_count--;
  ^~
build_e2fs.c: In function 'reserve_inodes':
build_e2fs.c:484:3: error: invalid use of undefined type 'struct opaque_ext2_group_desc'
   fs->group_desc[group].bg_free_inodes_count--;
   ^~
build_e2fs.c: In function 'show_stats':
build_e2fs.c:556:4: error: 'struct ext2_super_block' has no member named 's_log_frag_size'; did you mean 's_log_block_size'?
   s->s_log_frag_size);
    ^~
build_e2fs.c:573:33: error: 'struct ext2_super_block' has no member named 's_frags_per_group'; did you mean 's_blocks_per_group'?
         s->s_blocks_per_group, s->s_frags_per_group);
                                 ^~
build_e2fs.c: In function 'PRS':
build_e2fs.c:883:9: error: 'struct ext2_super_block' has no member named 's_log_frag_size'; did you mean 's_log_block_size'?
    param.s_log_frag_size =
         ^
build_e2fs.c:1151:7: error: 'struct ext2_super_block' has no member named 's_log_frag_size'; did you mean 's_log_block_size'?
  param.s_log_frag_size = param.s_log_block_size;
       ^
build_e2fs.c: In function 'ext2fs_inode_number_to_block':
build_e2fs.c:1515:2: error: invalid use of undefined type 'struct opaque_ext2_group_desc'
  if (!fs->group_desc[(unsigned) group].bg_inode_table) {
  ^~
build_e2fs.c:1518:2: error: invalid use of undefined type 'struct opaque_ext2_group_desc'
  block_nr = fs->group_desc[(unsigned) group].bg_inode_table + block;
  ^~~~~~~~
build_e2fs.c: In function 'main':
build_e2fs.c:1721:4: error: invalid use of undefined type 'struct opaque_ext2_group_desc'
    fs->group_desc[group].bg_used_dirs_count = 0;
    ^~
build_e2fs.c:1939:5: error: invalid use of undefined type 'struct opaque_ext2_group_desc'
     fs->group_desc[ e_ino/fs->super->s_inodes_per_group ].bg_used_dirs_count++;
     ^~
build_e2fs.c:2070:4: error: invalid use of undefined type 'struct opaque_ext2_group_desc'
    fs->group_desc[group].bg_free_blocks_count = 0;
    ^~
build_e2fs.c:2071:4: error: invalid use of undefined type 'struct opaque_ext2_group_desc'
    fs->group_desc[group].bg_free_inodes_count = 0;
    ^~
build_e2fs.c:2094:6: error: invalid use of undefined type 'struct opaque_ext2_group_desc'
      fs->group_desc[group].bg_free_blocks_count++;
      ^~
build_e2fs.c:2097:5: error: invalid use of undefined type 'struct opaque_ext2_group_desc'
     fs->group_desc[group].bg_free_blocks_count;
     ^~
build_e2fs.c:2103:6: error: invalid use of undefined type 'struct opaque_ext2_group_desc'
      fs->group_desc[group].bg_free_inodes_count++;
      ^~
build_e2fs.c:2106:5: error: invalid use of undefined type 'struct opaque_ext2_group_desc'
     fs->group_desc[group].bg_free_inodes_count;
     ^~
Makefile:22: recipe for target 'build_e2fs.o' failed
make[2]: *** [build_e2fs.o] Error 1
make[2]: Leaving directory '/home/sidbar/Downloads/anyfs-tools-0.85.1c/src/build_e2fs'
Makefile:29: recipe for target 'build_e2fs_util' failed
make[1]: *** [build_e2fs_util] Error 2
make[1]: Leaving directory '/home/sidbar/Downloads/anyfs-tools-0.85.1c/src'
Makefile:6: recipe for target 'progs' failed
make: *** [progs] Error 2
[свернуть]
Devuan GNU/Linux

ZEN

Цитироватьbuild_e2fs.c:2094:6: error: invalid use of undefined type 'struct opaque_ext2_group_desc'
исходники зависимостей anyfs-tools со времен последнего релиза (2010-06-19) сильно изменились. Думаю, что нет смысла собирать софт 7-ми летней давности.
Crimea is Ukraine