[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070226222336.GC29575@stusta.de>
Date: Mon, 26 Feb 2007 23:23:36 +0100
From: Adrian Bunk <bunk@...sta.de>
To: Andrew Morton <akpm@...ux-foundation.org>,
Rusty Russell <rusty@...tcorp.com.au>
Cc: linux-kernel@...r.kernel.org
Subject: [-mm patch] LGUEST must depend on NET
CONFIG_LGUEST=y, CONFIG_NET=n results in the following compile error:
<-- snip -->
...
LD .tmp_vmlinux1
drivers/built-in.o: In function `lguestnet_close':
lguest_net.c:(.text+0x3b8de): undefined reference to `kfree_skb'
drivers/built-in.o: In function `fill_slot':
lguest_net.c:(.text+0x3ba08): undefined reference to `__alloc_skb'
drivers/built-in.o: In function `lguestnet_open':
lguest_net.c:(.text+0x3bada): undefined reference to `kfree_skb'
drivers/built-in.o: In function `lguestnet_start_xmit':
lguest_net.c:(.text+0x3bc03): undefined reference to `kfree_skb'
drivers/built-in.o: In function `lguestnet_rcv':
lguest_net.c:(.text+0x3bc61): undefined reference to `kfree_skb'
lguest_net.c:(.text+0x3bc6c): undefined reference to `skb_put'
lguest_net.c:(.text+0x3bc76): undefined reference to `eth_type_trans'
lguest_net.c:(.text+0x3bc94): undefined reference to `netif_rx'
drivers/built-in.o: In function `lguestnet_probe':
lguest_net.c:(.text+0x3bcdb): undefined reference to `alloc_etherdev'
lguest_net.c:(.text+0x3bcea): undefined reference to `ether_setup'
lguest_net.c:(.text+0x3bdc1): undefined reference to `register_netdev'
lguest_net.c:(.text+0x3be10): undefined reference to `unregister_netdev'
lguest_net.c:(.text+0x3be17): undefined reference to `free_netdev'
make[1]: *** [.tmp_vmlinux1] Error 1
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@...sta.de>
---
--- linux-2.6.20-mm2/arch/i386/Kconfig.old 2007-02-26 22:14:48.000000000 +0100
+++ linux-2.6.20-mm2/arch/i386/Kconfig 2007-02-26 22:15:51.000000000 +0100
@@ -258,7 +258,7 @@
config LGUEST
tristate "Linux hypervisor example code"
- depends on X86 && PARAVIRT && EXPERIMENTAL && !X86_PAE
+ depends on X86 && PARAVIRT && NET && EXPERIMENTAL && !X86_PAE
select LGUEST_GUEST
select HVC_DRIVER
---help---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists