Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] AlmaLinux xdp build failed #909

Open
Haidern opened this issue Dec 19, 2024 · 1 comment
Open

[Bug] AlmaLinux xdp build failed #909

Haidern opened this issue Dec 19, 2024 · 1 comment

Comments

@Haidern
Copy link

Haidern commented Dec 19, 2024

Almalinux9.5

./configure --enable-force-libxdp

make

[root@AlmaLinux9 tcpreplay-4.5.1]# make
Making all in scripts
make[1]: Entering directory '/root/tcpreplay-4.5.1/scripts'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/root/tcpreplay-4.5.1/scripts'
Making all in lib
make[1]: Entering directory '/root/tcpreplay-4.5.1/lib'
CC strlcat.o
CC strlcpy.o
AR libstrl.a
make[1]: Leaving directory '/root/tcpreplay-4.5.1/lib'
Making all in libopts
make[1]: Entering directory '/root/tcpreplay-4.5.1/libopts'
make all-am
make[2]: Entering directory '/root/tcpreplay-4.5.1/libopts'
CC libopts_la-libopts.lo
CCLD libopts.la
libtool: warning: '-version-info/-version-number' is ignored for convenience libraries
make[2]: Leaving directory '/root/tcpreplay-4.5.1/libopts'
make[1]: Leaving directory '/root/tcpreplay-4.5.1/libopts'
Making all in src
make[1]: Entering directory '/root/tcpreplay-4.5.1/src'
make all-recursive
make[2]: Entering directory '/root/tcpreplay-4.5.1/src'
Making all in common
make[3]: Entering directory '/root/tcpreplay-4.5.1/src/common'
make all-am
make[4]: Entering directory '/root/tcpreplay-4.5.1/src/common'
CC cidr.o
CC err.o
CC list.o
CC cache.o
CC services.o
CC get.o
CC fakepcap.o
CC fakepcapnav.o
CC fakepoll.o
CC xX.o
CC utils.o
CC timer.o
CC git_version.o
CC sendpacket.o
sendpacket.c: In function ‘sendpacket_open’:
sendpacket.c:590:2: error: #error "No defined packet injection method for sendpacket_open()"
590 | #error "No defined packet injection method for sendpacket_open()"
| ^~~~~
compilation terminated due to -Wfatal-errors.
make[4]: *** [Makefile:473: sendpacket.o] Error 1
make[4]: Leaving directory '/root/tcpreplay-4.5.1/src/common'
make[3]: *** [Makefile:396: all] Error 2
make[3]: Leaving directory '/root/tcpreplay-4.5.1/src/common'
make[2]: *** [Makefile:1227: all-recursive] Error 1
make[2]: Leaving directory '/root/tcpreplay-4.5.1/src'
make[1]: *** [Makefile:601: all] Error 2
make[1]: Leaving directory '/root/tcpreplay-4.5.1/src'
make: *** [Makefile:453: all-recursive] Error 1

@Haidern
Copy link
Author

Haidern commented Dec 19, 2024

tcpreplay-4.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant