I have already reported the following as an issue on the BMI090L Github repository.
Line 993 of bmi090la.c uses a 'for' loop initial declaration. This is in incompatible with some compilers.
The line is currently:
for (int indx = 0; indx < len; ++indx)
It should be changed to:
int indx;
for (indx = 0; indx < len; ++indx)