Статейки нашел такие:
http://www.opennet.ru/base/sys/qemu_windows.txt.html
http://www.opennet.ru/base/sys/qemu_win.txt.html
http://community.livejournal.com/ru_root/710103.html
Ну и побежали:
Код: Выделить всё
portupgrade -NRrP qemu
gcc34 -O2 -fno-strict-aliasing -pipe -Wall -O2 -g -fno-strict-aliasing -I. -I/usr/ports/emulators/qemu/work/qemu-0.9.1 -MMD -MP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/ports/emulators/qemu/work/qemu-0.9.1/slirp -c -o usb-bsd.o usb-bsd.c
usb-bsd.c:36:25: warning: dev/usb/usb.h: No such file or directory
usb-bsd.c:55: error: `USB_MAX_ENDPOINTS' undeclared here (not in a function)
usb-bsd.c: In function `ensure_ep_open':
usb-bsd.c:67: warning: implicit declaration of function `UE_GET_ADDR'
usb-bsd.c: In function `usb_host_handle_control':
usb-bsd.c:128: error: storage size of 'req' isn't known
usb-bsd.c:129: error: storage size of 'aiface' isn't known
usb-bsd.c:132: error: `UT_WRITE_DEVICE' undeclared (first use in this function)
usb-bsd.c:132: error: (Each undeclared identifier is reported only once
usb-bsd.c:132: error: for each function it appears in.)
usb-bsd.c:133: error: `UR_SET_ADDRESS' undeclared (first use in this function)
usb-bsd.c:139: error: `UR_SET_CONFIG' undeclared (first use in this function)
usb-bsd.c:143: error: `USB_SET_CONFIG' undeclared (first use in this function)
usb-bsd.c:153: error: `UT_WRITE_INTERFACE' undeclared (first use in this function)
usb-bsd.c:154: error: `UR_SET_INTERFACE' undeclared (first use in this function)
usb-bsd.c:160: error: `USB_SET_ALTINTERFACE' undeclared (first use in this function)
usb-bsd.c:173: warning: implicit declaration of function `USETW'
usb-bsd.c:177: error: `USBD_SHORT_XFER_OK' undeclared (first use in this function)
usb-bsd.c:179: error: `USB_SET_TIMEOUT' undeclared (first use in this function)
usb-bsd.c:191: error: `USB_DO_REQUEST' undeclared (first use in this function)
usb-bsd.c:128: warning: unused variable `req'
usb-bsd.c:129: warning: unused variable `aiface'
usb-bsd.c: In function `usb_host_handle_data':
usb-bsd.c:233: error: `USB_SET_TIMEOUT' undeclared (first use in this function)
usb-bsd.c:241: error: `USB_SET_SHORT_XFER' undeclared (first use in this function)
usb-bsd.c: In function `usb_host_device_open':
usb-bsd.c:293: error: storage size of 'bus_info' isn't known
usb-bsd.c:293: error: storage size of 'dev_info' isn't known
usb-bsd.c:315: error: `USB_DEVICEINFO' undeclared (first use in this function)
usb-bsd.c:346: error: `USB_GET_DEVICEINFO' undeclared (first use in this function)
usb-bsd.c:355: error: `USB_SPEED_LOW' undeclared (first use in this function)
usb-bsd.c:357: error: `USB_SPEED_FULL' undeclared (first use in this function)
usb-bsd.c:380: error: `USB_SETDEBUG' undeclared (first use in this function)
usb-bsd.c:293: warning: unused variable `bus_info'
usb-bsd.c:293: warning: unused variable `dev_info'
usb-bsd.c: In function `usb_host_scan':
usb-bsd.c:391: error: storage size of 'bus_info' isn't known
usb-bsd.c:392: error: storage size of 'dev_info' isn't known
usb-bsd.c:408: error: `USB_DEVICEINFO' undeclared (first use in this function)
usb-bsd.c:430: error: `USB_GET_DEVICEINFO' undeclared (first use in this function)
usb-bsd.c:391: warning: unused variable `bus_info'
usb-bsd.c:392: warning: unused variable `dev_info'
usb-bsd.c: In function `usb_info_device':
usb-bsd.c:560: error: `USB_SPEED_LOW' undeclared (first use in this function)
usb-bsd.c:563: error: `USB_SPEED_FULL' undeclared (first use in this function)
usb-bsd.c:566: error: `USB_SPEED_HIGH' undeclared (first use in this function)
usb-bsd.c:574: warning: implicit declaration of function `term_printf'
gmake: *** [usb-bsd.o] Error 1
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.4329.0 env make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! emulators/qemu (missing header)
http://lists.freebsd.org/pipermail/free ... 34473.html
Делаем локейт. Робко делаем файнд пайп греп -и по паре-другой дирректорий. Впадаем в ступр. Идем сочинять пост...>Fix:
the define USBD_SHORT_XFER_OK is found in <dev/usb2/usb.h> instead of the
included <dev/usb/usb.h> although I have no idea why there are two
different usb subdirectories %)
Фряха последняя, freebsd-update'm доведенная до актуальности. Как быть?