POSIX_MQUEUE depends on NET
PATCH 1/1 POSIX_MQUEUE depends on NET
POSIX_MQUEUE=y and NET=n results in the following compile error in 2.6.7-mm1:
<-- snip -->
...
LD .tmp_vmlinux1
ipc/built-in.o(.text+0x50fd): In function `__do_notify':
: undefined reference to netlink_sendskb' ipc/built-in.o(.text+0x52a1): In function remove_notification':
: undefined reference to netlink_sendskb' ipc/built-in.o(.text+0x5c23): In function sys_mq_notify':
: undefined reference to netlink_detachskb' ipc/built-in.o(.text+0x5c50): In function sys_mq_notify':
: undefined reference to __kfree_skb' ipc/built-in.o(.text+0x5d34): In function sys_mq_notify':
: undefined reference to alloc_skb' ipc/built-in.o(.text+0x5da9): In function sys_mq_notify':
: undefined reference to netlink_getsockbyfilp' ipc/built-in.o(.text+0x5dd6): In function sys_mq_notify':
: undefined reference to netlink_attachskb' ipc/built-in.o(.text+0x5dfb): In function sys_mq_notify':
: undefined reference to `skb_over_panic'
make: *** [.tmp_vmlinux1] Error 1
<-- snip -->
The fix is simple:
init/Kconfig renamed from init/Kconfig.old +1 -1
@@ -92,7 +92,7 @@ config POSIX_MQUEUE bool "POSIX Message Queues" - depends on EXPERIMENTAL + depends on NET && EXPERIMENTAL ---help--- POSIX variant of message queues is a part of IPC. In POSIX message queues every message has a priority which decides about succession
Please apply
Adrian
Signature · 4 lines
"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