LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 07-19-2012, 01:42 PM   #1
poisoning
Member
 
Registered: Mar 2011
Posts: 39

Rep: Reputation: 0
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error compiling Glibc-2.12.1 in LFS 6.7 poisoning Linux From Scratch 2 05-22-2011 12:09 AM
Error compiling Linux kernel API headers development LFS krzysz00 Linux From Scratch 3 03-14-2009 04:51 PM
error using lfs while compiling lfs book's 6.12 (gcc-4.1.2) section aditya_gpch Linux From Scratch 3 04-24-2008 04:23 PM
Error compiling Pacman on LFS 6.1.1 Vampirite Linux From Scratch 13 04-11-2007 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration