From mboxrd@z Thu Jan 1 00:00:00 1970 From: ali@internetdog.org (Ali Bahar) Date: Mon, 6 Jun 2011 10:52:47 +0800 Subject: Problems with disabling Optimization In-Reply-To: References: Message-ID: <20110606025247.GC15480@internetdog.org> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org > Disabling O2 and Os on Kernel building, I am getting the > following error. Can you please help me in debugging this. > ERROR: "intel_gmbus_is_forced_bit" [drivers/gpu/drm/i915/i915.ko] undefined! > ERROR: "__udivdi3" [drivers/gpu/drm/i915/i915.ko] undefined! > make[2]: *** [__modpost] Error 1 > make[1]: *** [modules] Error 2 > make: *** [sub-make] Error 2 It's been a while since I (last) disabled these, but I did not run into a compilation error because of it. And I recall the box needing i915, too. Is this a case of simply needing to do a _clean_ build? later, ali PS IIRC, a CONFIG option exists _but_ I also had to edit a makefile to get everything disabled -- though don't ask me when and where that was! :-)