Subject: xen on netbsd amd64
To: None <port-xen@netbsd.org>
From: basteon <basteon@gmail.com>
List: port-xen
Date: 12/02/2007 23:19:36
------=_Part_3250_3630643.1196601576736
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello.
I read this news and make attempt build xen on amd64.
http://www.feyrer.de/NetBSD/bx/blosxom.cgi/nb_20071118_0613.html
What do you use boot-loader?
Could you help me this truble?

-------------------------------------------------------------------------------------------------------

checking for __lzo_init_v2 in -llzo2... no
checking for __lzo_init_v2 in -llzo... no
checking for __lzo_init2 in -llzo... no
configure: error: LZO library version 1.02 or later is required
*** Error code 1


Stop.
make: stopped in /usr/pkgsrc/sysutils/grub
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/grub
# pkg_info|grep lzo
liblzo-1.08nb1      Portable lossless data compression library (v1)

lzo-2.02            Portable lossless data compression library

-------------------------------------------------------------------------------------------------------

and............

-------------------------------------------------------------------------------------------------------
gcc -I/usr/pkg/include/python2.4 -I/usr/include -I/usr/pkg/include
-DGLX_GLXEXT_LEGACY  -m32 -march=i686 -DNDEBUG -std=gnu99 -Wall
-Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement
-D__XEN_TOOLS__  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-mno-tls-direct-seg-refs -fno-builtin -O2 -msoft-float -nostdlib
-fno-stack-protector  -I../ -I../../ -DGCC_PROTOS -c -o tpm_drivers.o
tpm_drivers.c

getconf: LFS_LDFLAGS: unknown variable
ld -melf_i386 -r tcgbios.o tpm_drivers.o -o tcgbiosext.o
getconf: LFS_LDFLAGS: unknown variable
/usr/bin/ld: cannot open linker script file ldscripts/elf_i386.xr: No such
file or directory

gmake[3]: *** [tcgbiosext.o] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/sysutils/xentools3-hvm/work/xen-
3.1.0-src/tools/firmware/rombios/32bit/tcgbios'
gmake[2]: *** [subdirs] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/sysutils/xentools3-hvm/work/xen-
3.1.0-src/tools/firmware/rombios/32bit'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/sysutils/xentools3-hvm/work/xen-
3.1.0-src/tools/firmware'
gmake: *** [all] Error 2
*** Error code 2


Stop.
make: stopped in /usr/pkgsrc/sysutils/xentools3-hvm
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/xentools3-hvm
-------------------------------------------------------------------------------------------------------


# uname -a
NetBSD  4.99.37 NetBSD 4.99.37 (GENERIC.MP) #0: Tue Nov 27 22:17:52 VLAT
2007  root@:/usr/obj/sys/arch/amd64/compile/GENERIC.MP amd64

-------------------------------------------------------------------------------------------------------


# cat /etc/mk.conf
FETCH_CMD=             wget
#FETCH_BEFORE_ARGS=     --passive-ftp
FETCH_RESUME_ARGS=     -c
FETCH_OUTPUT_ARGS=     -O
NO_CHECKSUM=yes
X11_TYPE=xorg
#LIBDIR=/usr/pkg/lib

#WRKOBJDIR=/usr/obj
#USE_LANGUAGES+=c++
#USE_LANGUAGES+=c
#USE_LANGUAGES+=fortran
#LDFLAGS=-liconv
#BUILDLINK_TRANSFORM=rename:-O2:-O1
#PKG_DEBUG_LEVEL=2
#CFLAGS+=-m64
X11_TYPE=modular
#XEN_TARGET_ARCH=x86_64

#MACHINE_ARCH=amd64
#MACHINE_GNU_ARCH=amd64
#MACHINE_GNU_PLATFORM=amd64--netbsdelf
ACCEPTABLE=YES
#ACCEPTABLE_LICENSES+=lame-license
#ACCEPTABLE_LICENSES+=intel-ipw-license

___________________

Thanks in advance!

------=_Part_3250_3630643.1196601576736
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello.<br>I read this news and make attempt build xen on amd64.<br><a href="http://www.feyrer.de/NetBSD/bx/blosxom.cgi/nb_20071118_0613.html">http://www.feyrer.de/NetBSD/bx/blosxom.cgi/nb_20071118_0613.html</a><br>What do you use boot-loader?
<br>Could you help me this truble?<br><br>-------------------------------------------------------------------------------------------------------<br><br>checking for __lzo_init_v2 in -llzo2... no<br>checking for __lzo_init_v2 in -llzo... no
<br>checking for __lzo_init2 in -llzo... no<br>configure: error: LZO library version 1.02 or later is required<br>*** Error code 1<br><br><br>Stop.<br>make: stopped in /usr/pkgsrc/sysutils/grub<br>*** Error code 1<br><br>
Stop.<br>make: stopped in /usr/pkgsrc/sysutils/grub<br># pkg_info|grep lzo<br>liblzo-1.08nb1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Portable lossless data compression library (v1)<br><br>lzo-2.02&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Portable lossless data compression library<br><br>
-------------------------------------------------------------------------------------------------------<br><br>and............<br><br>-------------------------------------------------------------------------------------------------------
<br>gcc -I/usr/pkg/include/python2.4 -I/usr/include -I/usr/pkg/include -DGLX_GLXEXT_LEGACY&nbsp; -m32 -march=i686 -DNDEBUG -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement&nbsp; -D__XEN_TOOLS__&nbsp; -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -fno-builtin -O2 -msoft-float -nostdlib -fno-stack-protector&nbsp; -I../ -I../../ -DGCC_PROTOS -c -o tpm_drivers.o tpm_drivers.c
<br><br>getconf: LFS_LDFLAGS: unknown variable<br>ld -melf_i386 -r tcgbios.o tpm_drivers.o -o tcgbiosext.o<br>getconf: LFS_LDFLAGS: unknown variable<br>/usr/bin/ld: cannot open linker script file ldscripts/elf_i386.xr: No such file or directory
<br><br>gmake[3]: *** [tcgbiosext.o] Error 1<br>gmake[3]: Leaving directory `/usr/pkgsrc/sysutils/xentools3-hvm/work/xen-3.1.0-src/tools/firmware/rombios/32bit/tcgbios&#39;<br>gmake[2]: *** [subdirs] Error 2<br>gmake[2]: Leaving directory `/usr/pkgsrc/sysutils/xentools3-hvm/work/xen-
<br>3.1.0-src/tools/firmware/rombios/32bit&#39;<br>gmake[1]: *** [all] Error 2<br>gmake[1]: Leaving directory `/usr/pkgsrc/sysutils/xentools3-hvm/work/xen-3.1.0-src/tools/firmware&#39;<br>gmake: *** [all] Error 2<br>*** Error code 2
<br><br><br>Stop.<br>make: stopped in /usr/pkgsrc/sysutils/xentools3-hvm<br>*** Error code 1<br><br>Stop.<br>make: stopped in /usr/pkgsrc/sysutils/xentools3-hvm<br>-------------------------------------------------------------------------------------------------------
<br><br><br># uname -a<br>NetBSD&nbsp; 4.99.37 NetBSD 4.99.37 (<a href="http://GENERIC.MP">GENERIC.MP</a>) #0: Tue Nov 27 22:17:52 VLAT 2007&nbsp; root@:/usr/obj/sys/arch/amd64/compile/GENERIC.MP amd64<br><br>-------------------------------------------------------------------------------------------------------
<br><br><br># cat /etc/mk.conf<br>FETCH_CMD=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wget<br>#FETCH_BEFORE_ARGS=&nbsp;&nbsp;&nbsp;&nbsp; --passive-ftp<br>FETCH_RESUME_ARGS=&nbsp;&nbsp;&nbsp;&nbsp; -c<br>FETCH_OUTPUT_ARGS=&nbsp;&nbsp;&nbsp;&nbsp; -O<br>NO_CHECKSUM=yes<br>X11_TYPE=xorg<br>#LIBDIR=/usr/pkg/lib<br>
<br>#WRKOBJDIR=/usr/obj<br>#USE_LANGUAGES+=c++<br>#USE_LANGUAGES+=c<br>#USE_LANGUAGES+=fortran<br>#LDFLAGS=-liconv<br>#BUILDLINK_TRANSFORM=rename:-O2:-O1<br>#PKG_DEBUG_LEVEL=2<br>#CFLAGS+=-m64<br>X11_TYPE=modular<br>#XEN_TARGET_ARCH=x86_64
<br><br>#MACHINE_ARCH=amd64<br>#MACHINE_GNU_ARCH=amd64<br>#MACHINE_GNU_PLATFORM=amd64--netbsdelf<br>ACCEPTABLE=YES<br>#ACCEPTABLE_LICENSES+=lame-license<br>#ACCEPTABLE_LICENSES+=intel-ipw-license<br><br>___________________
<br><br>Thanks in advance!

------=_Part_3250_3630643.1196601576736--