Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in installing Pemu on debian jessie #2

Open
sapanta992 opened this issue May 21, 2017 · 0 comments
Open

Error in installing Pemu on debian jessie #2

sapanta992 opened this issue May 21, 2017 · 0 comments

Comments

@sapanta992
Copy link

Hi,
I am trying to install pemu for kernel instrumentaion of my VMs. I followed your instruction to install pemu. When I want to make in the pemu/build folder, I come up with the following error:

CC hw/block/xen_disk.o
In file included from /home/guest/Documents/tools/pemu-master/include/hw/xen/xen_backend.h:7:0,
from /home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:39:
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h:109:9: error: unknown type name ‘xc_evtchn’
typedef xc_evtchn *XenEvtchn;
^
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h:110:9: error: unknown type name ‘xc_gnttab’
typedef xc_gnttab *XenGnttab;
^
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h: In function ‘xen_xc_evtchn_open’:
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h:118:5: warning: implicit declaration of function ‘xc_evtchn_open’ [-Wimplicit-function-declaration]
return xc_evtchn_open(logger, open_flags);
^
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h:118:5: warning: nested extern declaration of ‘xc_evtchn_open’ [-Wnested-externs]
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h:118:5: warning: return makes pointer from integer without a cast
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h: In function ‘xen_xc_gnttab_open’:
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h:124:5: warning: implicit declaration of function ‘xc_gnttab_open’ [-Wimplicit-function-declaration]
return xc_gnttab_open(logger, open_flags);
^
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h:124:5: warning: nested extern declaration of ‘xc_gnttab_open’ [-Wnested-externs]
/home/guest/Documents/tools/pemu-master/include/hw/xen/xen_common.h:124:5: warning: return makes pointer from integer without a cast
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c: In function ‘destroy_grant’:
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:166:5: warning: implicit declaration of function ‘xc_gnttab_munmap’ [-Wimplicit-function-declaration]
if (xc_gnttab_munmap(gnt, grant->page, 1) != 0) {
^
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:166:5: warning: nested extern declaration of ‘xc_gnttab_munmap’ [-Wnested-externs]
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c: In function ‘ioreq_map’:
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:386:13: warning: implicit declaration of function ‘xc_gnttab_map_grant_refs’ [-Wimplicit-function-declaration]
(gnt, new_maps, domids, refs, ioreq->prot);
^
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:386:13: warning: nested extern declaration of ‘xc_gnttab_map_grant_refs’ [-Wnested-externs]
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:385:22: warning: assignment makes pointer from integer without a cast
ioreq->pages = xc_gnttab_map_grant_refs
^
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:402:17: warning: implicit declaration of function ‘xc_gnttab_map_grant_ref’ [-Wimplicit-function-declaration]
(gnt, domids[i], refs[i], ioreq->prot);
^
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:402:17: warning: nested extern declaration of ‘xc_gnttab_map_grant_ref’ [-Wnested-externs]
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:401:28: warning: assignment makes pointer from integer without a cast
ioreq->page[i] = xc_gnttab_map_grant_ref
^
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c: In function ‘blk_alloc’:
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:693:5: warning: implicit declaration of function ‘xc_gnttab_set_max_grants’ [-Wimplicit-function-declaration]
if (xc_gnttab_set_max_grants(xendev->gnttabdev,
^
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:693:5: warning: nested extern declaration of ‘xc_gnttab_set_max_grants’ [-Wnested-externs]
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c: In function ‘blk_connect’:
/home/guest/Documents/tools/pemu-master/hw/block/xen_disk.c:854:19: warning: assignment makes pointer from integer without a cast
blkdev->sring = xc_gnttab_map_grant_ref(blkdev->xendev.gnttabdev,
^
/home/guest/Documents/tools/pemu-master/rules.mak:28: recipe for target 'hw/block/xen_disk.o' failed
make: *** [hw/block/xen_disk.o] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant