Skip to contentSkip to conversation

Troubles compiling iptables v1.4.8

PATCH In review Brian Schang 3 participants 5 messages May 22, 2010 – May 26, 2010 netfilter

lore
Share & tools
lore
#0 lore raw

Hello:

I am having troubles compiling iptables v1.4.8. I have been able to successfully compile and run v1.4.7, but for some reason v1.4.8 gets the following error:

...
make[2]: Entering directory `/raida/packages/iptables/utils'
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT nfnl_osf.o -MD -MP -MF .deps/nfnl_osf.Tpo -c -o nfnl_osf.o nfnl_osf.c
nfnl_osf.c:48:36: error: linux/netfilter/xt_osf.h: No such file or directory

I'm not sure where to turn next. Any insight would be appreciated.

Thank you.

Signature · 1 line
Brian Schang
#1 lore raw

PATCH 1/1 Troubles compiling iptables v1.4.8

Posted in the depths of netfilter@vger, Brian Schang wrote on 2010-05-22 3:24:40:

Quoted 6 lines

make[2]: Entering directory `/raida/packages/iptables/utils'
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT nfnl_osf.o -MD -MP -MF
.deps/nfnl_osf.Tpo -c -o nfnl_osf.o nfnl_osf.c
nfnl_osf.c:48:36: error: linux/netfilter/xt_osf.h: No such file or directory

I'm not sure where to turn next. Any insight would be appreciated.

The following changes since commit 8532c70fd182057b440b41f013d8021a95bd72b2:

Revert "Revert "Merge branch 'iptables-next'"" (2010-05-21 12:57:23 +0200)

are available in the git repository at:
git://dev.medozas.de/iptables master

Jan Engelhardt (1):
utils: add missing include flags to Makefile

 utils/Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
#3 lore raw

PATCH 1/1 utils: add missing include flags to Makefile

In reply to Brian Schang

Fixes this compile error:

CC nfnl_osf.o
nfnl_osf.c:48:36: fatal error: linux/netfilter/xt_osf.h: No such file or directory compilation terminated.

References: http://marc.info/?l=netfilter&m=127449929621579&w=2

---
 utils/Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
utils/Makefile.am +2 -0
index d023b0c..79ce34b 100644
@@ -1,5 +1,7 @@
 # -*- Makefile -*-
 
+AM_CFLAGS = ${regular_CFLAGS} -I${top_builddir}/include -I${top_srcdir}/include
+
 sbin_PROGRAMS = nfnl_osf
 pkgdata_DATA = pf.os
 
Signature · 1 line
1.7.1
#4 lore raw

Re: [PATCH] utils: add missing include flags to Makefile

Jan:

Quoted 17 lines · Jan Engelhardt

Fixes this compile error:

CC nfnl_osf.o
nfnl_osf.c:48:36: fatal error: linux/netfilter/xt_osf.h: No such file or directory compilation terminated.

References: http://marc.info/?l=netfilter&m=127449929621579&w=2

---
  utils/Makefile.am |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)
utils/Makefile.am +0 -0
index d023b0c..79ce34b 100644

utils/Makefile.am line 6

Quoted 6 lines
utils/Makefile.am +2 -0
@@ -1,5 +1,7 @@
  # -*- Makefile -*-
 
+AM_CFLAGS = ${regular_CFLAGS} -I${top_builddir}/include -I${top_srcdir}/include
+
  sbin_PROGRAMS = nfnl_osf
  pkgdata_DATA = pf.os

Complied and works great now. Thank you for the help! I appreciate it.

Have a great day.

Signature · 1 line
Brian
#2 lore raw
In reply to Jan Engelhardt
Quoted 13 lines · Jan Engelhardt

Posted in the depths of netfilter@vger, Brian Schang wrote on 2010-05-22 3:24:40:

Quoted 6 lines

make[2]: Entering directory `/raida/packages/iptables/utils'
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT nfnl_osf.o -MD -MP -MF
.deps/nfnl_osf.Tpo -c -o nfnl_osf.o nfnl_osf.c
nfnl_osf.c:48:36: error: linux/netfilter/xt_osf.h: No such file or directory

I'm not sure where to turn next. Any insight would be appreciated.

The following changes since commit 8532c70fd182057b440b41f013d8021a95bd72b2:

Quoted 7 lines

Revert "Revert "Merge branch 'iptables-next'"" (2010-05-21 12:57:23 +0200)

are available in the git repository at:
git://dev.medozas.de/iptables master

Jan Engelhardt (1):
utils: add missing include flags to Makefile

Pulled, thanks Jan.