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-ia64-devel

[Xen-ia64-devel] Clean xen-ia64-unstable checkout gets build errors

To: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Subject: [Xen-ia64-devel] Clean xen-ia64-unstable checkout gets build errors
From: John Byrne <john.l.byrne@xxxxxx>
Date: Thu, 29 Sep 2005 11:59:17 -0700
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 29 Sep 2005 18:56:29 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050716)
vmx_process.c -o vmx_process.o
vmx/vmx_process.c:202:31: missing terminating " character
vmx/vmx_process.c: In function `save_banked_regs_to_vpd':
vmx/vmx_process.c:203: error: syntax error before "dep"
vmx/vmx_process.c:204: error: `st8' undeclared (first use in this function)
vmx/vmx_process.c:204: error: (Each undeclared identifier is reported only once
vmx/vmx_process.c:204: error: for each function it appears in.)
vmx/vmx_process.c:204: error: syntax error before '%' token
vmx/vmx_process.c:204:44: missing terminating " character
vmx/vmx_process.c:205: error: syntax error before ':' token

xc_ia64_stubs.c:31: error: conflicting types for `xc_vmx_build'
xenguest.h:64: error: previous declaration of `xc_vmx_build'

xs_tdb_dump.c: In function `main':
xs_tdb_dump.c:56: warning: field precision is not type int (arg 3)
xs_tdb_dump.c:61: warning: field precision is not type int (arg 3)
xs_tdb_dump.c:61: warning: int format, different type arg (arg 5)
xs_tdb_dump.c:66: warning: field precision is not type int (arg 2)

The attached patches make things build.

John
diff -r 4e1031ce3bc2 tools/libxc/xc_ia64_stubs.c
--- a/tools/libxc/xc_ia64_stubs.c       Mon Sep 26 17:15:55 2005
+++ b/tools/libxc/xc_ia64_stubs.c       Thu Sep 29 11:59:36 2005
@@ -17,17 +17,14 @@
 }
 
 int xc_vmx_build(int xc_handle,
-                   u32 domid,
-                   int memsize,
-                   const char *image_name,
-                   struct mem_map *mem_mapp,
-                   const char *ramdisk_name,
-                   const char *cmdline,
-                   unsigned int control_evtchn,
-                   unsigned long flags,
-                   unsigned int vcpus,
-                   unsigned int store_evtchn,
-                   unsigned long *store_mfn)
+                 uint32_t domid,
+                 int memsize,
+                 const char *image_name,
+                 unsigned int control_evtchn,
+                 unsigned long flags,
+                 unsigned int vcpus,
+                 unsigned int store_evtchn,
+                 unsigned long *store_mfn)
 {
     PERROR("xc_vmx_build not implemented\n");
     return -1;
diff -r 4e1031ce3bc2 tools/xenstore/xs_tdb_dump.c
--- a/tools/xenstore/xs_tdb_dump.c      Mon Sep 26 17:15:55 2005
+++ b/tools/xenstore/xs_tdb_dump.c      Thu Sep 29 11:59:36 2005
@@ -53,17 +53,17 @@
                hdr = (void *)data.dptr;
                if (data.dsize < sizeof(*hdr))
                        fprintf(stderr, "%.*s: BAD truncated\n",
-                               key.dsize, key.dptr);
+                               (int)key.dsize, key.dptr);
                else if (data.dsize != total_size(hdr))
                        fprintf(stderr, "%.*s: BAD length %i for %i/%i/%i 
(%i)\n",
-                               key.dsize, key.dptr, data.dsize,
+                               (int)key.dsize, key.dptr, (int)data.dsize,
                                hdr->num_perms, hdr->datalen,
                                hdr->childlen, total_size(hdr));
                else {
                        unsigned int i;
                        char *p;
 
-                       printf("%.*s: ", key.dsize, key.dptr);
+                       printf("%.*s: ", (int)key.dsize, key.dptr);
                        for (i = 0; i < hdr->num_perms; i++)
                                printf("%s%c%i",
                                       i == 0 ? "" : ",",
diff -r 4e1031ce3bc2 xen/arch/ia64/vmx/vmx_process.c
--- a/xen/arch/ia64/vmx/vmx_process.c   Mon Sep 26 17:15:55 2005
+++ b/xen/arch/ia64/vmx/vmx_process.c   Thu Sep 29 11:53:12 2005
@@ -199,8 +199,8 @@
     if(vpsr.bn){
         dst = &VCPU(v, vgr[0]);
         dunat =&VCPU(v, vnat);
-        __asm__ __volatile__ (";;extr.u %0 = %1,%4,16;;
-                            dep %2 = %0, %2, 0, 16;;
+        __asm__ __volatile__ (";;extr.u %0 = %1,%4,16;; \
+                            dep %2 = %0, %2, 0, 16;; \
                             st8 [%3] = %2;;"
        
::"r"(i),"r"(*sunat),"r"(*dunat),"r"(dunat),"i"(IA64_PT_REGS_R16_SLOT):"memory");
 
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] Clean xen-ia64-unstable checkout gets build errors, John Byrne <=