Actions
Bug #51720
closedCompilation of FreeBSD fails due to missing LIBAIO
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
FreeBSD lacks `libaio`, and only has POSIX aio
```
/home/jenkins/workspace/ceph-master-compile/src/rgw/rgw_d3n_datacache.cc:101:18: error: variable has incomplete type 'struct aioinit'
struct aioinit ainit{0};
^
/home/jenkins/workspace/ceph-master-compile/src/rgw/rgw_d3n_datacache.cc:101:10: note: forward declaration of 'aioinit'
struct aioinit ainit{0};
^
1 error generated.
gmake2: *** [src/rgw/CMakeFiles/rgw_common.dir/build.make:640: src/rgw/CMakeFiles/rgw_common.dir/rgw_d3n_datacache.cc.o] Error 1
```
PR #42262 fixes the compilation, but does so by excluding the d3n cache.
It needs extra work to compile and work with POSIX aio
Actions