LinuxSir.cn,穿越时空的Linuxsir!

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

奇怪,在Vmware里面编译怎么会出现xf86-video-intel这样的Intel显卡驱动?

[复制链接]
发表于 2008-12-14 13:17:08 | 显示全部楼层 |阅读模式
而且还build出错,我是在emerge -nDu world中遇到这样的错误的。

>>> Unpacking source...
^[[32;01m*^[[0m Checking for direct rendering capabilities ...
>>> Unpacking xf86-video-intel-2.5.1.tar.bz2 to /var/tmp/portage/x11-drivers/x$
^[[32;01m*^[[0m Applying 2.5.1-0001-clean-up-man-page-generation-and-remove-a$
^[[A^[[72C  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m Running eautoreconf in '/var/tmp/portage/x11-drivers/xf86-vid$
^[[32;01m*^[[0m Running aclocal ...
^[[A^[[72C  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m Running libtoolize --copy --force --install --automake ...
^[[A^[[72C  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m Running aclocal ...
^[[A^[[72C  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m Running autoconf ...
^[[A^[[72C  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m Running autoheader ...
>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/xf86-video-intel-2.5.1/wo$
* econf: updating xf86-video-intel-2.5.1/config.guess with /usr/share/gnuconf$
* econf: updating xf86-video-intel-2.5.1/config.sub with /usr/share/gnuconfig$
./configure --prefix=/usr --host=i486-pc-linux-gnu --mandir=/usr/share/man --i$
configure: WARNING: unrecognized options: --disable-symlinks
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i486-pc-linux-gnu
checking host system type... i486-pc-linux-gnu
checking for style of include used by make... GNU
checking for i486-pc-linux-gnu-gcc... i486-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i486-pc-linux-gnu-gcc accepts -g... yes
checking for i486-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of i486-pc-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i486-pc-linux-gnu-gcc... /usr/i486-pc-linux-gnu/bin/ld
checking if the linker (/usr/i486-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
。。。中间省去一些配置的,都是yes或者ok
make[4]: Entering directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.5$
i486-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/include/xorg    -I/$
In file included from /usr/include/xorg/vdif.h:24,
                 from /usr/include/xorg/edid.h:15,
                 from bios_reader.c:45:
/usr/include/X11/Xmd.h:152: error: conflicting types for 'CARD32'
bios_reader.c:43: error: previous declaration of 'CARD32' was here  出错的信息在这儿
make[4]: *** [bios_reader.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.$
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.$

make[3]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.$
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.$
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.5.$
make: *** [all] Error 2
^[[31;01m*^[[0m
^[[31;01m*^[[0m ERROR: x11-drivers/xf86-video-intel-2.5.1 failed.
^[[31;01m*^[[0m Call stack:
^[[31;01m*^[[0m               ebuild.sh, line   49:  Called src_compile
^[[31;01m*^[[0m             environment, line 2938:  Called x-modular_src_com$
^[[31;01m*^[[0m             environment, line 3708:  Called x-modular_src_make
^[[31;01m*^[[0m             environment, line 3744:  Called die
^[[31;01m*^[[0m The specific snippet of code:
^[[31;01m*^[[0m       emake || die "emake failed"


请问这样的问题改怎么解决阿?升级途中遇到的问题....
发表于 2008-12-14 13:26:00 | 显示全部楼层
VIDEO_CARDS="vesa"
把这行加到 /etc/make.conf
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-14 23:00:45 | 显示全部楼层
当前我加的是vmware,不过先尝试修改成vesa看看了吧,呵呵
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-14 23:23:03 | 显示全部楼层
修改过后依然有错,估计不是VIDEO_CARD的问题,而是下载回来的驱动包有问题?
回复 支持 反对

使用道具 举报

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

本版积分规则

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