From mboxrd@z Thu Jan 1 00:00:00 1970 From: woody Subject: Re: build error from xen-unstable-src.tgz from uk site 22feb05 18:00 utc Date: Tue, 22 Feb 2005 10:45:05 -0800 Message-ID: <421B7DB1.8080700@us.ibm.com> References: Reply-To: marvel@us.ibm.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------000101080104070703000803" In-Reply-To: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Keir Fraser , xendev List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------000101080104070703000803 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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@us.ibm.com >> >> >> >> > > > > -- Sincerely, Woody Marvel LTC Open Source Projects Beaverton, OR tel: 503-578-3833/775-3833 email: marvel@us.ibm.com --------------000101080104070703000803 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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@us.ibm.com


    


  
-- 
Sincerely, Woody Marvel   LTC Open Source Projects   Beaverton, OR
tel: 503-578-3833/775-3833	email: marvel@us.ibm.com
--------------000101080104070703000803-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click