Actions
Bug #270
closedNFQ compilation fails if libnfnetlink.h is missing
Affected Versions:
Effort:
Difficulty:
Label:
Description
source-nfq.c:319: error: ‘SOL_NETLINK’ undeclared (first use in this function)
/usr/include/libnfnetlink/libnfnetlink.h
By installing (on Ubuntu) libnfnetlink-dev, things worked fine.
I think we should either define the missing define ourselves, or include and check for libnfnetlink.h.
Files
Updated by Eric Leblond almost 14 years ago
- File 0001-source-nfq-add-define-of-SOL_NETLINK.patch 0001-source-nfq-add-define-of-SOL_NETLINK.patch added
- Status changed from New to Assigned
- % Done changed from 0 to 100
I've chosen to add the define missing in the code because it should be available in traditional header.
The attached patch fixes the issue.
Updated by Victor Julien almost 14 years ago
- Status changed from Assigned to Closed
Applied, thanks Eric!
Actions