|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] compilation trouble with latest xen
At 22:42 19/07/2007, Guillaume Rousse wrote:
While building xen itself:
ld -melf_i386 -T xen.lds -N \
boot/x86_32.o
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/common/built_in.o
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/drivers/built_in.o
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/built_in.o
\
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/common/symbols-dummy.o
-o
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/.xen-syms.0
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/common/built_in.o:
In function `strstr':
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/common/string.c:431:
undefined reference to `memcmp'
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/built_in.o:
In function `emulate_forced_invalid_op':
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/traps.c:563:
undefined reference to `memcmp'
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/traps.c:573:
undefined reference to `memcmp'
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/built_in.o:
In function `do_invalid_op':
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/traps.c:629:
undefined reference to `memcmp'
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/built_in.o:
In function `dmi_iterate':
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/dmi_scan.c:120:
undefined reference to `memcmp'
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/built_in.o:/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/mpparse.c:383:
more undefined references to `memcmp' follow
This is happening on mandriva cooker 32 bits, with gcc-4.2.1 and glibc
2.6 and 2.6.21 kernel headers.
I suspect this is more to do with the compiler than Xen.
Have you successfully compiled any other version of Xen?
I know that gcc-4.1.1 works OK for 3.1.0.
--
Mats
--
Guillaume Rousse
Moyens Informatiques - INRIA Futurs
Tel: 01 69 35 69 62
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|