Hi all,

I am trying to build some API client code against a copy of the
master branch I pulled a couple of days ago (ee74376 ip: refactor ip4_mtrie
to use atomic store-release). It seems like some required headers are not
getting installed for plugins.

E.g. - the LACP plugin header lacp.api.h has an '#include
"lacp.api_types.h"' which contains the typedef statements for the LACP API
message structs. The header lacp.api_types.h is generated in the build
directory but is not copied to the install directory.

[~/src/vpp]# grep '#include'
build-root/install-vpp_debug-native/vpp/include/vpp_plugins/lacp/lacp.api.h
#include <stdbool.h>
#include "lacp.api_types.h"
[~/src/vpp]# ls build-root/build-vpp_debug-native/vpp/plugins/lacp/*api*
build-root/build-vpp_debug-native/vpp/plugins/lacp/lacp.api.c
build-root/build-vpp_debug-native/vpp/plugins/lacp/lacp.api_enum.h
build-root/build-vpp_debug-native/vpp/plugins/lacp/lacp.api.h
build-root/build-vpp_debug-native/vpp/plugins/lacp/lacp.api.json
build-root/build-vpp_debug-native/vpp/plugins/lacp/lacp.api_test.c
build-root/build-vpp_debug-native/vpp/plugins/lacp/lacp.api_types.h
[~/src/vpp]# ls
build-root/install-vpp_debug-native/vpp/include/vpp_plugins/lacp/
lacp.api.h  mux_machine.h  protocol.h     rx_machine.h
machine.h   node.h         ptx_machine.h  tx_machine.h

The other plugins that the code tries to build against have the same issue.
The client code I'm trying to build wants to include the header with
'vl_typedefs' defined in order to pull in the struct definitions, which
seem to be populated in lacp.api_types.h now.

API header file auto generation has changed recently. Did something get
missed with the plugins? Or is there something new that I need to do? The
vnet API headers don't seem to have this issue, it only appears to be
plugins that are affected.

Thanks,
-Matt
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14465): https://lists.fd.io/g/vpp-dev/message/14465
Mute This Topic: https://lists.fd.io/mt/40407935/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to