Thanks for your help, I restarted  and at all times   issued     
source.bash_profile     prior to    chroot  entry and this seems to have done 
the trick.  The kernel now compiles.
However the  machine will not boot. I get the error 

fsck.ext3  no such file or directory.    

I checked and the fsck.XXX  programs  are i installed /sbin   with permissions 
755. 


Regarding the problem, I do not know if   these are related but 

A) the host is running lilo   which so far has booted all the other pure 64-bit 
builds I have made AND
B)  initially udev-182  failed o compile on my first go as kmod-10  was   
mysteriously compiled tested but not installed.  This  was fixed.  
C)  I also noted some errors in the boot script referring to /bin/udevadm  I 
changed these to   /sbin/udevadm  and some of the boot errors disappeared 
leaving the  error mentioned above. 

advice would be much appreciated

thanks again
lux-integ

________________________________________
From: [email protected] 
[[email protected]] on behalf of Ken Moffat 
[[email protected]]
Sent: 26 September 2012 19:41
To: BLFS Support List
Subject: Re: [blfs-support] linux kernel wont compile, gcc-4.6.3?

On Wed, Sep 26, 2012 at 02:14:01PM +0000, lux integ wrote:
>
> kernel/sys.c: In function 'override_release':
> kernel/sys.c:1284:28: error: expected expression before '>>' token
> make[1]: *** [kernel/sys.o] Error 1
> make: *** [kernel] Error 2
>
 I can't comment on clfs specifics (haven't built that for some
years), but the line in the source is

                v = ((LINUX_VERSION_CODE >> 8) & 0xff) + 40;

 Sounds as if LINUX_VERSION_CODE is blank when you compile.

 It is defined at line 836 in the Makefile, and the result is in
include/linux/version.h : 197892 in my 3.5.4 tree after compiling.
Looks as if your _shell_ might be the problem.  No ideas about what
would cause that error, you really need to ask on the clfs lists
when you can get to them.  Good luck with bt.

ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to