[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-ddrescue] Not compiling with uclibc++
From: |
Rosen Penev |
Subject: |
[Bug-ddrescue] Not compiling with uclibc++ |
Date: |
Wed, 27 Mar 2019 16:58:32 -0700 |
Hello,
I recently tried to compile gddrescue 1.23 with uclibc++ but got the
following error:
In file included from
/home/mangix/devstuff/openwrt/staging_dir/target-mips_24kc_musl/usr/include/uClibc++/string:25:0,
from mapfile.cc:26:
/home/mangix/devstuff/openwrt/staging_dir/target-mips_24kc_musl/usr/include/uClibc++/vector:
In instantiation of 'void std::vector<T,
Allocator>::_insert_from_iterator(std::vector<T, Allocator>::iterator,
InputIterator, InputIterator) [with InputIterator = Sblock*; T =
Sblock; Allocator = std::allocator<Sblock>; std::vector<T,
Allocator>::iterator = Sblock*]':
/home/mangix/devstuff/openwrt/staging_dir/target-mips_24kc_musl/usr/include/uClibc++/vector:288:26:
required from 'void std::vector<T,
Allocator>::_dispatch_insert(std::vector<T, Allocator>::iterator,
InputIterator, InputIterator, std::__false_type) [with InputIterator =
Sblock*; T = Sblock; Allocator = std::allocator<Sblock>;
std::vector<T, Allocator>::iterator = Sblock*]'
/home/mangix/devstuff/openwrt/staging_dir/target-mips_24kc_musl/usr/include/uClibc++/vector:297:20:
required from 'void std::vector<T, Allocator>::insert(std::vector<T,
Allocator>::iterator, InputIterator, InputIterator) [with
InputIterator = Sblock*; T = Sblock; Allocator =
std::allocator<Sblock>; std::vector<T, Allocator>::iterator =
Sblock*]'
mapfile.cc:331:77: required from here
/home/mangix/devstuff/openwrt/staging_dir/target-mips_24kc_musl/usr/include/uClibc++/vector:270:6:
error: no matching function for call to 'Sblock::Sblock()'
T temp;
^~~~
In file included from mapfile.cc:30:0:
block.h:107:3: note: candidate: Sblock::Sblock(long long int, long
long int, Sblock::Status)
Sblock( const long long p, const long long s, const Status st )
^~~~~~
block.h:107:3: note: candidate expects 3 arguments, 0 provided
block.h:105:3: note: candidate: Sblock::Sblock(const Block&, Sblock::Status)
Sblock( const Block & b, const Status st )
^~~~~~
block.h:105:3: note: candidate expects 2 arguments, 0 provided
block.h:95:7: note: candidate: Sblock::Sblock(const Sblock&)
class Sblock : public Block
^~~~~~
block.h:95:7: note: candidate expects 1 argument, 0 provided
Makefile:64: recipe for target 'mapfile.o' failed
make[4]: *** [mapfile.o] Error 1
Anyone have any insight as to why it's failing?
- [Bug-ddrescue] Not compiling with uclibc++,
Rosen Penev <=