Hi, Here is the patch which fixes compilation issues on my old ARM linux box with GCC 3.x and kernel 2.4
Index: src/APs/APserver.cc =================================================================== --- src/APs/APserver.cc (revision 829) +++ src/APs/APserver.cc (working copy) @@ -611,7 +611,7 @@ request->get__GET_OFFERING_PROCS__offered_to_proc(); vector<AP_num> processors; db.get_offering_processors(to_proc, processors); - string sprocs((const char *)processors.data(), + string sprocs((const char *)&processors[0], processors.size()*sizeof(AP_num)); OFFERING_PROCS_ARE_c(fd, sprocs); } @@ -625,7 +625,7 @@ request->get__GET_OFFERED_VARS__accepted_by_proc(); vector<uint32_t> varnames; db.get_offered_variables(to_proc, from_proc, varnames); - string svars((const char *)varnames.data(), + string svars((const char *)&varnames[0], varnames.size()*sizeof(uint32_t)); OFFERED_VARS_ARE_c(fd, svars); } Index: src/Parallel.hh =================================================================== --- src/Parallel.hh (revision 829) +++ src/Parallel.hh (working copy) @@ -22,6 +22,7 @@ #define __PARALLEL_HH_DEFINED__ #include "../config.h" +#include "Common.hh" // set PARALLEL_ENABLED if wanted and its prerequisites are satisfied //
-- Br, /Alexey