Re: [BHyVE] bhyverun.c:818:16: error: use of undeclared identifier 'VM_MEM_F_WIRED

2016-02-20 Thread Abhijit Taware
It compiles cleanly on FreeBSD-Current
I was also able to run one VM with compiled binaries.
The Makefile don't have install target, so I have to copy it manually and
it worked.
Thanks a lot for quick help Marcel.

Abhijit.



On Sat, Feb 20, 2016 at 10:00 PM, Marcel Moolenaar <mar...@xcllnt.net>
wrote:

>
> On Feb 20, 2016, at 12:49 AM, Abhijit Taware <
> abhijit.taw...@coriolis.co.in> wrote:
>
> Hi ,
>
> I am getting error mentioned in subject while compiling the bhyve repo
> mentioned below
> https://github.com/xcllnt/libvdsk
>
>
> It’s probably best to compile on FreeBSD-current.
> HTH,
>
> --
> Marcel Moolenaar
> mar...@xcllnt.net
>
>
>
>
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

[BHyVE] bhyverun.c:818:16: error: use of undeclared identifier 'VM_MEM_F_WIRED

2016-02-20 Thread Abhijit Taware
Hi ,

I am getting error mentioned in subject while compiling the bhyve repo
mentioned below
https://github.com/xcllnt/libvdsk

I am using  10.2-RELEASE and could run the native bhyve which comes with
"pkg install" command.
I am using the repo mentioned above to add support for more file formats
i.e. qcow, vmdk etc
Currently only RAW is supported and works well on my VM.
Can somebody point me to right direction .The detailed error log is as
follows -

Thanks,
Abhijit.

*root@bhyve:~/bhyve/libvdsk # make*

*===> libvdsk (all)*

*Warning: Object directory not changed from original
/root/bhyve/libvdsk/libvdsk*

*===> bhyve (all)*

*Warning: Object directory not changed from original
/root/bhyve/libvdsk/bhyve*

*cc -O2 -pipe   -I/root/bhyve/libvdsk/bhyve/../libvdsk -g -O0 -std=gnu99
-Qunused-arguments  -fstack-protector -Wsystem-headers -Werror -Wall
-Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare
-Wno-unused-value -Wno-parentheses-equality -Wno-unused-function
-Wno-enum-conversion -Wno-switch -Wno-switch-enum
-Wno-knr-promoted-parameter -c bhyverun.c -o bhyverun.o*

*bhyverun.c:818:16: error: use of undeclared identifier 'VM_MEM_F_WIRED'*

*memflags |= VM_MEM_F_WIRED;*

*^*

*1 error generated.*

 Error code 1*


*Stop.*

*make[1]: stopped in /root/bhyve/libvdsk/bhyve*

 Error code 1*


*Stop.*

*make: stopped in /root/bhyve/libvdsk*
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"