Problems with disabling Optimization
From: Dave Hylands <hidden>
Date: 2011-06-02 14:49:40
From: Dave Hylands <hidden>
Date: 2011-06-02 14:49:40
Hi Prabhu, On Thu, Jun 2, 2011 at 3:28 AM, Prabhu nath [off-list ref] wrote:
Dear All, ?????????????? Disabling O2 and Os on Kernel building, I am getting the following error. Can you please help me in debugging this. ?????? Saw some info on the net, but could not resolve it. ERROR: "intel_gmbus_is_forced_bit" [drivers/gpu/drm/i915/i915.ko] undefined! ERROR: "__udivdi3" [drivers/gpu/drm/i915/i915.ko] undefined!
This means that your code is trying to do some type of 64-bit arithmetic (probably a divide) which isn't directly supported in the kernel. There is a do_div macro/function from arch/arm/include/asm/div64.h, or arch/x86/include/asm/div64.h -- Dave Hylands Shuswap, BC, Canada http://www.davehylands.com