#151 dump build failure

None
closed-fixed
nobody
None
5
2016-05-06
2011-10-13
Chris Abela
No

gcc -o dump itime.o main.o optr.o tape.o traverse.o unctime.o ../common/dumprmt.o -L../compat/lib -lcompat -L/lib -lext2fs -lz -lbz2 -lblkid -luuid
main.o: In function `main':
/tmp/SBo/dump-0.4b44/dump/main.c:726: undefined reference to `com_err'
/tmp/SBo/dump-0.4b44/dump/main.c:719: undefined reference to `com_err'
tape.o: In function `doslave':
/tmp/SBo/dump-0.4b44/dump/tape.c:1197: undefined reference to `error_message'
traverse.o: In function `dump_xattr':
/tmp/SBo/dump-0.4b44/dump/traverse.c:813: undefined reference to `com_err'
traverse.o: In function `dumpdirino':
/tmp/SBo/dump-0.4b44/dump/traverse.c:1143: undefined reference to `com_err'
traverse.o: In function `getino':
/tmp/SBo/dump-0.4b44/dump/traverse.c:1371: undefined reference to `com_err'
traverse.o: In function `mapfilesfromdir':
/tmp/SBo/dump-0.4b44/dump/traverse.c:501: undefined reference to `com_err'
traverse.o: In function `maponefile':
/tmp/SBo/dump-0.4b44/dump/traverse.c:411: undefined reference to `com_err'
traverse.o:/tmp/SBo/dump-0.4b44/dump/traverse.c:340: more undefined references to `com_err' follow
/lib/libext2fs.a(ext2_err.o): In function `initialize_ext2_error_table':
ext2_err.c:(.text+0x79): undefined reference to `_et_list'
/lib/libext2fs.a(alloc_stats.o): In function `ext2fs_block_alloc_stats':
alloc_stats.c:(.text+0x244): undefined reference to `com_err'
/lib/libext2fs.a(alloc_stats.o): In function `ext2fs_inode_alloc_stats2':
alloc_stats.c:(.text+0x11d): undefined reference to `com_err'
/lib/libext2fs.a(gen_bitmap.o): In function `ext2fs_warn_bitmap2':
gen_bitmap.c:(.text+0x1a6): undefined reference to `com_err'
gen_bitmap.c:(.text+0x1cb): undefined reference to `com_err'
/lib/libext2fs.a(bitops.o): In function `ext2fs_warn_bitmap':
bitops.c:(.text+0x2f): undefined reference to `com_err'
/lib/libext2fs.a(bitops.o):bitops.c:(.text+0x50): more undefined references to `com_err' follow
collect2: ld returned 1 exit status
make[1]: *** [dump] Error 1
make[1]: Leaving directory `/tmp/SBo/dump-0.4b44/dump'
make: *** [all] Error 1

Distribution: Slackware 13.37 32bit
Arch: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz
dump version 0.4b44
glibc-2.13

This help did not help:
http://sourceforge.net/tracker/index.php?func=detail&aid=3316231&group_id=1306&atid=301306

I am the author of the dump.SlackBuild and its current maintainer: http://slackbuilds.org/repository/13.37/system/dump/
I would like to update but it is failing to build. Any help would be appreciated.

Discussion

  • Chris Abela

    Chris Abela - 2011-10-14

    I applied this Gentoo patch: https://381835.bugs.gentoo.org/attachment.cgi?id=286991
    but it still did not compile:

    gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL -O2 -march=i486 -mtune=i686 -pipe -I.. -I../compat/include -I/usr/include/ext2fs -I/usr/include/et -I../dump -DRDUMP -DRRESTORE -DLINUX_FORK_BUG -DHAVE_LZO -D_PATH_DUMPDATES=\"/etc/dumpdates\" -D_DUMP_VERSION=\"0.4b44\" traverse.c -o traverse.o
    traverse.c: In function 'dumpino':
    traverse.c:999:49: error: 'struct struct_ext2_filsys' has no member named 'cluster_ratio_bits'
    traverse.c:1000:58: error: 'struct struct_ext2_filsys' has no member named 'cluster_ratio_bits'
    traverse.c:1001:24: error: 'struct struct_ext2_filsys' has no member named 'cluster_ratio_bits'
    traverse.c:1001:24: error: 'struct struct_ext2_filsys' has no member named 'cluster_ratio_bits'
    traverse.c: In function 'blksout':
    traverse.c:1276:9: error: 'struct struct_ext2_filsys' has no member named 'cluster_ratio_bits'
    make[1]: *** [traverse.o] Error 1
    make[1]: Leaving directory `/tmp/SBo/dump-0.4b44/dump'
    make: *** [all] Error 1

     
  • Mike Frysinger

    Mike Frysinger - 2016-05-06
    • status: open --> closed-fixed
    • Group: -->
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks