Andreas Tille kirjoitti 20.12.2017 klo 09:25:
>> Any hint how to replace this define?
> 
> Thanks for any help
> 
>        Andreas.
> 
> ----- Forwarded message from Adrian Bunk <b...@debian.org> -----
> ...
> /build/1st/fis-gtm-6.3-002/sr_port/gtm_libaio.h:72:8: error: field 'PADDED' 
> declared as a function
>   __u32 PADDED(aio_key, aio_reserved1);
>         ^~~~~~
> CMakeFiles/gtm_threadgbl_deftypes.dir/build.make:65: recipe for target 
> 'CMakeFiles/gtm_threadgbl_deftypes.dir/sr_port/gtm_threadgbl_deftypes.c.o' 
> failed
> make[3]: *** 
> [CMakeFiles/gtm_threadgbl_deftypes.dir/sr_port/gtm_threadgbl_deftypes.c.o] 
> Error 1
> 
> 
> The PADDED define was removed from /usr/include/linux/aio_abi.h

A comment in fis-gtm says[1]: 
> /* This struct mimics the structure of struct iocb, but adds a few fields
>  * to the end for our own use. See <linux/aio_abi.h>::struct iocb.

That worked until linux devs did some refactoring[2]. To adapt, fis-gtm 
will probably have to mirror that change.


Regards,
Juhani

[1] https://sources.debian.org/src/fis-gtm/6.3-002-3/sr_port/gtm_libaio.h/#L66
[2] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/include/uapi/linux/aio_abi.h?id=ddef7ed2b5

Reply via email to