* make error with iptables 1.2.11
@ 2004-06-29 20:45 Chamara Gunaratne
2004-06-29 21:00 ` Antony Stone
0 siblings, 1 reply; 7+ messages in thread
From: Chamara Gunaratne @ 2004-06-29 20:45 UTC (permalink / raw)
To: netfilter
Hello All,
I am trying to make and install ip_tables and I am getting an error when
running make. I am running SuSE 8.2 with kenel release 2.4.26 and I have
patched the kernel using patch-o-matic. The command I gave and the output I
got is:
iptables-1.2.11> make KERNEL_DIR=/usr/src/linux-2.4.26/
Making dependencies: please wait...
Something wrong... deleting dependencies.
make: *** [../ipset/libipt_set.h] Error 1
I would greatly appreciate it if somebody can shop me what I am doing wrong
here. Thanks !
Chamara Gunaratne
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: make error with iptables 1.2.11
2004-06-29 20:45 make error with iptables 1.2.11 Chamara Gunaratne
@ 2004-06-29 21:00 ` Antony Stone
2004-06-29 21:31 ` Chamara Gunaratne
0 siblings, 1 reply; 7+ messages in thread
From: Antony Stone @ 2004-06-29 21:00 UTC (permalink / raw)
To: netfilter
On Tuesday 29 June 2004 9:45 pm, Chamara Gunaratne wrote:
> Hello All,
> I am trying to make and install ip_tables and I am getting an error when
> running make. I am running SuSE 8.2 with kenel release 2.4.26 and I have
> patched the kernel using patch-o-matic. The command I gave and the output I
> got is:
>
> iptables-1.2.11> make KERNEL_DIR=/usr/src/linux-2.4.26/
> Making dependencies: please wait...
> Something wrong... deleting dependencies.
> make: *** [../ipset/libipt_set.h] Error 1
>
> I would greatly appreciate it if somebody can show me what I am doing wrong
> here. Thanks !
What happens if you try a simple build of 1.2.11 without applying p-o-m first?
It would be good to know whether the error is in stock netfilter, or being
caused by the patches you've applied.
Regards,
Antony.
--
Bill Gates has personally assured the Spanish Academy that he will never allow
the upside-down question mark to disappear from Microsoft word-processing
programs, which must be reassuring for millions of Spanish-speaking people,
though just a piddling afterthought as far as he's concerned.
- Lynne Truss, "Eats, Shoots and Leaves"
Please reply to the list;
please don't CC me.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: make error with iptables 1.2.11
2004-06-29 21:00 ` Antony Stone
@ 2004-06-29 21:31 ` Chamara Gunaratne
2004-06-29 22:09 ` Antony Stone
0 siblings, 1 reply; 7+ messages in thread
From: Chamara Gunaratne @ 2004-06-29 21:31 UTC (permalink / raw)
To: netfilter
Hi, I attempted to build ip_tables again with a stock 2.4.26 kernel source
and un-modified ip_tables source. And I am getting the same error.
Regards,
Chamara
At 05:00 PM 6/29/2004, you wrote:
>On Tuesday 29 June 2004 9:45 pm, Chamara Gunaratne wrote:
>
> > Hello All,
> > I am trying to make and install ip_tables and I am getting an error when
> > running make. I am running SuSE 8.2 with kenel release 2.4.26 and I have
> > patched the kernel using patch-o-matic. The command I gave and the output I
> > got is:
> >
> > iptables-1.2.11> make KERNEL_DIR=/usr/src/linux-2.4.26/
> > Making dependencies: please wait...
> > Something wrong... deleting dependencies.
> > make: *** [../ipset/libipt_set.h] Error 1
> >
> > I would greatly appreciate it if somebody can show me what I am doing wrong
> > here. Thanks !
>
>What happens if you try a simple build of 1.2.11 without applying p-o-m first?
>
>It would be good to know whether the error is in stock netfilter, or being
>caused by the patches you've applied.
>
>Regards,
>
>Antony.
>
>--
>Bill Gates has personally assured the Spanish Academy that he will never
>allow
>the upside-down question mark to disappear from Microsoft word-processing
>programs, which must be reassuring for millions of Spanish-speaking people,
>though just a piddling afterthought as far as he's concerned.
>
> - Lynne Truss, "Eats, Shoots and Leaves"
>
> Please reply to the
> list;
> please don't
> CC me.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: make error with iptables 1.2.11
2004-06-29 21:31 ` Chamara Gunaratne
@ 2004-06-29 22:09 ` Antony Stone
2004-06-29 23:42 ` Chamara Gunaratne
2004-06-30 1:08 ` Re[2]: " mortar
0 siblings, 2 replies; 7+ messages in thread
From: Antony Stone @ 2004-06-29 22:09 UTC (permalink / raw)
To: netfilter
On Tuesday 29 June 2004 10:31 pm, Chamara Gunaratne wrote:
> Hi, I attempted to build ip_tables again with a stock 2.4.26 kernel source
> and un-modified ip_tables source. And I am getting the same error.
Okay - that narrows it down. Anyone else here have experience with kernel
2.4.26 and iptables 1.2.11? I can't offer any advice on this one...
Antony.
> At 05:00 PM 6/29/2004, you wrote:
> >On Tuesday 29 June 2004 9:45 pm, Chamara Gunaratne wrote:
> > > Hello All,
> > > I am trying to make and install ip_tables and I am getting an error
> > > when running make. I am running SuSE 8.2 with kenel release 2.4.26 and
> > > I have patched the kernel using patch-o-matic. The command I gave and
> > > the output I got is:
> > >
> > > iptables-1.2.11> make KERNEL_DIR=/usr/src/linux-2.4.26/
> > > Making dependencies: please wait...
> > > Something wrong... deleting dependencies.
> > > make: *** [../ipset/libipt_set.h] Error 1
> > >
> > > I would greatly appreciate it if somebody can show me what I am doing
> > > wrong here. Thanks !
> >
> >What happens if you try a simple build of 1.2.11 without applying p-o-m
> > first?
> >
> >It would be good to know whether the error is in stock netfilter, or being
> >caused by the patches you've applied.
> >
> >Regards,
> >
> >Antony.
--
The difference between theory and practice is that in theory there is no
difference, whereas in practice there is.
Please reply to the list;
please don't CC me.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: make error with iptables 1.2.11
2004-06-29 22:09 ` Antony Stone
@ 2004-06-29 23:42 ` Chamara Gunaratne
2004-06-30 1:08 ` Re[2]: " mortar
1 sibling, 0 replies; 7+ messages in thread
From: Chamara Gunaratne @ 2004-06-29 23:42 UTC (permalink / raw)
To: netfilter
Hi, I tried building an earlier version of ip_tables to see what happens;
1.2.10 with kernel release 2.4.24 and I got the same kind of error message.
Is there some configuration option that I can give to get a more detailed
description of what is wrong ? Thank you.
iptables-1.2.10> make KERNEL_DIR=/usr/src/linux-2.4.24/
Making dependencies: please wait...
Something wrong... deleting dependencies.
make: *** [../linux/autoconf.h] Error 1
Regards,
Chamara
At 06:09 PM 6/29/2004, you wrote:
>On Tuesday 29 June 2004 10:31 pm, Chamara Gunaratne wrote:
>
> > Hi, I attempted to build ip_tables again with a stock 2.4.26 kernel source
> > and un-modified ip_tables source. And I am getting the same error.
>
>Okay - that narrows it down. Anyone else here have experience with kernel
>2.4.26 and iptables 1.2.11? I can't offer any advice on this one...
>
>Antony.
>
> > At 05:00 PM 6/29/2004, you wrote:
> > >On Tuesday 29 June 2004 9:45 pm, Chamara Gunaratne wrote:
> > > > Hello All,
> > > > I am trying to make and install ip_tables and I am getting an error
> > > > when running make. I am running SuSE 8.2 with kenel release 2.4.26 and
> > > > I have patched the kernel using patch-o-matic. The command I gave and
> > > > the output I got is:
> > > >
> > > > iptables-1.2.11> make KERNEL_DIR=/usr/src/linux-2.4.26/
> > > > Making dependencies: please wait...
> > > > Something wrong... deleting dependencies.
> > > > make: *** [../ipset/libipt_set.h] Error 1
> > > >
> > > > I would greatly appreciate it if somebody can show me what I am doing
> > > > wrong here. Thanks !
> > >
> > >What happens if you try a simple build of 1.2.11 without applying p-o-m
> > > first?
> > >
> > >It would be good to know whether the error is in stock netfilter, or being
> > >caused by the patches you've applied.
> > >
> > >Regards,
> > >
> > >Antony.
>
>--
>The difference between theory and practice is that in theory there is no
>difference, whereas in practice there is.
>
> Please reply to the
> list;
> please don't
> CC me.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re[2]: make error with iptables 1.2.11
2004-06-29 22:09 ` Antony Stone
2004-06-29 23:42 ` Chamara Gunaratne
@ 2004-06-30 1:08 ` mortar
2004-06-30 17:05 ` Chamara Gunaratne
1 sibling, 1 reply; 7+ messages in thread
From: mortar @ 2004-06-30 1:08 UTC (permalink / raw)
To: netfilter
Witam
Wednesday, June 30, 2004, 12:09:38 AM, you wrote:
AS> Okay - that narrows it down. Anyone else here have experience with kernel
AS> 2.4.26 and iptables 1.2.11? I can't offer any advice on this one...
I have 2.4.26 and iptables 1.2.11. I patched kernel and iptables
sources with latest pom-ng and then succesfully builded both. I'm using
Slackware Linux with gcc 3.3.4. Here is step by step how I make this
things works ;)
1. Get kernel 2.4.26 sources, and decompress it to
/usr/src/linux-2.4.26
2. Make a symbolic link
#ln -s /usr/src/linux-2.4.26 linux
3. Get iptables sources
#wget http://www.iptables.org/files/iptables-1.2.11.tar.bz2
and decompress it to /usr/src/iptables-1.2.11
4. Make a symbolic link
#ln -s /usr/src/iptables-1.2.11 iptables
5. Get lates p-o-m-ng
#wget http://www.netfilter.org/files/patch-o-matic-ng-20040621.tar.bz2
and decompress it to /usr/src/patch-o-matic-ng-20040621
6. cd /usr/src/patch-o-matic-ng-20040621
7. Now patch your sources with any extensions you want (i suggest you
to choose only what your realy need). For example:
#KERNEL_DIR=/usr/src/linux ./runme string
#KERNEL_DIR=/usr/src/linux ./runme CONNMARK
...
8. And now the most important step ;)
#cd /usr/src/iptables
#make BINDIR=/sbin LIBDIR=/usr/lib
#make BINDIR=/sbin LIBDIR=/usr/lib install
9. If everything is fine, you can build your kernel.
10. If not ... maybe try older (or newer) version of gcc.
I hope this will help you.
(Sorry for my poooooore english :)
--
Pozdrawiam
Marcin mailto:slacklist@op.pl
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: make error with iptables 1.2.11
2004-06-30 1:08 ` Re[2]: " mortar
@ 2004-06-30 17:05 ` Chamara Gunaratne
0 siblings, 0 replies; 7+ messages in thread
From: Chamara Gunaratne @ 2004-06-30 17:05 UTC (permalink / raw)
To: netfilter
Thank you, what you have suggested worked. It looks like I needed to give
the kernel directory as /usr/src/linux for make to work correctly. Thanks
again :-)
Regards,
Chamara
At 09:08 PM 6/29/2004, you wrote:
>Witam
>
>Wednesday, June 30, 2004, 12:09:38 AM, you wrote:
>
>AS> Okay - that narrows it down. Anyone else here have experience with
>kernel
>AS> 2.4.26 and iptables 1.2.11? I can't offer any advice on this one...
>
>I have 2.4.26 and iptables 1.2.11. I patched kernel and iptables
>sources with latest pom-ng and then succesfully builded both. I'm using
>Slackware Linux with gcc 3.3.4. Here is step by step how I make this
>things works ;)
>
>1. Get kernel 2.4.26 sources, and decompress it to
>/usr/src/linux-2.4.26
>
>2. Make a symbolic link
>#ln -s /usr/src/linux-2.4.26 linux
>
>3. Get iptables sources
>#wget http://www.iptables.org/files/iptables-1.2.11.tar.bz2
>and decompress it to /usr/src/iptables-1.2.11
>
>4. Make a symbolic link
>#ln -s /usr/src/iptables-1.2.11 iptables
>
>5. Get lates p-o-m-ng
>#wget http://www.netfilter.org/files/patch-o-matic-ng-20040621.tar.bz2
>and decompress it to /usr/src/patch-o-matic-ng-20040621
>
>6. cd /usr/src/patch-o-matic-ng-20040621
>
>7. Now patch your sources with any extensions you want (i suggest you
>to choose only what your realy need). For example:
>#KERNEL_DIR=/usr/src/linux ./runme string
>#KERNEL_DIR=/usr/src/linux ./runme CONNMARK
>...
>
>8. And now the most important step ;)
>#cd /usr/src/iptables
>#make BINDIR=/sbin LIBDIR=/usr/lib
>#make BINDIR=/sbin LIBDIR=/usr/lib install
>
>9. If everything is fine, you can build your kernel.
>10. If not ... maybe try older (or newer) version of gcc.
>
>I hope this will help you.
>
>(Sorry for my poooooore english :)
>
>--
>Pozdrawiam
> Marcin mailto:slacklist@op.pl
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-06-30 17:05 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-29 20:45 make error with iptables 1.2.11 Chamara Gunaratne
2004-06-29 21:00 ` Antony Stone
2004-06-29 21:31 ` Chamara Gunaratne
2004-06-29 22:09 ` Antony Stone
2004-06-29 23:42 ` Chamara Gunaratne
2004-06-30 1:08 ` Re[2]: " mortar
2004-06-30 17:05 ` Chamara Gunaratne
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.