[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] NetBSD 2.0 Compile Problems




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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.