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

Re: [Xen-devel] build error from xen-unstable-src.tgz from uk site 22feb

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] build error from xen-unstable-src.tgz from uk site 22feb05 18:00 utc
From: woody <marvel@xxxxxxxxxx>
Date: Tue, 22 Feb 2005 11:12:55 -0800
Cc: xendev <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 22 Feb 2005 19:14:16 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <421B7DB1.8080700@xxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <E1D3ejb-0002wE-00@xxxxxxxxxxxxxxxxx> <421B7DB1.8080700@xxxxxxxxxx>
Reply-to: marvel@xxxxxxxxxx
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
found out, one must enter

rm -rf xen-unstable

prior to all the last post of info and untarring the pkg

thanks

wm
---------------
woody wrote:
this is the same steps I went thru, which I will do again, but I guess I did the impossible :'( . I downloaded it, did a tar xvfz xen-unstable.src.tgz and what I snipped came from the "make all". I am just reporting a fact.

http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/xen-unstable-src.tgz
Is this the same link file reference that you have on the web page?
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/

* shows tree
  
save link as:       xen-unstable-src.tgz

cd /root
tar xvfz xen-unstable-src.tgz

cd xen-unstable
make world

****************************
tail of tar xvfz xen-unstable-src.tgz
........................
xen-unstable/netbsd-2.0-xen-sparse/nbmake-xen
xen-unstable/netbsd-2.0-xen-sparse/mkbuildtree
xen-unstable/netbsd-2.0-xen-sparse/nbconfig-xen
xen-unstable/COPYING
xen-unstable/README
xen-unstable/patches/
xen-unstable/patches/linux-2.6.10/
xen-unstable/patches/linux-2.6.10/agpgart.patch
xen-unstable/install.sh
xen-unstable/Makefile
xen-unstable/ChangeLog
[root@dyn319664 ~]# pwd
/root
[root@dyn319664 ~]# cd xen-unstable
[root@dyn319664 xen-unstable]# make world
make clean
make[1]: Entering directory `/root/xen-unstable'
make -C xen clean
make[2]: Entering directory `/root/xen-unstable/xen'
make -C tools clean
make[3]: Entering directory `/root/xen-unstable/xen/tools'
make -C figlet clean
make[4]: Entering directory `/root/xen-unstable/xen/tools/figlet'
rm -f *.o figlet
make[4]: Leaving directory `/root/xen-unstable/xen/tools/figlet'
make[3]: Leaving directory `/root/xen-unstable/xen/tools'
make -C common clean
make[3]: Entering directory `/root/xen-unstable/xen/common'
rm -f *.o *~ core
make[3]: Leaving directory `/root/xen-unstable/xen/common'
make -C drivers clean
make[3]: Entering directory `/root/xen-unstable/xen/drivers'
make -C char clean
make[4]: Entering directory `/root/xen-unstable/xen/drivers/char'
rm -f *.o *~ core
make[4]: Leaving directory `/root/xen-unstable/xen/drivers/char'
make -C acpi clean
make[4]: Entering directory `/root/xen-unstable/xen/drivers/acpi'
rm -f *.o *~ core
make[4]: Leaving directory `/root/xen-unstable/xen/drivers/acpi'
make -C pci clean

****************************
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-format -pipe -I/root/xen-unstable/xen/include -Wno-pointer-arith -Wredundant-decls -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c irq.c -o irq.o
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Wall -Werror -Wno-format -pipe -I/root/xen-unstable/xen/include -Wno-pointer-arith -Wredundant-decls -O3 -fomit-frame-pointer -msoft-float -m32 -march=i686 -DNDEBUG -c memory.c -o memory.o
memory.c: In function `write_ptbase':
memory.c:204: error: `SHM_full_32' undeclared (first use in this function)
memory.c:204: error: (Each undeclared identifier is reported only once
memory.c:204: error: for each function it appears in.)
memory.c:208: error: structure has no member named `pagetable'
memory.c: In function `__invalidate_shadow_ldt':
memory.c:229: warning: implicit declaration of function `l1_pgentry_to_pagenr'
memory.c: In function `alloc_segdesc_page':
memory.c:256: warning: passing arg 1 of `check_descriptor' from incompatible pointer type
memory.c: In function `get_linear_pagetable':
memory.c:365: warning: implicit declaration of function `l2_pgentry_to_pagenr'
memory.c: In function `get_page_from_l1e':
memory.c:229: warning: redundant redeclaration of 'l1_pgentry_to_pagenr'
memory.c:229: warning: previous implicit declaration of 'l1_pgentry_to_pagenr' was here
memory.c: In function `get_page_from_l2e':
memory.c:365: warning: redundant redeclaration of 'l2_pgentry_to_pagenr'
memory.c:365: warning: previous implicit declaration of 'l2_pgentry_to_pagenr' was here
memory.c: In function `put_page_from_l1e':
memory.c:229: warning: redundant redeclaration of 'l1_pgentry_to_pagenr'
memory.c:229: warning: previous implicit declaration of 'l1_pgentry_to_pagenr' was here
memory.c: In function `put_page_from_l2e':
memory.c:365: warning: redundant redeclaration of 'l2_pgentry_to_pagenr'
memory.c:365: warning: previous implicit declaration of 'l2_pgentry_to_pagenr' was here
memory.c: In function `alloc_l1_table':
memory.c:563: error: `ENTRIES_PER_L1_PAGETABLE' undeclared (first use in this function)
memory.c: In function `free_l1_table':
memory.c:603: error: `ENTRIES_PER_L1_PAGETABLE' undeclared (first use in this function)
memory.c: In function `new_guest_cr3':
memory.c:948: error: structure has no member named `pagetable'
memory.c:949: error: structure has no member named `pagetable'
memory.c:951: warning: implicit declaration of function `shadow_mk_pagetable'
memory.c: In function `do_mmu_update':
memory.c:1381: warning: implicit declaration of function `hypercall_create_continuation'
memory.c:1492: error: `SHM_logdirty' undeclared (first use in this function)
memory.c: In function `do_update_va_mapping':
memory.c:1602: error: `SHM_logdirty' undeclared (first use in this function)
memory.c: In function `ptwr_flush':
memory.c:1738: error: `ENTRIES_PER_L1_PAGETABLE' undeclared (first use in this function)
memory.c:229: warning: redundant redeclaration of 'l1_pgentry_to_pagenr'
memory.c:229: warning: previous implicit declaration of 'l1_pgentry_to_pagenr' was here
memory.c: In function `ptwr_do_page_fault':
memory.c:1909: error: `ENTRIES_PER_L1_PAGETABLE' undeclared (first use in this function)
make[3]: *** [memory.o] Error 1
make[3]: Leaving directory `/root/xen-unstable/xen/arch/x86'
make[2]: *** [/root/xen-unstable/xen/xen] Error 2
make[2]: Leaving directory `/root/xen-unstable/xen'
make[1]: *** [xen] Error 2
make[1]: Leaving directory `/root/xen-unstable'
make: *** [world] Error 2
[root@dyn319664 xen-unstable]#

****************************

wm
--------

Keir Fraser wrote:
Even looking at the latest src tarball on the web 
 (http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/xen-unstable-src.tgz)I
 do not see your problem.

SHM_full_32 does not appear in the Xen source at all any more, so
getting a compile error/warning about it is impossible!

 -- Keir

  
Keir

And how would I do that? I have just been pulling the tgz and work that way.

wm
=====================
Keir Fraser wrote:

    
On 22 Feb 2005, at 18:04, woody wrote:

      
fc 3 intel 686 1 core

xen-unstable> make world

any thoughts on how to correct this?
        
Current unstable does not have this problem. Perhaps you can try a 
fresh clone of the repository?

 -- Keir


      
-- 
Sincerely, Woody Marvel   LTC Open Source Projects   Beaverton, OR
tel: 503-578-3833/775-3833	email: marvel@xxxxxxxxxx


    


  
-- 
Sincerely, Woody Marvel   LTC Open Source Projects   Beaverton, OR
tel: 503-578-3833/775-3833	email: marvel@xxxxxxxxxx
  

-- 
Sincerely, Woody Marvel   LTC Open Source Projects   Beaverton, OR
tel: 503-578-3833/775-3833	email: marvel@xxxxxxxxxx