lkml.org 
[lkml]   [2005]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[-mm patch] CKRM_TYPE_SOCKETCLASS must depend on INET
CKRM_TYPE_SOCKETCLASS=y, NET=n, INET=n results in the following link 
error:

<-- snip -->

...
LD .tmp_vmlinux1
kernel/built-in.o: In function `cb_sockclass_listen_stop':
ckrm_sockc.c:(.text+0x27e2b): undefined reference to `sk_free'
kernel/built-in.o: In function `ckrm_sock_forced_reclassify_ns':
ckrm_sockc.c:(.text+0x280d5): undefined reference to
`tcp_v4_lookup_listener'
ckrm_sockc.c:(.text+0x280e4): undefined reference to `lock_sock'
ckrm_sockc.c:(.text+0x28134): undefined reference to `release_sock'
ckrm_sockc.c:(.text+0x28154): undefined reference to `sk_free'
kernel/built-in.o: In function `ckrm_sock_reclassify_class':
ckrm_sockc.c:(.text+0x2851e): undefined reference to `lock_sock'
ckrm_sockc.c:(.text+0x2853b): undefined reference to `release_sock'
make: *** [.tmp_vmlinux1] Error 1

<-- snip -->


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.13-rc3-mm1-full/init/Kconfig.old 2005-07-17 21:45:25.000000000 +0200
+++ linux-2.6.13-rc3-mm1-full/init/Kconfig 2005-07-17 21:46:03.000000000 +0200
@@ -184,7 +184,7 @@

config CKRM_TYPE_SOCKETCLASS
bool "Class Manager for socket groups"
- depends on CKRM && RCFS_FS
+ depends on INET && CKRM && RCFS_FS
default y
help
SOCKET provides the extensions for CKRM to track per socket
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-17 22:37    [W:0.023 / U:0.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site