building for archlinux x64. attr is installed but does not solve the problem. I posted a patch above that solves the problem. Thank you! понедельник, 19 апреля 2021 г. в 17:21:47 UTC+3, andreas.rogge:
> 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 <+49%20221%2063069386> > 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 > -- You received this message because you are subscribed to the Google Groups "bareos-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to bareos-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-devel/004e3246-f625-455f-9f19-d15279c85b19n%40googlegroups.com.