LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Error compiling kernel 3.2.6 LFS 7.1 (http://www.linuxquestions.org/questions/linux-from-scratch-13/error-compiling-kernel-3-2-6-lfs-7-1-a-4175417649/)

poisoning 07-19-2012 01:42 PM

Error compiling kernel 3.2.6 LFS 7.1
 
Compiling kernel 3.2.6 I get several errors such as:

arch/x86/kernel/reboot_32.S: Assembler messages:
arch/x86/kernel/reboot_32.S:134: Warning: shift count out of range (32 is not between 0 and 31)
arch/x86/kernel/reboot_32.S:134: Warning: shift count out of range (40 is not between 0 and 31)
arch/x86/kernel/reboot_32.S:134: Warning: shift count out of range (32 is not between 0 and 31)
arch/x86/kernel/head_32.S: Assembler messages:
arch/x86/kernel/head_32.S:64: Warning: shift count out of range (32 is not between 0 and 31)
....
....
fs/ecryptfs/miscdev.c: In function 'ecryptfs_miscdev_write':
fs/ecryptfs/miscdev.c:427: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'unsigned int'

fs/nfs/nfs4proc.c: In function __nfs4_get_acl_uncached:
fs/nfs/nfs4proc.c:3589: warning: format ld expects type long int, but argument 4 has type size_t
fs/nfs/nfs4proc.c:3589: warning: format ld expects type long int, but argument 6 has type size_t

usr/src/linux-3.2.6/arch/x86/include/asm/uaccess_32.h: In function 'parse_command.part.4'

drivers/block/DAC960.c: in function 'DAC960_V2_ProccessCompletedCommand'

drivers/block/drbd/drbd_main.c: In function 'drbd_buildtag':
drivers/block/drbd/drbd_main.c:4187:19: warning: the comparison will always evaluate as 'true' for the address of '__this_module' will never be NULL [-Waddress]
drivers/edac/i7300_edac.c: In function 'i7300_init_one':
drivers/edac/i7300_edac.c:825:23: warning: 'nr_pages' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/edac/i7300_edac.c:781:21: note: 'nr_pages' was declared here
drivers/hwmon/applesmc.c in function 'apple_get_entry_by_key'
...
...


help please, I'm doing a generic kernel for my livecd.
I apply a patch to the kernel?


All times are GMT -5. The time now is 11:49 AM.