Sam Stephenson
2007-Apr-18 17:22 UTC
[Bridge] Request Help: Error when compiling with Bridging enabled
I am attempting to use the bridging-utilities (i.e., bridge-utils-0.9.5.1) in an Linux-arm environment (linux-arm 2.4.19). But, when executed command listed below, further investigation indicated we are required to rebuild kernel to enable the bridging code. # brctl addbr br0 br_add_bridge: Package not installed Therefore our initial attempt to rebuild kernel failed as indicated below (with "CONFIG_BRIDGE=y" ) in .config file. net/network.o: In function `__br_clear_frame_hook': net/network.o(.text+0x461dc): undefined reference to `br_handle_frame_hook' net/network.o: In function `__br_clear_ioctl_hook': net/network.o(.text+0x461fc): undefined reference to `br_ioctl_hook' net/network.o: In function `br_init': net/network.o(.text.init+0x2c50): undefined reference to `br_handle_frame_hook' net/network.o(.text.init+0x2c5c): undefined reference to `br_ioctl_hook' make: *** [vmlinux] Error 1 Has anyone seen this particular problem? And if so, what was (or is) the resolution? Looking forward to your response. If this is routed inappropriately, please provide a list of recipients. Sam Stephenson -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20040708/c8b20e8d/attachment-0002.htm
Stephen Hemminger
2007-Apr-18 17:22 UTC
[Bridge] Request Help: Error when compiling with Bridging enabled
On Thu, 8 Jul 2004 11:29:28 -0500 "Sam Stephenson" <sam.stephenson@ezadcorp.com> wrote:> I am attempting to use the bridging-utilities (i.e., bridge-utils-0.9.5.1) > in an > > Linux-arm environment (linux-arm 2.4.19). > > > > But, when executed command listed below, further investigation indicated we > are required to > > rebuild kernel to enable the bridging code. > > > > # brctl addbr br0 > > br_add_bridge: Package not installed > > > > Therefore our initial attempt to rebuild kernel failed as indicated below > (with > > "CONFIG_BRIDGE=y" ) in .config file. > > > > net/network.o: In function `__br_clear_frame_hook': > > net/network.o(.text+0x461dc): undefined reference to `br_handle_frame_hook' > > net/network.o: In function `__br_clear_ioctl_hook': > > net/network.o(.text+0x461fc): undefined reference to `br_ioctl_hook' > > net/network.o: In function `br_init': > > net/network.o(.text.init+0x2c50): undefined reference to > `br_handle_frame_hook' > > net/network.o(.text.init+0x2c5c): undefined reference to `br_ioctl_hook' > > make: *** [vmlinux] Error 1 >You need to probably do a "make mrproper" then make again to force a complete kernel rebuild.