Next-in-Thread Next Message Previous Message Next Thread

News: (I just received a solution via EMail)

Forum: Linux IP NAT Forum
Re: Feedback Compiling NAT for 2.0.33 failed (Rajiv M Ranganath)
Re: More Try compiling without "CONFIG_MODVERSIONS" (Michael Hasenstein)
Date: Wed, 25 Mar 1998 17:01:42 GMT
From: Michael Hasenstein <hasenstein@yahoo.com>

Unfortunately Nick sent it to me and didn't post it here for everyone to see:
Date: Wed, 25 Mar 1998 00:08:55 -0500 (EST)
From: Nick Eggleston Add to Address Book
To: Michael Hasenstein
Subject: Re: More: Try compiling without "CONFIG_MODVERSIONS"

I like modversions and had the same problems, Here's what I did to fix it.

Edit linux/net/ipv4/Makefile. Locate the section dealing with IP_NAT.
It should look like this:

ifeq ($(CONFIG_IP_NAT),y)
IPV4_OBJS += ip_nat.o
else
  ifeq ($(CONFIG_IP_NAT),m)
  IPV4_OBJS += ip_nat_stub.o
# added by Nick Eggleston  to compile as module
  LX_OBJS += ip_nat_stub.o
  MX_OBJS += ip_nat.o
  M_OBJS += ip_nat.o
  endif
endif
I don't remember which lines I added and am too tired tonight to figure it out. This is with the 2.0.33 kernel series. If it works for you, perhaps a patch could be released.

I also had problems compiling ipnatadm. The fix was to add a single include to the ipnatadm.h file.

Hope this helps.

GREAT PACKAGE!!!

--Nick

Next-in-Thread Next Message Previous Message Next Thread

to: "(I just received a solution via EMail)"

Subscribe Membership Move/Remove Admin Mode Help for HyperNews 1.9.5