I compile on x86_64 with "make -C xen", actually it''s warning, not error. make -C arch/x86 make[1]: Entering directory `/root/bk/xeno-unstable.bk/xen/arch/x86'' gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe -I/root/bk/xeno-unstable.bk/xen/include -I/root/bk/xeno-unstable.bk/xen/include/asm-x86/mach-generic -I/root/bk/xeno-unstable.bk/xen/include/asm-x86/mach-default -O3 -fomit-frame-pointer -msoft-float -m64 -mno-red-zone -fpic -fno-reorder-blocks -fno-asynchronous-unwind-tables -DNDEBUG -c dmi_scan.c -o dmi_scan.o cc1: warnings being treated as errors dmi_scan.c: In function "dmi_string": dmi_scan.c:44: warning: pointer targets in passing argument 1 of "strlen" differ in signedness dmi_scan.c:48: warning: pointer targets in return differ in signedness dmi_scan.c: In function "dmi_table": dmi_scan.c:63: warning: pointer targets in assignment differ in signedness make[1]: *** [dmi_scan.o] Error 1 make[1]: Leaving directory `/root/bk/xeno-unstable.bk/xen/arch/x86'' make: *** [/root/bk/xeno-unstable.bk/xen/xen] Error 2 make: Leaving directory `/root/bk/xeno-unstable.bk/xen'' -Xin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2005-May-25 22:15 UTC
Re: [Xen-devel] Latest bk still can not compile on x86_64
On 25 May 2005, at 23:15, Li, Xin B wrote:> I''m using gcc 4: > > [root@vt-console xeno-unstable.bk]# gcc --version > gcc (GCC) 4.0.0 20050423 (Red Hat 4.0.0-2) > Copyright (C) 2005 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is > NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. > > Will that cause any compiling issue?Yes, that was the problem. I''ve now fixed it so gcc4 ought to work again. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Li, Xin B wrote:> I compile on x86_64 with "make -C xen", actually it''s > warning, not error. >I''m using gcc 4: [root@vt-console xeno-unstable.bk]# gcc --version gcc (GCC) 4.0.0 20050423 (Red Hat 4.0.0-2) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Will that cause any compiling issue? -Xin> make -C arch/x86 > make[1]: Entering directory > `/root/bk/xeno-unstable.bk/xen/arch/x86'' gcc -nostdinc > -fno-builtin -fno-common -fno-strict-aliasing > -iwithprefix include -Wall -Werror -Wno-pointer-arith > -pipe > -I/root/bk/xeno-unstable.bk/xen/include > -I/root/bk/xeno-unstable.bk/xen/include/asm-x86/mach-generic > -I/root/bk/xeno-unstable.bk/xen/include/asm-x86/mach-default -O3 > -fomit-frame-pointer -msoft-float -m64 -mno-red-zone -fpic > -fno-reorder-blocks -fno-asynchronous-unwind-tables > -DNDEBUG -c dmi_scan.c -o dmi_scan.o > cc1: warnings being treated as errors > dmi_scan.c: In function "dmi_string": > dmi_scan.c:44: warning: pointer targets in passing > argument 1 of "strlen" differ in signedness > dmi_scan.c:48: warning: pointer targets in return differ > in signedness dmi_scan.c: In function "dmi_table": > dmi_scan.c:63: warning: pointer targets in assignment > differ in signedness > make[1]: *** [dmi_scan.o] Error 1 > make[1]: Leaving directory > `/root/bk/xeno-unstable.bk/xen/arch/x86'' make: *** > [/root/bk/xeno-unstable.bk/xen/xen] Error 2 > make: Leaving directory `/root/bk/xeno-unstable.bk/xen'' > > -Xin > > _______________________________________________ > 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