Hi Karl,
I just looked at ubuntu 20.04 and the situation is like you describe:
I have /usr/include/x86_64-linux-gnu/sys/types.h and /usr/include/sys/acl.h
You can look at the compilers default include path as follows:
gcc -xc -E -v - < /dev/null
This will print a lot of information. One section should be something
like "#include <...> search starts here:". There you'll see a list of
directories that are searched for include files.
I don't have easy access to a pop!os (no docker images available), so I
cannot test this quickly. However, CMake does basically something like
the following for the test, so you could minimalize your test-case like
follows:
It creates a source-file e.g. "test.c" with the following content
-- CUT HERE --
#include <sys/types.h>
#include <sys/acl.h>
int main() {
}
-- CUT HERE --
try to compile with "gcc test.c".
If that fails, you have a problem that your compiler does not pick up
/usr/include/x86_64-linux-gnu as an include directory. This would happen
for example if you're compiling on a platform that is not x86_64-linux-gnu.
If it works, probably something in cmake or our cmake configuration is
broken.
Hope that helps!
Best Regards,
Andreas
Am 27.09.20 um 18:36 schrieb Karl Cunningham:
> --
> You received this message because you are subscribed to the Google
> Groups "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
bareos-users...@googlegroups.com
> <mailto:
bareos-users...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/bareos-users/a39c44c0-8d15-4df7-ab56-16721a32aec8n%40googlegroups.com
> <
https://groups.google.com/d/msgid/bareos-users/a39c44c0-8d15-4df7-ab56-16721a32aec8n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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