Hi,
thanks for using Bareos!
Am 16.04.21 um 15:07 schrieb khvalera:
> Today I tried to build the bareos 20.0.1 package from source and got the
> following errors:
> 3%] Building C object core / src / droplet / libdroplet / CMakeFiles /
> droplet.dir / src /
> utils.c.o/data/install_linux/snuglinux/builds-pkg/bareos-sl/src/bareos/core/src/droplet/libdroplet/src/utils.c:36:10:
> fatal error: attr / xattr.h: No such file or catalog36 | #include <attr
> / xattr.h>
You're missing the libattr library. sys/xattr.h is part of glibc, but we
actually want attr/xattr.h which is part of libattr.
> /builds-pkg/bareos-sl/src/bareos/core/src/droplet/libdroplet/include/droplet/cdmi/crcmodel.h:81:25:
> error: both "unsigned" and "_Bool »In declaration specifiers
>
> 81 | typedef unsigned bool;
I'm not really sure what is wrong here.
Which C compiler in what version are you using, what CFLAGS did you set
and what architecture/platform are you building for?
If you don't use droplet, maybe it is easier to just disable that backend.
Best Regards,
Andreas
--
Andreas Rogge
andrea...@bareos.com
Bareos GmbH & Co. KG Phone:
+49 221-630693-86
http://www.bareos.com
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz