Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Ben Slusky <sluskyb@force.stwing.upenn.edu>
To: axp-list@redhat.com
Subject: Re: ipautofw doesn't compile...
Date: Sun, 4 Oct 1998 16:06:46 -0400	[thread overview]
Message-ID: <19981004160646.A17433@force.stwing.upenn.edu> (raw)
In-Reply-To: <Pine.BSI.3.95.980928005152.6152A-100000@shell1.cybercom.net>; from Keith Baker on Mon, Sep 28, 1998 at 12:55:28AM -0400

On Mon, Sep 28, 1998 at 12:55:28AM -0400, Keith Baker wrote:
> even any clues?  As I have never touched the kernel I have no idea...

I'm assuming you've configured your kernel for IP masqing tho'. If not,
read the IP Masquerading mini-HOWTO.

The problem with ipautofw is the header files: the glibc and kernel
header files tend to step on each other. The solution is to cut some of
them out.

Replace this block of #include's in ipautofw-2.0.0.c:

#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/udp.h>
#include <netinet/ip_icmp.h>
#include <linux/if.h>
#include <linux/timer.h>
#include <linux/ip_fw.h>
#include <netdb.h>

With this one:

#define IFNAMSIZ 16

#include <sys/types.h>
#include <sys/socket.h>
#include <asm/types.h>
#include <linux/timer.h>
#include <linux/ip_fw.h>
#include <netdb.h>

Happy gaming,
-
-Ben

-- 
Behold now! By the Jordan dreameth / That beast by scholars called behemoth;
Though scholars of another cloth / I understand say behemoth;
While others still, rejecting both / Refer to him as behemoth.
The beast is one, the sound trichotomous; / The fact is, he's a hippopotamus.
        -Willard R. Espy


      reply	other threads:[~1998-10-04 20:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-28  4:55 ipautofw doesn't compile Keith Baker
1998-10-04 20:06 ` Ben Slusky [this message]
read-only archive

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