[lfs-support] I cannot build the kernel

Jean-Philippe MENGUAL jmengual at linuxfromscratch.org
Sun Mar 10 19:40:14 PDT 2013


Thanks for your info, it fixed the problem. :) Actually I tried building another
C program and, as you mention, I cannot build. So, I tried chrooting again,
with a simple chroot $LFS. And it works. So I think I have a problem in my
chroot command at the end of the chap6. I will go on with this simple chroot,
then it would fix everything. :)

Thanks very much.

Regards,

On Monday 11 Mar 2013 à 02:27:49 (+0000), Ken Moffat wrote:
> On Mon, Mar 11, 2013 at 03:04:39AM +0100, Jean-Philippe MENGUAL wrote:
> > 
> > Hi,
> > 
> > Maybe I made too quickly the system, so I plan to start again from scratch.
> > But maybe I can understand 9hat happens before: in the kernel, when I do make,
> > I get:
> > 
> >   SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h 
> >   HOSTCC  scripts/basic/fixdep 
> >   gcc: error trying to exec 'cc1': execvp: No such file or directory 
> >   make[1]: *** [scripts/basic/fixdep] Error 1 make: *** [scripts_basic] Error 2
> >   
> > I've never had such error building my kernel. Can I rescue anything? Otherwise
> > I will re-build the system. However I thought everything installed fine (tests
> > finished without errors).
> > 
> > Well if you've an idea...
> > 
> > Regards,
> > 
> > JP
>  Everything that google finds suggests your gcc installation is
> broken.  I would not rate the results of 'make check' as useful in
> that context (we've all seen b0rken systems, such as the breakage in
> approx 7.0 (?sound, I think - my report is in the archives, along
> with Andy's deprecation of 'make check')  where make check was fine).
> But if everything after gcc *compiled* OK then this error sounds
> unlikely.
> 
>  So, have you changed something between completing chapter 6 and
> building the kernel ?  The error implies that you cannot compile
> *any* normal C program.
> 
> ??en
> -- 
> das eine Mal als Tragödie, das andere Mal als Farce
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page



More information about the lfs-support mailing list