Hi Ged, On Mon, Mar 10, 2025 at 06:00:40PM +0000, G.W. Haywood wrote: > Hi there, > > Another one for you. > > In the docs at > > https://www.netfilter.org/projects/libnetfilter_queue/doxygen/html/ > > there is given a command to compile the sample code in nf-queue.c. > > The command given is > > gcc -g3 -ggdb -Wall -lmnl -lnetfilter_queue -o nf-queue nf-queue.c > > Here, and I suspect almost everywhere else, that doesn't work. Works here with gcc versions 11.2.0 and 14.2.0. > > Should the command not be something more like the one below? > > gcc -o nf-queue nf-queue.c -g3 -ggdb -Wall -lmnl -lnetfilter_queue gcc doesn't care, but the conventional order for command arguments is option args first, as in the docs. > The -ggdb argument is obsolete and may be slated for removal. Can you please try this: gcc -g3 -gdwarf-4 -Wall -lmnl -lnetfilter_queue -o nf-queue nf-queue.c If it still fails for you, please let me know at least 2 things: 1. What is the error message 2. The first line output bu the command "gcc --version" Cheers ... Duncan.