# Suricata compile error dpdk bonding

**URL:** <https://forum.suricata.io/t/suricata-compile-error-dpdk-bonding/3998>\
**Category:** Help\
**Tags:** suricata\
**Created:** [October 4, 2023, 11:44am UTC](https://forum.suricata.io/t/suricata-compile-error-dpdk-bonding/3998 "2023-10-04T11:44:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![atbohmer](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/atbohmer/32/1853_2.png) [@atbohmer](https://forum.suricata.io/u/atbohmer)\
**Post date:** [October 4, 2023, 11:44am UTC](https://forum.suricata.io/t/suricata-compile-error-dpdk-bonding/3998/1 "2023-10-04T11:44:13Z")

</div>

RH 8  
Suricata git master branch 7.0.2-dev  
dpdk DPDK 23.11.0-rc0

CC util-dpdk-ixgbe.o  
CC util-dpdk-bonding.o  
util-dpdk-bonding.c: In function ‘BondingMemberDevicesGet’:  
util-dpdk-bonding.c:57:19: error: implicit declaration of function ‘rte\_eth\_bond\_slaves\_get’; did you mean ‘rte\_eth\_bond\_members\_get’? [-Werror=implicit-function-declaration]  
int32\_t len = rte\_eth\_bond\_slaves\_get(bond\_pid, bonded\_devs, bonded\_devs\_length);  
^ ~~~~~~~~~~~~~~~~~~~~~~  
rte\_eth\_bond\_members\_get  
cc1: some warnings being treated as errors  
make[2]: \*\*\* [Makefile:3482: util-dpdk-bonding.o] Error 1  
make[2]: Leaving directory ‘/data/software/suricata/suricata/src’  
make[1]: \*\*\* [Makefile:2681: all] Error 2  
make[1]: Leaving directory ‘/data/software/suricata/suricata/src’  
make: \*\*\* [Makefile:490: all-recursive] Error 1

---

<div class="post-metadata">

**Author:** ![lukashino](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/lukashino/32/1150_2.png) [@lukashino](https://forum.suricata.io/u/lukashino)\
**Post date:** [October 4, 2023, 11:48am UTC](https://forum.suricata.io/t/suricata-compile-error-dpdk-bonding/3998/2 "2023-10-04T11:48:22Z")

</div>

Ah thanks, good catch, the API must have been changed to use more inclusive naming.  
I’ll create a Redmine ticket for that.

---

<div class="post-metadata">

**Author:** ![atbohmer](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/atbohmer/32/1853_2.png) [@atbohmer](https://forum.suricata.io/u/atbohmer)\
**Post date:** [October 4, 2023, 12:21pm UTC](https://forum.suricata.io/t/suricata-compile-error-dpdk-bonding/3998/3 "2023-10-04T12:21:20Z")

</div>

Thanks, for now running suricata 7.0.2-dev (915707090 2023-10-03) with DPDK 23.07.0 .  
With latest DPDK 23.11.0-rc0 git pull unable to compile suricata and also unable to run previous compiled suricata: /usr/bin/suricata: symbol lookup error: /usr/bin/suricata: undefined symbol: rte\_eth\_bond\_slaves\_get, version DPDK\_24

---

<div class="post-metadata">

**Author:** ![lukashino](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/lukashino/32/1150_2.png) [@lukashino](https://forum.suricata.io/u/lukashino)\
**Post date:** [October 5, 2023, 1:05pm UTC](https://forum.suricata.io/t/suricata-compile-error-dpdk-bonding/3998/4 "2023-10-05T13:05:14Z")

</div>

The issue is tracked by

> **[Bug #6381: DPDK 23.11 changed function name of Bond API - Suricata - Open...](https://redmine.openinfosecfoundation.org/issues/6381)**
>
> Redmine

> **[Feature #6382: Add DPDK 23.11 build to Github Actions - Suricata - Open...](https://redmine.openinfosecfoundation.org/issues/6382)**
>
> Redmine

and the fix is here:

> <https://github.com/OISF/suricata/pull/9562>
>
> Follow-up of #9549 
> 
> PR is a combination of:
> 
> https://redmine.openinfosecfou…ndation.org/issues/6278
> https://redmine.openinfosecfoundation.org/issues/5966
> https://redmine.openinfosecfoundation.org/issues/6272
> https://redmine.openinfosecfoundation.org/issues/6381
> https://redmine.openinfosecfoundation.org/issues/6382
> 
> Describe changes:
> \- add Github workflow changes (Redmine ticket 6381, 6382)
> 
> To use a pull request use a branch name like pr/N where N is the
> pull request number.
> 
> Alternatively, SV\_BRANCH may also be a link to an
> OISF/suricata-verify pull-request.
> 
> SV\_REPO=
> SV\_BRANCH=pr/1412
> SU\_REPO=
> SU\_BRANCH=
> LIBHTP\_REPO=
> LIBHTP\_BRANCH=
