2002-11-14 00:27:22

by Kevin Brosius

[permalink] [raw]
Subject: bk current build failures (xfrm.h / tpqic02.c)

net/core/skbuff.c: At top level:
include/net/xfrm.h:104: storage size of `lft' isn't known
include/net/xfrm.h:112: storage size of `replay' isn't known
include/net/xfrm.h:115: storage size of `stats' isn't known
include/net/xfrm.h:117: storage size of `curlft' isn't known
make[2]: *** [net/core/skbuff.o] Error 1


drivers/char/tpqic02.c: In function `__initfn':
drivers/char/tpqic02.c:2798: parse error before "void"
make[2]: *** [drivers/char/tpqic02.o] Error 1


Attachments:
bk_current_bf (465.00 B)

2002-11-14 03:53:47

by David Miller

[permalink] [raw]
Subject: Re: bk current build failures (xfrm.h / tpqic02.c)

On Wed, 2002-11-13 at 16:40, Kevin Brosius wrote:
> net/core/skbuff.c: At top level:
> include/net/xfrm.h:104: storage size of `lft' isn't known
> include/net/xfrm.h:112: storage size of `replay' isn't known
> include/net/xfrm.h:115: storage size of `stats' isn't known
> include/net/xfrm.h:117: storage size of `curlft' isn't known
> make[2]: *** [net/core/skbuff.o] Error 1

Something is wrong with your tree, net/xfrm.h includes linux/xfrm.h
which declares the layout of said structures the compiler is
complaining about.

2002-11-14 12:28:25

by Jens Axboe

[permalink] [raw]
Subject: Re: bk current build failures (xfrm.h / tpqic02.c)

On Wed, Nov 13 2002, David S. Miller wrote:
> On Wed, 2002-11-13 at 16:40, Kevin Brosius wrote:
> > net/core/skbuff.c: At top level:
> > include/net/xfrm.h:104: storage size of `lft' isn't known
> > include/net/xfrm.h:112: storage size of `replay' isn't known
> > include/net/xfrm.h:115: storage size of `stats' isn't known
> > include/net/xfrm.h:117: storage size of `curlft' isn't known
> > make[2]: *** [net/core/skbuff.o] Error 1
>
> Something is wrong with your tree, net/xfrm.h includes linux/xfrm.h
> which declares the layout of said structures the compiler is
> complaining about.

Most likely he is building out of his bk tree and he forgot to bk get
the files again.

--
Jens Axboe

2002-11-15 03:09:13

by Kevin Brosius

[permalink] [raw]
Subject: Re: bk current build failures (xfrm.h / tpqic02.c)

Jens Axboe wrote:
>
>
> On Wed, Nov 13 2002, David S. Miller wrote:
> > On Wed, 2002-11-13 at 16:40, Kevin Brosius wrote:
> > > net/core/skbuff.c: At top level:
> > > include/net/xfrm.h:104: storage size of `lft' isn't known
> > > include/net/xfrm.h:112: storage size of `replay' isn't known
> > > include/net/xfrm.h:115: storage size of `stats' isn't known
> > > include/net/xfrm.h:117: storage size of `curlft' isn't known
> > > make[2]: *** [net/core/skbuff.o] Error 1
> >
> > Something is wrong with your tree, net/xfrm.h includes linux/xfrm.h
> > which declares the layout of said structures the compiler is
> > complaining about.
>
> Most likely he is building out of his bk tree and he forgot to bk get
> the files again.

Yes, that's it. Thank you, and sorry about that. (I'll go configure
for checkout-get mode now...)

Now I see:
drivers/char/tpqic02.c: In function `__initfn':
drivers/char/tpqic02.c:2798: parse error before "void"
make[2]: *** [drivers/char/tpqic02.o] Error 1

I'm guessing that may be fixed in 2.5.47-ac2[&4]?

--
Kevin