Red Hat Bugzilla – Bug 109716
Kernel won't compile without modules support
Last modified: 2015-01-04 17:03:49 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a)
Gecko/20031010 Mozilla Firebird/0.6.1
Description of problem:
The kernel won't compile if you turn modules support off, due to a
misplaced #endif. I'll submit the patch.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. make menuconfig
2. Turn modules support off.
3. make dep bzImage
Actual Results: Kernel failed to compile due to
register_module_notifier and unregister_module_notifier being declared
as inline functions in include/linux/module.h (#ifndef CONFIG_MODULES)
and being declared as regular functions in kernel/modules.c (The #if
defined() #endifs too early, should also include the declaration of
these two functions).
Expected Results: Kernel should have compiled fine.
Created attachment 95897 [details]
Patch to fix the bug.
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases,
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/