Hi, I got the 2.6.27 kernel from http://xenbits.xensource.com/ext/linux-2.6.27-xen.hg. But the compilation returns error like below. How can I fix this problem? Thanks, H .... AR arch/x86/lib/lib.a LD vmlinux.o MODPOST vmlinux.o WARNING: modpost: Found 1 section mismatch(es). To see full details build your kernel with: ''make CONFIG_DEBUG_SECTION_MISMATCH=y'' GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 arch/x86/kernel/built-in.o: In function `timer_interrupt'': /usr/src/linux-2.6.27-xen.hg/arch/x86/kernel/time_32-xen.c:469: undefined reference to `__udivdi3'' make: *** [.tmp_vmlinux1] Error 1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
What system are you on 32 or 64 bit ? I did on 64-bit system:- http://lxer.com/module/newswire/view/114358/index.html --- On Wed, 2/25/09, NAHieu <nahieu@gmail.com> wrote: From: NAHieu <nahieu@gmail.com> Subject: [Xen-devel] Fail to compile 2.6.27-xen To: "Xen Developers" <xen-devel@lists.xensource.com> Date: Wednesday, February 25, 2009, 10:11 AM Hi, I got the 2.6.27 kernel from http://xenbits.xensource.com/ext/linux-2.6.27-xen.hg. But the compilation returns error like below. How can I fix this problem? Thanks, H .... AR arch/x86/lib/lib.a LD vmlinux.o MODPOST vmlinux.o WARNING: modpost: Found 1 section mismatch(es). To see full details build your kernel with: ''make CONFIG_DEBUG_SECTION_MISMATCH=y'' GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 arch/x86/kernel/built-in.o: In function `timer_interrupt'': /usr/src/linux-2.6.27-xen.hg/arch/x86/kernel/time_32-xen.c:469: undefined reference to `__udivdi3'' make: *** [.tmp_vmlinux1] Error 1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Thu, Feb 26, 2009 at 12:48 AM, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> What system are you on 32 or 64 bit ? > I did on 64-bit system:- > http://lxer.com/module/newswire/view/114358/index.htmlMine is 32bit, and gcc 4.3.2. I found a similar thread on this problem at http://fixunix.com/kernel/392174-re-undefined-reference-__udivdi3-gcc-4-3-a.html Jeremy, could you please look at this problem? It seems like what you solved before for Linux kernel. Thanks, H> > --- On Wed, 2/25/09, NAHieu <nahieu@gmail.com> wrote: > > From: NAHieu <nahieu@gmail.com> > Subject: [Xen-devel] Fail to compile 2.6.27-xen > To: "Xen Developers" <xen-devel@lists.xensource.com> > Date: Wednesday, February 25, 2009, 10:11 AM > > Hi, > > I got the 2.6.27 kernel from > http://xenbits.xensource.com/ext/linux-2.6.27-xen.hg. > But the compilation returns error like below. How can I fix this problem? > > Thanks, > H > > .... > AR arch/x86/lib/lib.a > LD vmlinux.o > MODPOST vmlinux.o > WARNING: modpost: Found 1 section mismatch(es). > To see full > details build your kernel with: > ''make CONFIG_DEBUG_SECTION_MISMATCH=y'' > GEN .version > CHK include/linux/compile.h > UPD include/linux/compile.h > CC init/version.o > LD init/built-in.o > LD .tmp_vmlinux1 > arch/x86/kernel/built-in.o: In function `timer_interrupt'': > /usr/src/linux-2.6.27-xen.hg/arch/x86/kernel/time_32-xen.c:469: > undefined reference to `__udivdi3'' > make: *** [.tmp_vmlinux1] Error 1 > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
NAHieu wrote:> > On Thu, Feb 26, 2009 at 12:48 AM, Boris Derzhavets > <bderzhavets@yahoo.com> wrote: >> What system are you on 32 or 64 bit ? >> I did on 64-bit system:- >> http://lxer.com/module/newswire/view/114358/index.html > > Mine is 32bit, and gcc 4.3.2. > > I found a similar thread on this problem at > http://fixunix.com/kernel/392174-re-undefined-reference-__udivdi3-gcc-4-3-a.html > > Jeremy, could you please look at this problem? It seems like what you > solved before for Linux kernel. >I''m having the same problem with gcc 4.3. It compiles with gcc 3.4, but I get an invalid opcode error in hypervisor.c when loading the kernel. Have you found a solution yet? -- View this message in context: http://www.nabble.com/Fail-to-compile-2.6.27-xen-tp22204721p22516410.html Sent from the Xen - Dev mailing list archive at Nabble.com. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel