Hi, I''ve seen another post in the archives that described the problem I am having, but I didn''t see any solution. In any case, when I enable PAE and get a lot of errors when I try to make install. /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `__shadow_validate_guest_entry'':/xen/xen- 3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:287: undefined reference to `sh_map_and_validate_gl3e__shadow_3_guest_3'' :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:284: undefined reference to `sh_map_and_validate_gl2he__shadow_3_guest_3'' :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:281: undefined reference to `sh_map_and_validate_gl2e__shadow_3_guest_3'' :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:278: undefined reference to `sh_map_and_validate_gl1e__shadow_3_guest_3'' :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:272: undefined reference to `sh_map_and_validate_gl2e__shadow_3_guest_2'' :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:262: undefined reference to `sh_map_and_validate_gl1e__shadow_3_guest_2'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `sh_remove_shadow_via_pointer'':/xen/xen- 3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:2038: undefined reference to `sh_clear_shadow_entry__shadow_3_guest_3'' :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:2030: undefined reference to `sh_clear_shadow_entry__shadow_3_guest_2'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `sh_update_paging_modes'':/xen/xen- 3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:2259: undefined reference to `sh_paging_mode__shadow_3_guest_3'' :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:2289: undefined reference to `sh_paging_mode__shadow_3_guest_3'' :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:2323: undefined reference to `sh_paging_mode__shadow_3_guest_3'' :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:2323: undefined reference to `sh_paging_mode__shadow_3_guest_2'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `shadow_prealloc'':/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:594:undefined reference to `sh_unpin_all_l3_subshadows__shadow_3_guest_3'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `sh_remove_shadows'':/xen/xen- 3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:2172: undefined reference to `sh_unpin_all_l3_subshadows__shadow_3_guest_3'' :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:2189: undefined reference to `sh_pae_recopy'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `shadow_unhook_mappings'':/xen/xen- 3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:545: undefined reference to `sh_unhook_32b_mappings__shadow_3_guest_2'' :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:550: undefined reference to `sh_unhook_pae_mappings__shadow_3_guest_3'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `sh_destroy_shadow'':/xen/xen- 3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:1698: undefined reference to `sh_destroy_l1_shadow__shadow_3_guest_2'' :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:1715: undefined reference to `sh_destroy_l3_shadow__shadow_3_guest_3'' :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:1712: undefined reference to `sh_destroy_l2_shadow__shadow_3_guest_3'' :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:1708: undefined reference to `sh_destroy_l1_shadow__shadow_3_guest_3'' :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:1701: undefined reference to `sh_destroy_l2_shadow__shadow_3_guest_2'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `trampoline_end'': undefined reference to `sh_remove_all_mappings__shadow_3_guest_2'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `trampoline_end'': undefined reference to `sh_remove_all_mappings__shadow_3_guest_2'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `trampoline_end'': undefined reference to `sh_remove_all_mappings__shadow_3_guest_3'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `trampoline_end'': undefined reference to `sh_remove_all_mappings__shadow_3_guest_3'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `trampoline_end'': undefined reference to `sh_remove_write_access__shadow_3_guest_2'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `trampoline_end'': undefined reference to `sh_remove_write_access__shadow_3_guest_2'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `trampoline_end'': undefined reference to `sh_remove_write_access__shadow_3_guest_3'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `trampoline_end'': undefined reference to `sh_remove_write_access__shadow_3_guest_3'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `trampoline_end'': undefined reference to `sh_remove_l1_shadow__shadow_3_guest_2'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `trampoline_end'': undefined reference to `sh_remove_l1_shadow__shadow_3_guest_3'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `trampoline_end'': undefined reference to `sh_remove_l1_shadow__shadow_3_guest_3'' /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function `trampoline_end'': undefined reference to `sh_remove_l2_shadow__shadow_3_guest_3'' Any help on how to solve this problem would be appreciated. Thanks. Terry _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-Feb-06 10:51 UTC
RE: [Xen-users] make install fails when pae is enabled
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Terry Wilcox > Sent: 05 February 2007 17:21 > To: xen-users@lists.xensource.com > Subject: [Xen-users] make install fails when pae is enabled > > Hi, > > I''ve seen another post in the archives that described the > problem I am having, but I didn''t see any solution. > > In any case, when I enable PAE and get a lot of errors when I > try to make install.You didn''t "make clean" first, did you? "make install" will just rebuild based on files that have changed. Since the PAE option isn''t in a source-file, but rather in the make-script for the Xen-files, it fails to recognize this fact, and just rebuilds the binaries. Since some small parts of Xen are rebuilt, it does try to link it, but your shadow-paging-code hasn''t been rebuilt, and thus it''s not got the right code for PAE! -- Mats> > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `__shadow_validate_guest_entry'':/xen/xen-3.0.3_0-src/xen/arch/ > x86/mm/shadow/common.c:287: undefined reference to > `sh_map_and_validate_gl3e__shadow_3_guest_3'' > :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:284: > undefined reference to `sh_map_and_validate_gl2he__shadow_3_guest_3'' > :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:281: > undefined reference to `sh_map_and_validate_gl2e__shadow_3_guest_3'' > :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:278: > undefined reference to `sh_map_and_validate_gl1e__shadow_3_guest_3'' > :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:272: > undefined reference to `sh_map_and_validate_gl2e__shadow_3_guest_2'' > :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:262: > undefined reference to `sh_map_and_validate_gl1e__shadow_3_guest_2'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `sh_remove_shadow_via_pointer'':/xen/xen- > 3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:2038: undefined > reference to `sh_clear_shadow_entry__shadow_3_guest_3'' > :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:2030: > undefined reference to `sh_clear_shadow_entry__shadow_3_guest_2'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `sh_update_paging_modes'':/xen/xen-3.0.3_0-src/xen/arch/x86/mm/ > shadow/common.c:2259: undefined reference to > `sh_paging_mode__shadow_3_guest_3'' > :/xen/xen- 3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:2289: > undefined reference to `sh_paging_mode__shadow_3_guest_3'' > :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:2323: > undefined reference to `sh_paging_mode__shadow_3_guest_3'' > :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:2323: > undefined reference to `sh_paging_mode__shadow_3_guest_2'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `shadow_prealloc'':/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/ > common.c:594: undefined reference to > `sh_unpin_all_l3_subshadows__shadow_3_guest_3'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `sh_remove_shadows'':/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shado > w/common.c:2172: undefined reference to > `sh_unpin_all_l3_subshadows__shadow_3_guest_3'' > :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:2189: > undefined reference to `sh_pae_recopy'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `shadow_unhook_mappings'':/xen/xen-3.0.3_0-src/xen/arch/x86/mm/ > shadow/common.c:545: undefined reference to > `sh_unhook_32b_mappings__shadow_3_guest_2'' > :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:550: > undefined reference to `sh_unhook_pae_mappings__shadow_3_guest_3'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `sh_destroy_shadow'':/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shado > w/common.c:1698: undefined reference to > `sh_destroy_l1_shadow__shadow_3_guest_2'' > :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:1715: > undefined reference to `sh_destroy_l3_shadow__shadow_3_guest_3'' > :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:1712: > undefined reference to `sh_destroy_l2_shadow__shadow_3_guest_3'' > :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:1708: > undefined reference to `sh_destroy_l1_shadow__shadow_3_guest_3'' > :/xen/xen-3.0.3_0-src/xen/arch/x86/mm/shadow/common.c:1701: > undefined reference to `sh_destroy_l2_shadow__shadow_3_guest_2'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `trampoline_end'': undefined reference to > `sh_remove_all_mappings__shadow_3_guest_2'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `trampoline_end'': undefined reference to > `sh_remove_all_mappings__shadow_3_guest_2'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `trampoline_end'': undefined reference to > `sh_remove_all_mappings__shadow_3_guest_3'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `trampoline_end'': undefined reference to > `sh_remove_all_mappings__shadow_3_guest_3'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `trampoline_end'': undefined reference to > `sh_remove_write_access__shadow_3_guest_2'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `trampoline_end'': undefined reference to > `sh_remove_write_access__shadow_3_guest_2'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `trampoline_end'': undefined reference to > `sh_remove_write_access__shadow_3_guest_3'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `trampoline_end'': undefined reference to > `sh_remove_write_access__shadow_3_guest_3'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `trampoline_end'': undefined reference to > `sh_remove_l1_shadow__shadow_3_guest_2'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `trampoline_end'': undefined reference to > `sh_remove_l1_shadow__shadow_3_guest_3'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `trampoline_end'': undefined reference to > `sh_remove_l1_shadow__shadow_3_guest_3'' > /xen/xen-3.0.3_0-src/xen/arch/x86/built_in.o: In function > `trampoline_end'': undefined reference to > `sh_remove_l2_shadow__shadow_3_guest_3'' > > Any help on how to solve this problem would be appreciated. Thanks. > > Terry > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users