Mailing List Archive

error compiling latest cvs?
I just downloaded the latest cvs and got the following errors during make:


cc -O2 -DNDEBUG -Wall -Wunused -I/home/pub/linux/include -Iinclude/
-DNETFILTER_VERSION=\"1.2.2\" -fPIC -o extensions/libip6t_REJECT_sh.o -c
extensions/libip6t_REJECT.c
extensions/libip6t_REJECT.c:25: `IP6T_ICMP6_NO_ROUTE' undeclared here (not in
a function)
extensions/libip6t_REJECT.c:25: initializer element is not constant
extensions/libip6t_REJECT.c:25: (near initialization for
`reject_table[0].with')
extensions/libip6t_REJECT.c:27: `IP6T_ICMP6_ADM_PROHIBITED' undeclared here
(not in a function)
extensions/libip6t_REJECT.c:27: initializer element is not constant
extensions/libip6t_REJECT.c:27: (near initialization for
`reject_table[1].with')
extensions/libip6t_REJECT.c:33: `IP6T_ICMP6_ADDR_UNREACH' undeclared here (not
in a function)
extensions/libip6t_REJECT.c:33: initializer element is not constant
extensions/libip6t_REJECT.c:33: (near initialization for
`reject_table[2].with')
extensions/libip6t_REJECT.c:35: `IP6T_ICMP6_PORT_UNREACH' undeclared here (not
in a function)
extensions/libip6t_REJECT.c:35: initializer element is not constant
extensions/libip6t_REJECT.c:35: (near initialization for
`reject_table[3].with')
extensions/libip6t_REJECT.c:37: `IP6T_TCP_RESET' undeclared here (not in a
function)
extensions/libip6t_REJECT.c:37: initializer element is not constant
extensions/libip6t_REJECT.c:37: (near initialization for
`reject_table[4].with')
extensions/libip6t_REJECT.c: In function `init':
extensions/libip6t_REJECT.c:80: `IP6T_ICMP6_PORT_UNREACH' undeclared (first
use in this function)
extensions/libip6t_REJECT.c:80: (Each undeclared identifier is reported only
once
extensions/libip6t_REJECT.c:80: for each function it appears in.)
make: *** [extensions/libip6t_REJECT_sh.o] Error 1

Makes no difference whether anything from patch-o-matic has been added.

-Alex

--
__________________
alex@graylight.net
sidewinder@usa.net
------------------

"Yeah, I'm drunk all right, and you're crazy. Tomorrow I'll
be sober, but you'll still be crazy for the rest of your life."
-W.C. Fields
Re: error compiling latest cvs? [ In reply to ]
On Fri, Jul 27, 2001 at 05:20:12PM -0500, Alex Stevens wrote:
> I just downloaded the latest cvs and got the following errors during make:
...
> cc -O2 -DNDEBUG -Wall -Wunused -I/home/pub/linux/include -Iinclude/
> -DNETFILTER_VERSION=\"1.2.2\" -fPIC -o extensions/libip6t_REJECT_sh.o -c
> a function)
..
> extensions/libip6t_REJECT.c:25: `IP6T_ICMP6_NO_ROUTE' undeclared here (not in

Same here. For a workaround, set DO_IPV6=0 in userspace/Makefile, and
you can cleanly compile without any of the IPv6 stuff.

regards
Patrick
Re: error compiling latest cvs? [ In reply to ]
On Sat, Jul 28, 2001 at 08:08:59AM +0200, Patrick Schaaf wrote:
> On Fri, Jul 27, 2001 at 05:20:12PM -0500, Alex Stevens wrote:
> > I just downloaded the latest cvs and got the following errors during make:
> ...
> > cc -O2 -DNDEBUG -Wall -Wunused -I/home/pub/linux/include -Iinclude/
> > -DNETFILTER_VERSION=\"1.2.2\" -fPIC -o extensions/libip6t_REJECT_sh.o -c
> > a function)
> ..
> > extensions/libip6t_REJECT.c:25: `IP6T_ICMP6_NO_ROUTE' undeclared here (not in
>
> Same here. For a workaround, set DO_IPV6=0 in userspace/Makefile, and
> you can cleanly compile without any of the IPv6 stuff.

Thanks, Patrick, I'll try that. Looks like the only way, right now...

-Alex

>
> regards
> Patrick
>
>

--
__________________
alex@graylight.net
sidewinder@usa.net
------------------

"Yeah, I'm drunk all right, and you're crazy. Tomorrow I'll
be sober, but you'll still be crazy for the rest of your life."
-W.C. Fields
Re: error compiling latest cvs? [ In reply to ]
Alex Stevens <alexstevens@graylight.net> writes:

> On Sat, Jul 28, 2001 at 08:08:59AM +0200, Patrick Schaaf wrote:
>> Same here. For a workaround, set DO_IPV6=0 in userspace/Makefile, and
>> you can cleanly compile without any of the IPv6 stuff.
>
> Thanks, Patrick, I'll try that. Looks like the only way, right
> now...

Alternatively run patch-o-matic and install the IPV6_REJECT patch.
Re: error compiling latest cvs? [ In reply to ]
On Fri, Jul 27, 2001 at 05:20:12PM -0500, Alex Stevens wrote:
> I just downloaded the latest cvs and got the following errors during make:
>

sorry for the delay, I was travelling.

The problem was that some of my recent changes didn't detect if the
REJECTv6 patch has been installed or not.

I have fixed it in CVS just right now.

thanks again.

> -Alex

--
Live long and prosper
- Harald Welte / laforge@gnumonks.org http://www.gnumonks.org
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M-
V-- PS+ PE-- Y+ PGP++ t++ 5-- !X !R tv-- b+++ DI? !D G+ e* h+ r% y+(*)