Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: issue variable rpdk;
Le 13/10/2015 00:54, phipo a écrit :
> Hi,
> I'm try to install XEN, have got issue about prop_dictionary_keysym_t
> opdk, pdk, rpdk; !
> I've updating pkgsrc 2015Q2 and also pkgin repositories (2015Q2), so
> this is my output :
Given the error output you have, you are building a NetBSD kernel, not
installing Xen.
Under a NetBSD stable release (like -6 or -7), the fastest way you could
get Xen up and running is through pkgsrc:
PKG_PATH="http://ftp.NetBSD.org/pub/pkgsrc/packages/$(uname -s)/$(uname
-m)/$(uname -r|cut -f '1 2' -d.)/All/"
export PKG_PATH
pkg_add xenkernel42
For installation and configuration details, see wiki section
"Installation of NetBSD" under http://wiki.netbsd.org/ports/xen/howto/.
> *******************************************************************************************
>
>> ln -s ../amd64 xen-ma/machine
>> rm -f machine
>> ln -s ../../../../arch/xen/include/amd64 machine
>> making sure the compat library is up to date...
>> `libcompat.a' is up to date.
>> making sure the kern library is up to date...
>> # compile kern/prop_dictionary.o
>> gcc -mcmodel=kernel -mno-red-zone -ffreestanding
>> -fno-zero-initialized-in-bss -O2 -fno-omit-frame-pointer
>> -fstack-protector -Wstack-protector --param ssp-buffer-size=1
>> -fno-strict-aliasing -std=gnu99 -Werror -Wall -Wno-main
>> -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
>> -Wstrict-prototypes -Wold-style-definition -Wswitch -Wshadow
>> -Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-pointer-sign
>> -Wno-attributes -Wextra -Wno-unused-parameter -Wold-style-definition
>> -Wno-sign-compare -I../../../../../../lib/libkern/arch/x86_64 -Damd64
>> -Dx86_64 -I../../. -I/usr/src/sys/arch/amd64/compile/XEN3_DOM0/xen-ma
>> -I../../../../../../../common/include -I../../../../../../arch
>> -I../../../../../.. -nostdinc -DMSGBUFSIZE="24576" -DMAXUSERS=32
>> -D_KERNEL -D_KERNEL_OPT -std=gnu99
>> -I../../../../../../lib/libkern/../../../common/lib/libc/quad
>> -I../../../../../../lib/libkern/../../../common/lib/libc/string
>> -I../../../../../../lib/libkern/../../../common/lib/libc/arch/x86_64/string
>> -D_FORTIFY_SOURCE=2 -I../../../../../../dist/ipf
>> -I../../../../../../external/isc/atheros_hal/dist
>> -I../../../../../../external/isc/atheros_hal/ic
>> -I../../../../../../external/bsd/acpica/dist/include
>> -I../../../../../../lib/libkern/../../../common/lib/libc/quad
>> -I../../../../../../lib/libkern/../../../common/lib/libc/string
>> -I../../../../../../lib/libkern/../../../common/lib/libc/arch/x86_64/string
>> -I../../../../../../lib/libkern/../../../common/include -c
>> ../../../../../../lib/libkern/../../../common/lib/libprop/prop_dictionary.c
>> -o prop_dictionary.o
>> ../../../../../../lib/libkern/../../../common/lib/libprop/prop_dictionary.c:
>> In function '_prop_dict_keysym_alloc':
>> ../../../../../../lib/libkern/../../../common/lib/libprop/prop_dictionary.c:285:38:
>> error: variable 'rpdk' set but not used [-Werror=unused-but-set-variable]
>> prop_dictionary_keysym_t opdk, pdk, rpdk;
>> ^
>> cc1: all warnings being treated as errors
>> *** Error code 1
>>
>> Stop.
>> make[1]: stopped in /usr/src/sys/arch/amd64/compile/XEN3_DOM0/lib/kern
>> *** Error code 1
>>
>> Stop.
>> make: stopped in /usr/src/sys/arch/amd64/compile/XEN3_DOM0
>> dct-pegasus#
> I hope that someone can help me !
Update your src tree; stable release should not these kind of
compilation issues.
--
Jean-Yves Migeon
Home |
Main Index |
Thread Index |
Old Index