Linux Netfilter discussions
 help / color / mirror / Atom feed
* compilation problem rhat el4
@ 2005-08-13 16:59 Rosario Pingaro
  2005-08-13 18:47 ` Rosario Pingaro
  0 siblings, 1 reply; 2+ messages in thread
From: Rosario Pingaro @ 2005-08-13 16:59 UTC (permalink / raw)
  To: netfilter

I would like to have the l7-filter funtionality on my redhat el4.

So I downloada the latest iptable-1.3.3 and the last patch from l7-filter

But trying to compile the patched files I get this error:
#error including kernel header in userspace; use the glibc headers instead! make: *** [extensions/libipt_layer7_sh.o] Error 1

I found several posts about it without any useful solution.
In fact if I use "KERNEL_DIR=/usr" I get the header from userspace so everything is compiled but not the layer7 module "libipt_layer7.so".

I checked if everything into the kernel (about packet filtering and layer7) is activated, and there, everythings seems fine.

Just to note that "libipt_layer7.h" is not present on my system. 

Where is my problem?

Thanks
Rosario

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: compilation problem rhat el4
  2005-08-13 16:59 compilation problem rhat el4 Rosario Pingaro
@ 2005-08-13 18:47 ` Rosario Pingaro
  0 siblings, 0 replies; 2+ messages in thread
From: Rosario Pingaro @ 2005-08-13 18:47 UTC (permalink / raw)
  To: netfilter

when I run "make KERNEL_DIR=/usr/src/linux" it gets the right extensions:
Extensions found: IPv4:CLUSTERIP IPv4:layer7 IPv4:recent IPv6:ah IPv6:esp 
IPv6:f
rag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt

when I run "make KERNEL_DIR=/usr" it gets only IPv4:recent

I think for this reason I don't have layer7's module compiled.

I need help, step by step on how to fix the "error including kernel header 
in userspace; use the glibc headers instead! make"

Hope some one can help.
Thanks
Rosario


----- Original Message ----- 
From: "Rosario Pingaro" <rpingar@italycom.it>
To: <netfilter@lists.netfilter.org>
Sent: Saturday, August 13, 2005 12:59 PM
Subject: compilation problem rhat el4


I would like to have the l7-filter funtionality on my redhat el4.

So I downloada the latest iptable-1.3.3 and the last patch from l7-filter

But trying to compile the patched files I get this error:
#error including kernel header in userspace; use the glibc headers instead! 
make: *** [extensions/libipt_layer7_sh.o] Error 1

I found several posts about it without any useful solution.
In fact if I use "KERNEL_DIR=/usr" I get the header from userspace so 
everything is compiled but not the layer7 module "libipt_layer7.so".

I checked if everything into the kernel (about packet filtering and layer7) 
is activated, and there, everythings seems fine.

Just to note that "libipt_layer7.h" is not present on my system.

Where is my problem?

Thanks
Rosario




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-13 18:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-13 16:59 compilation problem rhat el4 Rosario Pingaro
2005-08-13 18:47 ` Rosario Pingaro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox