appneta / tcpreplay

Pcap editing and replay tools for *NIX and Windows - Users please download source from
http://tcpreplay.appneta.com/wiki/installation.html#downloads
1.17k stars 268 forks source link

[Bug] AF_XDP compile failures #876

Closed fklassen closed 3 months ago

fklassen commented 3 months ago

Describe the bug This fails to compile in 4.5.0-beta1

To Reproduce Steps to reproduce the behavior:

  1. sudo apt install -y libxdp-dev libbpf-dev
  2. ./configure
  3. make

Expected behavior compiles

Screenshots

  CCLD     tcpreplay
/usr/bin/ld: tcpreplay-send_packets.o: in function `check_packet_fits_in_umem_frame':
/home/fklassen/git/tcpreplay/build/src/../../src/send_packets.c:1262: undefined reference to `free_umem_and_xsk

System (please complete the following information):

Additional context something got dropped in the merge

fklassen commented 3 months ago

fixed in PR #877