Project

General

Profile

Actions

Bug #7570

closed

af-xdp: build failure on Ubuntu 24.10

Added by Victor Julien 29 days ago. Updated 11 days ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

source-af-xdp.c:500:9: error: call to undeclared function 'bpf_get_link_xdp_id'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  500 |     if (bpf_get_link_xdp_id(ptv->ifindex, &ptv->prog_id, ptv->xsk.cfg.xdp_flags)) {
      |         ^
1 error generated.

Using

export PATH=$PATH:/home/victor/.cargo/bin
bash autogen.sh
CC=clang-19 CFLAGS="-ggdb -O2 -fno-omit-frame-pointer" ./configure --prefix=/usr/ --sysconfdir=/etc/ --localstatedir=/var/ --disable-shared --enable-dpdk
make clean
make -j 10

Actions

Also available in: Atom PDF