2.6.17-mm6: kernel/sysctl.c: PROC_FS=n compile error

From: Adrian Bunk
Date: Sat Jul 08 2006 - 16:18:52 EST


namespaces-utsname-sysctl-hack.patch and ipc-namespace-sysctls.patch
cause the following compile error with CONFIG_PROC_FS=n:

<-- snip -->

...
CC kernel/sysctl.o
kernel/sysctl.c:107: warning: #proc_do_ipc_string# used but never defined
kernel/sysctl.c:150: warning: #proc_do_utsns_string# used but never defined
kernel/sysctl.c:2465: warning: #proc_do_uts_string# defined but not used
...
LD .tmp_vmlinux1
kernel/built-in.o:(.data+0x938): undefined reference to `proc_do_utsns_string'
kernel/built-in.o:(.data+0x964): undefined reference to `proc_do_utsns_string'
kernel/built-in.o:(.data+0x990): undefined reference to `proc_do_utsns_string'
kernel/built-in.o:(.data+0x9bc): undefined reference to `proc_do_utsns_string'
kernel/built-in.o:(.data+0x9e8): undefined reference to `proc_do_utsns_string'
kernel/built-in.o:(.data+0xc24): undefined reference to `proc_do_ipc_string'
kernel/built-in.o:(.data+0xc50): undefined reference to `proc_do_ipc_string'
kernel/built-in.o:(.data+0xc7c): undefined reference to `proc_do_ipc_string'
kernel/built-in.o:(.data+0xca8): undefined reference to `proc_do_ipc_string'
kernel/built-in.o:(.data+0xcd4): undefined reference to `proc_do_ipc_string'
kernel/built-in.o:(.data+0xd00): more undefined references to `proc_do_ipc_string' follow
make: *** [.tmp_vmlinux1] Error 1

<-- snip -->

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/