[Bug 64091] backports build error

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=64091

Hauke Mehrtens <hauke@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hauke@xxxxxxxxxx

--- Comment #2 from Hauke Mehrtens <hauke@xxxxxxxxxx> ---
I looked into these error messages and I do not know my you get them. On our
test build with kernel 2.6.27.62 we haven't seen such an error, but this was
done with gcc-4.7.3.

Is it correct that you have a 2.6.27.57 kernel? What gcc version are you using?

For the first error in bitmap.h:145:

bitmap.h:
#include <linux/bitops.h>
#include <linux/kernel.h>
...
int len = BITS_TO_LONGS(nbits) * sizeof(unsigned long);

bitops.h
#define BITS_TO_LONGS(nr)    DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long))

kernel.h:
#define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))


You kernel.h is modified for me the include for types.h is in line 3, in your
error message it is in line 13.

Please post the first 25 lines of your kernel.h

You haven't installed the Module.symvers which is needed, this is probably
provided by some kernel development package.

-- 
You are receiving this mail because:
You are the assignee for the bug.
--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux