Port-xen archive

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

issue compilation XEN3_DOM0/netbsd



Hi,
I've installed NetBSD 7.0 RC3 on bi quad core opteron (amd64), 8 cores.
I want to install Dom0 via XEN but have got issues while compilation !
I read this link it's a french blog but you can translate automatickely ......
I do this commands :
************************************************************************************************
# cd /root
# ftp ftp://ftp.NetBSD.org/pub/pkgsrc/pkgsrc-2011Q2/pkgsrc.tar.gz
# tar -xzf pkgsrc.tar.gz -C /usr
# rm pkgsrc.tar.gz
# cd /root
# ftp -i ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-7.0/source/sets/
....
ftp> mget syssrc.tgz
ftp> exit
# mkdir /usr/src
# tar -xzf ./syssrc.tgz -C /
# rm syssrc.tgz
# config XEN3_DOM0
# cd ../compile/XEN3_DOM0
# make depend
# make >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>(1) the error of compilation is here <<<<<<<<<<<<<<<<<<<
# cp netbsd /netbsd-dom0
************************************************************************************************

this is my output of (1) :
mon/lib/libc/arch/x86_64/string -D_FORTIFY_SOURCE=2 -I../../../../external/bsd/ipf -I../../../../external/isc/atheros_hal/dist -I../../../../external/isc/atheros_hal/ic -I../../../../external/bsd/acpica/dist/include -c vers.c
:
#      link  XEN3_DOM0/netbsd
ld -Map netbsd.map --cref -T ../../../../arch/amd64/conf/kern.ldscript.Xen -Ttext 0xffffffff80100000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
kern_lwp.o: In function `sysctl_kern_maxlwp':
kern_lwp.c:(.text+0x43): undefined reference to `maxlwp'
kern_lwp.c:(.text+0xfd): undefined reference to `maxlwp'
kern_lwp.o: In function `lwpinit':
kern_lwp.c:(.text+0x173): undefined reference to `maxlwp'
kern_proc.o: In function `proc0_init':
kern_proc.c:(.text+0x5bb): undefined reference to `maxlwp'
kern_resource.o: In function `dosetrlimit':
kern_resource.c:(.text+0x267c): undefined reference to `maxlwp'
kern_resource.o:kern_resource.c:(.text+0x268d): more undefined references to `maxlwp' follow
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arch/amd64/compile/XEN3_DOM0
dct-pegasus#
I think that error is about `maxlwp' variable ...

Regards
Philippe


Home | Main Index | Thread Index | Old Index