TARGET_CFLAGS="-mno-red-zone -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -Wno-unused-but-set-variable -fno-stack-protector -fno-exceptions" \
TARGET_LDFLAGS="-nostdlib -L/usr/src/xen-unstable.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/lib" \
./xen-setup-stubdom )
make DESTDIR= -C ioemu -f ./Makefile
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
=== PCI passthrough capability has been enabled ===
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
=== PCI passthrough capability has been enabled ===
make[2]: Entering directory `/usr/src/xen-unstable.hg/stubdom/ioemu'
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
=== PCI passthrough capability has been enabled ===
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
=== PCI passthrough capability has been enabled ===
=== PCI passthrough capability has been enabled ===
make[3]: Entering directory `/usr/src/xen-unstable.hg/stubdom/ioemu/i386-stubdom'
CC i386-stubdom/pt-graphics.o
/usr/src/xen-unstable.hg/stubdom/ioemu/hw/pt-graphics.c:11:20: fatal error: sys/io.h: No such file or directory
compilation terminated.
make[3]: *** [pt-graphics.o] Error 1
make[3]: Leaving directory `/usr/src/xen-unstable.hg/stubdom/ioemu/i386-stubdom'
make[2]: *** [subdir-i386-stubdom] Error 2
make[2]: Leaving directory `/usr/src/xen-unstable.hg/stubdom/ioemu'
make[1]: *** [ioemu] Error 2
make[1]: Leaving directory `/usr/src/xen-unstable.hg/stubdom'
make: *** [install-stubdom] Error 2
And I can't fix it.
Gennady.