0.6.15 multiple definition errors

Post here if you found a bug or something really not expected in the program
Post Reply
bopper
Posts: 2
Joined: Wed Jul 11, 2012 8:52 pm

0.6.15 multiple definition errors

Post by bopper » Wed Jul 11, 2012 8:56 pm

Help! All goes fine at first, until linking ...

./configure --prefix=/usr --libdir=/usr/lib64

make
...
CCLD fsarchiver
/lib64/libext2fs.a(inline.o): In function `ext2fs_fast_set_bit':
inline.c:(.text+0x0): multiple definition of `ext2fs_fast_set_bit'
fsarchiver-fs_ext2.o:/usr/include/ext2fs/bitops.h:239: first defined here
/lib64/libext2fs.a(inline.o): In function `ext2fs_fast_clear_bit':
inline.c:(.text+0x20): multiple definition of `ext2fs_fast_clear_bit'
[ ... several pages deleted ...]
inline.c:(.text+0x5e0): multiple definition of `ext2fs_div64_ceil'
fsarchiver-fs_ext2.o:/usr/include/ext2fs/ext2fs.h:1694: first defined here
collect2: error: ld returned 1 exit status
make: *** [fsarchiver] Error 1

bopper
Posts: 2
Joined: Wed Jul 11, 2012 8:52 pm

Re: 0.6.15 multiple definition errors

Post by bopper » Thu Jul 12, 2012 1:43 pm

I should have mentioned above that I'm using latest slackware-current (June 30th, 2012) which
has e2fsprogs-1.42.4 version. The problem is happening when compiling previous versions
of fsarchiver as well, like vers. 0.6.12, which used to compile fine in the past.

I've rolled backed to e2fsprogs-1.41.14, and everything builds fine again.
Therefore, the problem is due to a change in e2fsprogs-1.42.4 library that affects
the fsarchiver building.

liza
Posts: 1
Joined: Wed Oct 03, 2012 11:32 am

Re: 0.6.15 multiple definition errors

Post by liza » Wed Oct 03, 2012 11:34 am

I should accept mentioned aloft that I'm application latest slackware-current (June 30th, 2012) which
has e2fsprogs-1.42.4 version. The botheration is accident back accumulation antecedent versions
of fsarchiver as well, like vers. 0.6.12, which acclimated to abridge accomplished in the past.

Post Reply