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

[Xen-devel] NetBSD 2.0 Compile Problems

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] NetBSD 2.0 Compile Problems
From: "Kent S. Gordon" <kgor@xxxxxxxxx>
Date: Sun, 28 Nov 2004 10:19:15 -0600
Cc: kgor@xxxxxxxxx
Delivery-date: Sun, 28 Nov 2004 20:03:58 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
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>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx

The Xen 2.0 build of NetBSD 2.0 had a problem on my system.

netbsd-2.0-xenU/nbconfig-xen uses uname -i to figure out the 
directory where the netbsd tools are keep which is always
netbsd-2.0-tools/linux-i386.

Here is the output from uname -a

Linux bridge 2.6.9-xen0 #2 Mon Nov 29 12:05:22 CST 2004 i686 AMD Athlon(tm) MP 
Processor 1600+ AuthenticAMD GNU/Linux

uname -i returns
AuthenticAMD


The solution is to set HARCH="i386" in the environment
before running the build.   This could be set in the Makefile or better
change  nbconfig-xen  to not set HARCH using uname unless the tools tarball
has support for multiple toolchains.

Here is  the build failure.


make[1]: Entering directory `/usr/xen/xen-2.0'
make -C netbsd-2.0-xenU config
make[2]: Entering directory `/usr/xen/xen-2.0/netbsd-2.0-xenU'
cd compile/XEN && TOPDIR=/usr/xen/xen-2.0/netbsd-2.0-xenU 
NETBSD_VER=netbsd-2.0-xenU ../../nbconfig-xen XEN
../../nbconfig-xen: line 21: 
/usr/xen/xen-2.0/netbsd-2.0-xenU/../netbsd-2.0-tools/linux-AuthenticAMD/bin/nbconfig:
 No such file or directory
../../nbconfig-xen: line 21: exec: 
/usr/xen/xen-2.0/netbsd-2.0-xenU/../netbsd-2.0-tools/linux-AuthenticAMD/bin/nbconfig:
 cannot execute: No such file or directory
make[2]: *** [config] Error 126
make[2]: Leaving directory `/usr/xen/xen-2.0/netbsd-2.0-xenU'
make[1]: *** [netbsd-xenU] Error 2
make[1]: Leaving directory `/usr/xen/xen-2.0'
make: *** [kernels] Error 2


Kent S. Gordon 
Postal: 76 Corral Drive North, Keller, Texas 76248
e-mail: kgor@xxxxxxxxx Phone:(817)431-8775



-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>