Re: ubuntu boot problem after compiling new kernel
From: Matt
Date: Fri Feb 11 2011 - 18:00:25 EST
>Thanks Chris and Anca,
>I tried to compile latest kernel(2.6.37). but I receive an assembly
>error: /include/trace/events/kmem.h:45: undefined reference to
>'.L1747'. I didn't have any error at linux-2.6.18.1 compilation. I
>read somewhere that kernel should be compiled by gcc-3.4 . Thus I
>used gcc-3.4 to compile. Do you think it's a compiler issue? Should I
>use another gcc version?
>Sorry for asking stupid questions from you experts. I'm a newbie at
>working with kernel.
>Thanks in advance
Hi Amirali,
perhaps for 2.6.18* gcc-3.4* is used
but with 2.6.37 you could use the included gcc-4.4.3 (in Ubuntu 10.04)
and gcc-4.4.4
(according to http://distrowatch.com/table.php?distribution=ubuntu)
that worked fine for me in the past.
I don't know if you have full access to it but:
help.ubuntu.com - which is a sort of wiki for Ubuntu can be very
helpful in those things :)
https://help.ubuntu.com/community/Kernel/Compile
might help
If a pre-built vanilla-kernel is alright for you, you can also use the
ones provided by Ubuntu:
http://lwn.net/Articles/321473/
https://wiki.ubuntu.com/Kernel/MainlineBuilds?action=show&redirect=KernelMainlineBuilds
I hope that's what you're looking for
Regards
Matt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/