[Box Backup] Crosscompiling boxbackup-0.10 for a Router (freetz)

Chris Wilson boxbackup@boxbackup.org
Sun, 29 Mar 2009 14:35:26 +0200 (CEST)


Hi Mirko,

On Sun, 29 Mar 2009, Mirko wrote:

> I am trying to compile boxbackup-0.10 for freetz 
> (http://www.freetz.org). Freetz is a FW-Mod for the AVM Fritz!Box which 
> is a popular home-router in Germany.
>
> After I persuaded "configure" to no longer complain I get the following
> compile time error:
> --------------------------------------
> /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)))'
> /home/m/freetz/freetz-trunk/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/lib/gcc/mipsel-linux-uclibc/4.2.1/../../../../mipsel-linux-uclibc/sys-include/memory:137:

Looks like a gcc or STL bug. Can I download this toolchain somewhere?

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 |