Hello guys, It's not possible to compile kernel if CONFIG_NETCONSOLE_DYNAMIC is turned on ... drivers/built-in.o: In function `netconsole_target_put': /usr/src/linux-3.0/drivers/net/netconsole.c:133: undefined reference to `config_item_put' drivers/built-in.o: In function `netconsole_target_get': /usr/src/linux-3.0/drivers/net/netconsole.c:127: undefined reference to `config_item_get' drivers/built-in.o: In function `netconsole_target_put': /usr/src/linux-3.0/drivers/net/netconsole.c:133: undefined reference to `config_item_put' drivers/built-in.o: In function `netconsole_target_get': /usr/src/linux-3.0/drivers/net/netconsole.c:127: undefined reference to `config_item_get' drivers/built-in.o: In function `netconsole_target_put': /usr/src/linux-3.0/drivers/net/netconsole.c:133: undefined reference to `config_item_put' drivers/built-in.o: In function `drop_netconsole_target': /usr/src/linux-3.0/drivers/net/netconsole.c:588: undefined reference to `config_item_put' drivers/built-in.o: In function `make_netconsole_target': /usr/src/linux-3.0/drivers/net/netconsole.c:561: undefined reference to `config_item_init_type_name' drivers/built-in.o: In function `dynamic_netconsole_init': /usr/src/linux-3.0/drivers/net/netconsole.c:109: undefined reference to `config_group_init' /usr/src/linux-3.0/drivers/net/netconsole.c:111: undefined reference to `configfs_register_subsystem' drivers/built-in.o: In function `dynamic_netconsole_exit': /usr/src/linux-3.0/drivers/net/netconsole.c:116: undefined reference to `configfs_unregister_subsystem' make: *** [.tmp_vmlinux1] Error 1 Thank you very much, David C. Hill
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Mon, 20 Jun 2011 19:09:49 GMT bugzilla-daemon@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=37992 > > Summary: It's not possible to compile kernel if > CONFIG_NETCONSOLE_DYNAMIC is turned on > Product: Drivers > Version: 2.5 > Kernel Version: 3.0-rc3+ > Platform: All > OS/Version: Linux > Tree: Mainline > Status: NEW > Severity: high > Priority: P1 > Component: Network > AssignedTo: drivers_network@kernel-bugs.osdl.org > ReportedBy: hilld@binarystorm.net > Regression: No > > > Hello guys, > > It's not possible to compile kernel if CONFIG_NETCONSOLE_DYNAMIC is > turned > on ... > > drivers/built-in.o: In function `netconsole_target_put': > /usr/src/linux-3.0/drivers/net/netconsole.c:133: undefined reference to > `config_item_put' > drivers/built-in.o: In function `netconsole_target_get': > /usr/src/linux-3.0/drivers/net/netconsole.c:127: undefined reference to > `config_item_get' > drivers/built-in.o: In function `netconsole_target_put': > /usr/src/linux-3.0/drivers/net/netconsole.c:133: undefined reference to > `config_item_put' > drivers/built-in.o: In function `netconsole_target_get': > /usr/src/linux-3.0/drivers/net/netconsole.c:127: undefined reference to > `config_item_get' > drivers/built-in.o: In function `netconsole_target_put': > /usr/src/linux-3.0/drivers/net/netconsole.c:133: undefined reference to > `config_item_put' > drivers/built-in.o: In function `drop_netconsole_target': > /usr/src/linux-3.0/drivers/net/netconsole.c:588: undefined reference to > `config_item_put' > drivers/built-in.o: In function `make_netconsole_target': > /usr/src/linux-3.0/drivers/net/netconsole.c:561: undefined reference to > `config_item_init_type_name' > drivers/built-in.o: In function `dynamic_netconsole_init': > /usr/src/linux-3.0/drivers/net/netconsole.c:109: undefined reference to > `config_group_init' > /usr/src/linux-3.0/drivers/net/netconsole.c:111: undefined reference to > `configfs_register_subsystem' > drivers/built-in.o: In function `dynamic_netconsole_exit': > /usr/src/linux-3.0/drivers/net/netconsole.c:116: undefined reference to > `configfs_unregister_subsystem' > make: *** [.tmp_vmlinux1] Error 1
A patch referencing this bug report has been merged in Linux v3.0-rc6: commit 58fa45973117ab7a79d5b6818275a887867fc4d7 Author: Randy Dunlap <randy.dunlap@oracle.com> Date: Tue Jun 21 08:01:20 2011 +0000 netconsole: fix build when CONFIG_NETCONSOLE_DYNAMIC is turned on