Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using Ubuntu 10.04 LTS with kernel 2.6.32-21-generic , and Ubuntu 10.04.4 LTS with kernel 2.6.32-38-generic.

While I am trying to compile the source for both kernel version - 2.6.32-21-generic and 2.6.32-38-generic, I got following error.

" error: .size expression for do_hypervisor_callback does not evaluate to a constant "

make[2]: * [arch/x86/kernel/entry_64.o]

[arch/x86/kernel] Error 2

make: * [arch/x86] Error 2Error 1 make[1]: *

While searching in internet, several places I have seen the questions, but no answer except mentioning it is a bug . I am wondering Ubuntu 10.04 LTS is a stable version, but kernel has bug that too so many users pointed out about the bug.

Can anyone help me to figure out stable kernel version 2.6 source code so that I can download/compile the source code for 2.6 kernel and do my OS assignment.

BTW, I can't use kernel 3.0 , although Ubuntu 12.04 LTS has kernel 3.11.0-15 and I am successfully able to compile that kernel, but I need to compile kernel 2.6 for my work.

So should I go with Arch-Linux(Fedora) or stick to Ubuntu ?

So it will be great if any clue how to successfully compile kernel 2.6 or find a stable kernel 2.6 . Thanks in advance :)

share|improve this question

1 Answer 1

This looks more like an issue with XEN in your .config file. This happened to be before, and got resolved by disabling this part. Search for

CONFIG_XEN=y

and change it to

CONFIG_XEN=n

Happy compiling.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
{"cc_re__cc_re__cc_by_sa_3_0": ["sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"//careers.stackoverflow.com?utm_source=stackoverflow.com&amp;utm_medium=site-ui&amp;utm_campaign=footerlink\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n\r\n            <div id=\"copyright\">\r\n                site design / logo &#169; 2014 stack exchange inc; user contributions licensed under <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a>                   with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2014.12.22.2134\r\n            </div>\r\n            \r\n        </div>\r\n    </div>\r\n    <noscript>\r\n        <div id=\"noscript-warning\">Super User works best with JavaScript enabled<img src=\"http://pixel.quantserve.com/pixel/p-c1rF4kxgLUzNc.gif\" alt=\"\" class=\"dno\"></div>\r\n    </noscri"], "copyright__copyright__copyright": ["rnel 2.6 . Thanks in advance :)\n\nshare|improve this question\n\n1 Answer 1\n\nThis looks more like an issue with XEN in your .config file. This happened to be before, and got resolved by disabling this part. Search for\n\nCONFIG_XEN=y\n\nand change it to\n\nCONFIG_XEN=n\n\nHappy compiling.\n\nshare|improve this answer\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service.\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}