LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1028|回复: 1

qemu+kqemu 编译找不到gcc-3.x问题

[复制链接]
发表于 2006-4-4 11:52:00 | 显示全部楼层 |阅读模式
#tar zxvf qemu-0.8.0.tar.gz
#tar zxvf kqemu-0.7.2.tar.gz
#cp -R kqemu qemu-0.8.0/
#cd qemu-0.8.0
#aptitude install gcc-3.3
#aptitude install linux-source-2.6.16
#whereis gcc-3.3
gcc-3: /usr/bin/gcc-3.3
#gcc-3.3 --version
gcc-3.3 (GCC) 3.3.6 (Debian 1:3.3.6-13)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#./configure --cc=gcc-3.3
big/little test failed
ERROR: "gcc-3.3" looks like gcc 4.x
QEMU is known to have problems when compiled with gcc 4.x
It is recommended that you use gcc 3.x to build QEMU
To use this compiler anyway, configure with --disable-gcc-check
为什么找不到gcc-3.3?
./configure --disable-gcc-check
big/little test failed
Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
binary directory  /usr/local/bin
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /home/ksgimi/Desktop/download/qemu-0.8.0
C compiler        gcc
Host C compiler   gcc
make              make
host CPU          i386
host big endian   no
target list       i386-user arm-user armeb-user sparc-user ppc-user mips-user mi psel-user i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu mips-softmmu arm -softmmu
gprof enabled     no
static build      no
SDL support       no
mingw32 support   no
Adlib support     no
CoreAudio support no
ALSA support      no
DSound support    no
FMOD support      no
kqemu support     yes

KQEMU Linux module configuration:
kernel sources    /usr/src/linux
kbuild type       2.6
ERROR: QEMU requires SDL or Cocoa for graphical output
To build QEMU with graphical output configure with --disable-gfx-check
Note that this will disable all output from the virtual graphics card.
不知道哪儿出错?
有一位兄弟已成功了(见编译QEMU出错)http://www.linuxsir.cn/bbs/showthread.php?t=250320
不知道我忽略了什么.
发表于 2006-4-4 16:58:57 | 显示全部楼层
在usr/bin下面,把gcc的连接指向gcc-3.x 试一试
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表