[Box Backup] Crosscompiling boxbackup-0.10 for a Router
(freetz)
Chris Wilson
boxbackup@boxbackup.org
Sun, 29 Mar 2009 15:33:09 +0200 (CEST)
Hi Mirko,
On Sun, 29 Mar 2009, Mirko wrote:
> /home/m/freetz/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-g++-uc -DNDEBUG -O2 -Wall -I../../lib/common -DBOX_VERSION="\"0.10\"" -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -c
> Daemon.cpp -o ../../release/lib/server/Daemon.o
> Daemon.cpp: In member function 'int Daemon::Main(const char*, int, const
> char**)':
> Daemon.cpp:174: error: no match for 'operator=' in 'pconfig =
> Configuration::LoadAndVerify(const char*, const ConfigurationVerify*,
> std::string&)(Daemon::GetConfigVerify(), ((std::string&)(& errors)))'
I've checked in a change which I hope will fix this particular case, but I
expect that other parts of the code will fail in the same way, and will
need the same fix (initialise std::auto_ptr with the pointer rather than
assigning to it).
Unfortunately, until or unless I can get a toolchain build, I can't find
those problems myself, as I don't see them on other platforms for some
reason.
Cheers, Chris.
--
_ ___ __ _
/ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |