Re: Problems with disabling Optimization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Prabhu,

On Thu, Jun 2, 2011 at 3:28 AM, Prabhu nath <gprabhunath@xxxxxxxxx> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux