On 10/18/07, a b <[EMAIL PROTECTED]> wrote:
>
>
>  > make[1]: Entering directory 
> `/root/sdk/new/opt/ip-filter/ip_fil4.1.28/Linux'
>
>  Gotta "love" GNU `gmake` posing as `make`...
>
> ../netinet/ip_compat.h:1124:26: error: linux/config.h: No such file or 
> directory

Apparently as of kernel version 2.6.19 this file no longer exists.
Would including a file with this content break anything?

=============== config.h  ===============
#ifndef _LINUX_CONFIG_H
#define _LINUX_CONFIG_H
/* This file is no longer in use and kept only for backward compatibility.
 * autoconf.h is now included via -imacros on the commandline
 */
#include <linux/autoconf.h>

#endif
=============== config.h  ===============

>
>
>  Causes:
>
>  - CPPFLAGS isn't set to include "-I/usr/include"
>  - CFLAGS isn't set to include "-I/usr/include"
>  - header files not installed or missing in /usr/include/.
>
>  On Linux, there's a kernel-devel or some such package, which I believe also 
> contains the header files.
>  Check whether this package is installed with the package manager your distro 
> provides (`rpm`, `dpkg`, etc.)

The headers etc are definately installed.

>  You might also want to install Sun Studio 12 for Linux and compile with it 
> instead of GCC.
>  Generates up to 80% faster code when advanced optimizations are used.

Would it be possible to replace GCC as the default system compiler
with Sun Studio 12?

I work for a company that builds an embedded linux firewall and  we
are looking to use IP-Filter in stead of IP Tables

Reply via email to