• C
    ipv6: statically link register_inet6addr_notifier() · f88c91dd
    Cong Wang 提交于
    Tomas reported the following build error:
    
    net/built-in.o: In function `ieee80211_unregister_hw':
    (.text+0x10f0e1): undefined reference to `unregister_inet6addr_notifier'
    net/built-in.o: In function `ieee80211_register_hw':
    (.text+0x10f610): undefined reference to `register_inet6addr_notifier'
    make: *** [vmlinux] Error 1
    
    when built IPv6 as a module.
    
    So we have to statically link these symbols.
    Reported-by: NTomas Melin <tomas.melin@iki.fi>
    Cc: Tomas Melin <tomas.melin@iki.fi>
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: YOSHIFUJI Hidaki <yoshfuji@linux-ipv6.org>
    Signed-off-by: NCong Wang <amwang@redhat.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    f88c91dd
addrconf.h 9.4 KB