Fail to compile 2.6.27-xen
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
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 <[email protected]> wrote:
From: NAHieu <[email protected]>
Subject: [Xen-devel] Fail to compile 2.6.27-xen
To: "Xen Developers" <[email protected]>
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
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 3 lines · Boris Derzhavets
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.
Thanks,
H
Quoted 42 lines
--- On Wed, 2/25/09, NAHieu <[email protected]> wrote:
From: NAHieu <[email protected]>
Subject: [Xen-devel] Fail to compile 2.6.27-xen
To: "Xen Developers" <[email protected]>
Date: Wednesday, February 25, 2009, 10:11 AMHi,
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....
ARarch/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:
'makeCONFIG_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
[email protected]
http://lists.xensource.com/xen-devel