WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Error compiling Xen 2.0.7 on Fedora Core 4 with gcc4

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Error compiling Xen 2.0.7 on Fedora Core 4 with gcc4
From: "Chetan Jog" <cjog@xxxxxxxxxx>
Date: Mon, 8 Aug 2005 18:57:30 -0400
Delivery-date: Mon, 08 Aug 2005 22:56:10 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWcbIXYWuyJ8qX1SYeLXJMdQ8sQnQ==
Thread-topic: Error compiling Xen 2.0.7 on Fedora Core 4 with gcc4

All,
I am trying to compile Xen 2.0.7 on Fedora Core release 4 (Stentz) and gcc version 4.0.0 20050519 (Red Hat 4.0.0-8). I am getting the following compile error when I run "make world".

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
make[3]: Entering directory `/root/xen-2.0/xen/arch/x86'
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -pipe -I/root/xen-2.0/xen/include -Wno-pointer-arith -Wredundant-decls -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -S -o asm-offsets.s x86_32/asm-offsets.c

In file included from /root/xen-2.0/xen/include/asm/page.h:117,
from /root/xen-2.0/xen/include/asm/fixmap.h:18,
from /root/xen-2.0/xen/include/asm/smp.h:6,
from /root/xen-2.0/xen/include/xen/smp.h:13,
from /root/xen-2.0/xen/include/xen/sched.h:11,
from x86_32/asm-offsets.c:7:
/root/xen-2.0/xen/include/asm/processor.h:175: error: array type has incomplete element type
make[3]: *** [asm-offsets.s] Error 1
make[3]: Leaving directory `/root/xen-2.0/xen/arch/x86'
make[2]: *** [/root/xen-2.0/xen/xen] Error 2
make[2]: Leaving directory `/root/xen-2.0/xen'
make[1]: *** [xen] Error 2
make[1]: Leaving directory `/root/xen-2.0'
make: *** [world] Error 2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Even if I fix this error above, I get other errors as noted below.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -pipe -I/root/xen-2.0/xen/include -Wno-pointer-arith -Wredundant-decls -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c kernel.c -o kernel.o

cc1: warnings being treated as errors
kernel.c: In function ‘cmdline_parse’:
kernel.c:34: warning: pointer targets in assignment differ in signedness
kernel.c:37: warning: pointer targets in assignment differ in signedness
kernel.c:49: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness
kernel.c:56: warning: pointer targets in passing argument 1 of ‘simple_strtol’ differ in signedness
kernel.c:63: warning: pointer targets in assignment differ in signedness
make[3]: *** [kernel.o] Error 1
make[3]: Leaving directory `/root/xen-2.0/xen/common'
make[2]: *** [/root/xen-2.0/xen/xen] Error 2
make[2]: Leaving directory `/root/xen-2.0/xen'
make[1]: *** [xen] Error 2
make[1]: Leaving directory `/root/xen-2.0'
make: *** [world] Error 2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Any input will be highly appreciated.
- Chetan


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users