新的 kqemu 1.3 比 VMware 快
-
- 帖子: 5
- 注册时间: 2006-04-07 13:03
- huangjiahua
- 帖子: 3294
- 注册时间: 2005-03-30 0:27
- 联系:
-
- 帖子: 871
- 注册时间: 2006-01-03 20:44
-
- 帖子: 871
- 注册时间: 2006-01-03 20:44
-
- 帖子: 1074
- 注册时间: 2006-01-18 15:01
- huangjiahua
- 帖子: 3294
- 注册时间: 2005-03-30 0:27
- 联系:
-
- 帖子: 871
- 注册时间: 2006-01-03 20:44
我在make最新的kqemu-1.3.0pre6时出现以下错误:
make -C /lib/modules/2.6.17-rc3/build M=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.6.17-rc3'
CC [M] /home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.o
/home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.c:52: error: syntax error before string constant
/home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.c:52: warning: type defaults to ‘int’ in declaration of ‘MODULE_PARM’
/home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.c:52: warning: function declaration isn’t a prototype
/home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.c:52: warning: data definition has no type or storage class
make[2]: *** [/home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.o] Error 1
make[1]: *** [_module_/home/xep007/soft64/qemu/kqemu-1.3.0pre6] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.17-rc3'
make: *** [kqemu.ko] Error 2
难道是内核模块的关系,我的内核是自己编译的。
make -C /lib/modules/2.6.17-rc3/build M=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.6.17-rc3'
CC [M] /home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.o
/home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.c:52: error: syntax error before string constant
/home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.c:52: warning: type defaults to ‘int’ in declaration of ‘MODULE_PARM’
/home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.c:52: warning: function declaration isn’t a prototype
/home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.c:52: warning: data definition has no type or storage class
make[2]: *** [/home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.o] Error 1
make[1]: *** [_module_/home/xep007/soft64/qemu/kqemu-1.3.0pre6] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.17-rc3'
make: *** [kqemu.ko] Error 2
难道是内核模块的关系,我的内核是自己编译的。
- Einhorn
- 帖子: 114
- 注册时间: 2006-04-29 10:24
安装时好像还要设置显卡吗?
我在编译时有如下错误
ERROR: QEMU requires SDL or Cocoa for graphical output
To build QEMU without graphical output configure with --disable-gfx-check
Note that this will disable all output from the virtual graphics card.
如何解决?
ERROR: QEMU requires SDL or Cocoa for graphical output
To build QEMU without graphical output configure with --disable-gfx-check
Note that this will disable all output from the virtual graphics card.
如何解决?
- Einhorn
- 帖子: 114
- 注册时间: 2006-04-29 10:24
我在qemu的make时出现如下错误:
for d in i386-user arm-user armeb-user sparc-user ppc-user mips-user mipsel-user i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu mips-softmmu mipsel-softmmu arm-softmmu; do \
make -C $d all || exit 1 ; \
done
make[1]: Entering directory `/tmp/qemu-snapshot-2006-05-10_23/i386-user'
gcc-3.4 -g -Wl,-shared -o qemu-i386 elfload.o main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o vm86.o libqemu.a gdbstub.o -lm -lasound
/usr/bin/ld: cannot find -lasound
collect2: ld returned 1 exit status
make[1]: *** [qemu-i386] 错误 1
make[1]: Leaving directory `/tmp/qemu-snapshot-2006-05-10_23/i386-user'
make: *** [all] 错误 1
谁帮我看看问题出在哪了?
for d in i386-user arm-user armeb-user sparc-user ppc-user mips-user mipsel-user i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu mips-softmmu mipsel-softmmu arm-softmmu; do \
make -C $d all || exit 1 ; \
done
make[1]: Entering directory `/tmp/qemu-snapshot-2006-05-10_23/i386-user'
gcc-3.4 -g -Wl,-shared -o qemu-i386 elfload.o main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o vm86.o libqemu.a gdbstub.o -lm -lasound
/usr/bin/ld: cannot find -lasound
collect2: ld returned 1 exit status
make[1]: *** [qemu-i386] 错误 1
make[1]: Leaving directory `/tmp/qemu-snapshot-2006-05-10_23/i386-user'
make: *** [all] 错误 1
谁帮我看看问题出在哪了?
-
- 帖子: 871
- 注册时间: 2006-01-03 20:44
-
- 帖子: 871
- 注册时间: 2006-01-03 20:44
xep007 写了:我在make最新的kqemu-1.3.0pre6时出现以下错误:
make -C /lib/modules/2.6.17-rc3/build M=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.6.17-rc3'
CC [M] /home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.o
/home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.c:52: error: syntax error before string constant
/home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.c:52: warning: type defaults to ‘int’ in declaration of ‘MODULE_PARM’
/home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.c:52: warning: function declaration isn’t a prototype
/home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.c:52: warning: data definition has no type or storage class
make[2]: *** [/home/xep007/soft64/qemu/kqemu-1.3.0pre6/kqemu-linux.o] Error 1
make[1]: *** [_module_/home/xep007/soft64/qemu/kqemu-1.3.0pre6] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.17-rc3'
make: *** [kqemu.ko] Error 2
难道是内核模块的关系,我的内核是自己编译的。
果真是内核的关系。打上补丁就行了。补丁地址:
http://lists.gnu.org/archive/html/qemu- ... 00222.html