Port-xen archive

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

xen 4.13 on netbsd-9?



Building sysutils/xentools413 on netbsd-9 from May gives me
[...]
netbsd.c: In function 'osdep_gnttab_grant_map':
netbsd.c:74:40: error: storage size of 'map' isn't known
 struct ioctl_gntdev_mmap_grant_ref map;
 ^~~
netbsd.c:77:45: error: invalid application of 'sizeof' to incomplete 
type 'struct ioctl_gntdev_grant_ref'
 unsigned int refs_size = count * sizeof(struct 
ioctl_gntdev_grant_ref);
 ^~~~~~
netbsd.c:105:23: error: 'UNMAP_NOTIFY_CLEAR_BYTE' undeclared (first use 
in this function)
 map.notify.action |= UNMAP_NOTIFY_CLEAR_BYTE;
 ^~~~~~~~~~~~~~~~~~~~~~~
netbsd.c:105:23: note: each undeclared identifier is reported only once 
for each function it appears in
netbsd.c:110:29: error: 'UNMAP_NOTIFY_SEND_EVENT' undeclared (first use 
in this function); did you mean 'UNMAP_NOTIFY_CLEAR_BYTE'?
 map.notify.action |= UNMAP_NOTIFY_SEND_EVENT;
 ^~~~~~~~~~~~~~~~~~~~~~~
 UNMAP_NOTIFY_CLEAR_BYTE
netbsd.c:113:20: error: 'IOCTL_GNTDEV_MMAP_GRANT_REF' undeclared (first 
use in this function)
 rv = ioctl(fd, IOCTL_GNTDEV_MMAP_GRANT_REF, &map);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
netbsd.c:74:40: error: unused variable 'map' [-Werror=unused-variable]
 struct ioctl_gntdev_mmap_grant_ref map;
 ^~~
netbsd.c: In function 'osdep_gntshr_share_pages':
netbsd.c:179:41: error: storage size of 'alloc' isn't known
 struct ioctl_gntdev_alloc_grant_ref alloc;
 ^~~~~
[...]
which is funny, because tools/libs/gnttab/netbsd.c is provided as a 
patch by the package.
Is this even supposed to work, or should I just stick with 4.11?
Cheerio,
Hauke
-- 
 The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
 Respect for open standards Ruf +49-6151-16-21344


Home | Main Index | Thread Index | Old Index

AltStyle によって変換されたページ (->オリジナル) /