On 10/17/18 1:35 PM, Josh Fisher wrote:
I believe the NAS you mention uses a Marvell chip, so you will need the
cross-compiler at:
https://sourceforge.net/projects/qosgpl/files/QNAP%20NAS%20Tool%20Chains/
This should allow building the bacula-sd and library binaries targeting
the Marvell chip from a Linux host.
Thanks for pointing me in the right direction!
This got me up and running, although it wasn't THAT easy (*): now I'm
smoke testing my bacula-sd on the NAS. :-D
bye & thanks
av.
*) Some hints, in case other people as mad as me :) want to try this:
_ when cross compiling, configure always fails on a check on setpgrp:
just remove the whole check and let ac_cv_func_setpgrp_void=no;
_ for some reason bacula lets you build either everything or only the
file daemon; there's no option to build only the SD. So you'll need to
get and compile sqlite3, just to be able to compile the director (which
you won't use!);
_ this environment does not provide OpenSSL (or perhaps configure
doesn't find it?), so it will be disabled; however some code in
BSOCKCORE::close() in src/lib/bsockcore.c is not guarded by the proper
#ifdef HAVE_TLS, so you'll get linker errors. Just remove this code (by
commenting it or putting the right #if or just deleting those lines);
_ the static-bacula-sd won't work: "status storage" will get the proper
result, but as soon as you launch a job it will dump core (something to
do with name resolution AFAICT). Use the non-static bacula-sd binary.
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users