2014-10-28 14:52:50

by Jim Davis

[permalink] [raw]
Subject: randconfig build error with next-20141028, in net/bridge

Building with the attached random configuration file,

net/built-in.o: In function `br_handle_frame_finish':
(.text+0x40edf): undefined reference to `arp_tbl'
net/built-in.o: In function `br_handle_frame_finish':
(.text+0x40f3a): undefined reference to `arp_send'
make: *** [vmlinux] Error 1


Attachments:
randconfig-1414504190.txt (97.81 kB)

2014-10-29 19:37:50

by David Miller

[permalink] [raw]
Subject: Re: randconfig build error with next-20141028, in net/bridge

From: Jim Davis <[email protected]>
Date: Tue, 28 Oct 2014 07:52:47 -0700

> Building with the attached random configuration file,
>
> net/built-in.o: In function `br_handle_frame_finish':
> (.text+0x40edf): undefined reference to `arp_tbl'
> net/built-in.o: In function `br_handle_frame_finish':
> (.text+0x40f3a): undefined reference to `arp_send'
> make: *** [vmlinux] Error 1

Kyeyoon-ssi, you will need to do something about this.

Your choices are either selecting INET (and thus also
CRYPTO and CRYPTO_AES, since INET needs those in order
to build properly), making bridging depeng on INET,
or protecting the new proxy-arp code with INET ifdef
checks.

2014-10-30 17:17:24

by Stephen Hemminger

[permalink] [raw]
Subject: Re: randconfig build error with next-20141028, in net/bridge

On Wed, 29 Oct 2014 15:37:45 -0400 (EDT)
David Miller <[email protected]> wrote:

> From: Jim Davis <[email protected]>
> Date: Tue, 28 Oct 2014 07:52:47 -0700
>
> > Building with the attached random configuration file,
> >
> > net/built-in.o: In function `br_handle_frame_finish':
> > (.text+0x40edf): undefined reference to `arp_tbl'
> > net/built-in.o: In function `br_handle_frame_finish':
> > (.text+0x40f3a): undefined reference to `arp_send'
> > make: *** [vmlinux] Error 1
>
> Kyeyoon-ssi, you will need to do something about this.
>
> Your choices are either selecting INET (and thus also
> CRYPTO and CRYPTO_AES, since INET needs those in order
> to build properly), making bridging depeng on INET,
> or protecting the new proxy-arp code with INET ifdef
> checks.

Maybe make ARP proxy a config option under bridge and have
it depend on INET?

2014-10-30 19:36:55

by David Miller

[permalink] [raw]
Subject: Re: randconfig build error with next-20141028, in net/bridge

From: Stephen Hemminger <[email protected]>
Date: Thu, 30 Oct 2014 10:17:08 -0700

> On Wed, 29 Oct 2014 15:37:45 -0400 (EDT)
> David Miller <[email protected]> wrote:
>
>> From: Jim Davis <[email protected]>
>> Date: Tue, 28 Oct 2014 07:52:47 -0700
>>
>> > Building with the attached random configuration file,
>> >
>> > net/built-in.o: In function `br_handle_frame_finish':
>> > (.text+0x40edf): undefined reference to `arp_tbl'
>> > net/built-in.o: In function `br_handle_frame_finish':
>> > (.text+0x40f3a): undefined reference to `arp_send'
>> > make: *** [vmlinux] Error 1
>>
>> Kyeyoon-ssi, you will need to do something about this.
>>
>> Your choices are either selecting INET (and thus also
>> CRYPTO and CRYPTO_AES, since INET needs those in order
>> to build properly), making bridging depeng on INET,
>> or protecting the new proxy-arp code with INET ifdef
>> checks.
>
> Maybe make ARP proxy a config option under bridge and have
> it depend on INET?

I'd be fine with that too.