LinuxSir.cn,穿越时空的Linuxsir!

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

xf86-video-sis emake 错误

[复制链接]
发表于 2007-11-8 22:10:28 | 显示全部楼层 |阅读模式
我的笔记本的显示芯片是sis的,
  1. #lspci
  2. 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 630 Host (rev 31)
  3. 00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
  4. 00:01.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge)
  5. 00:01.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
  6. 00:01.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
  7. 00:01.4 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS PCI Audio Accelerator (rev 02)
  8. 00:01.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
  9. 00:02.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
  10. 00:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
  11. 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 630/730 PCI/AGP VGA Display Adapter (rev 31)
复制代码
前面编译(emerge system)sis显示驱动好好的,但最近更新,sis驱动编译错误,显示如下
  1. #emerge =x11-drivers/xf86-video-sis-0.9.3
  2. sis_dri.c:753: error: conflicting types for 'SISDRICloseScreen'
  3. sis_dri.c:427: error: previous implicit declaration of 'SISDRICloseScreen' was here
  4. make[2]: *** [sis_dri.lo] Error 1
  5. make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.3/work/xf86-video-sis-0.9.3/src'
  6. make[1]: *** [all-recursive] Error 1
  7. make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.3/work/xf86-video-sis-0.9.3'
  8. make: *** [all] Error 2
  9. *
  10. * ERROR: x11-drivers/xf86-video-sis-0.9.3 failed.
  11. * Call stack:
  12. * ebuild.sh, line 1695: Called dyn_compile
  13. * ebuild.sh, line 1033: Called qa_call 'src_compile'
  14. * ebuild.sh, line 44: Called src_compile
  15. * ebuild.sh, line 1377: Called x-modular_src_compile
  16. * x-modular.eclass, line 348: Called x-modular_src_make
  17. * x-modular.eclass, line 343: Called die
  18. * The specific snippet of code:
  19. * emake || die "emake failed"
  20. * The die message:
  21. * emake failed
  22. *
  23. * If you need support, post the topmost build error, and the call stack if relevant.
  24. * A complete build log is located at '/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.3/temp/build.log'.
  25. *
复制代码
我的emerge信息
  1. localhost ~ #emerge --info
  2. Portage 2.1.3.16 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.5-r4, 2.6.17-gentoo-r8 i686)
  3. =================================================================
  4. System uname: 2.6.17-gentoo-r8 i686 Intel(R) Celeron(TM) CPU 1100MHz
  5. Timestamp of tree: Tue, 06 Nov 2007 04:00:01 +0000
  6. ccache version 2.4 [enabled]
  7. app-shells/bash: 3.2_p17
  8. dev-lang/python: 2.4.4-r6
  9. dev-python/pycrypto: 2.0.1-r6
  10. dev-util/ccache: 2.4-r7
  11. sys-apps/baselayout: 1.12.9-r2
  12. sys-apps/sandbox: 1.2.18.1-r2
  13. sys-devel/autoconf: 2.13, 2.61-r1
  14. sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
  15. sys-devel/binutils: 2.17, 2.18-r1
  16. sys-devel/gcc-config: 1.3.16
  17. sys-devel/libtool: 1.5.24
  18. virtual/os-headers: 2.6.22-r2
  19. ACCEPT_KEYWORDS="x86"
  20. CBUILD="i686-pc-linux-gnu"
  21. CFLAGS="-O2 -march=i686 -pipe"
  22. CHOST="i686-pc-linux-gnu"
  23. CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
  24. CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
  25. CXXFLAGS="-O2 -march=i686 -pipe"
  26. DISTDIR="/usr/portage/distfiles"
  27. FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
  28. GENTOO_MIRRORS="ftp://ftp3.tsinghua.edu.cn/mirror/gentoo"
  29. LANG="zh_CN.UTF-8"
  30. MAKEOPTS="-j2"
  31. PKGDIR="/usr/portage/packages"
  32. PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
  33. PORTAGE_TMPDIR="/var/tmp"
  34. PORTDIR="/usr/portage"
  35. PORTDIR_OVERLAY="/usr/local/portage"
  36. SYNC="rsync://61.135.158.199/gentoo-portage"
  37. USE="X acpi alsa apache2 apm arts berkdb bitmap-fonts cjk cli cracklib crypt cscope cups doc dri eds emacs emboss encode foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 iconv imlib immqt-bc ipv6 isdnlog jpeg kde libwww mad midi mikmod motif mp3 mpeg mudflap ncurses nls ogg opengl openmp oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="sis vga vesa"
  38. Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
复制代码
我到gentoo bugzilla 看到 #167256号错误,http://bugs.gentoo.org/show_bug.cgi?id=167256对应我的错误,发现有个补丁 http://svn.pardus.org.tr/pardus/ ... les/prototype.patch
但我不知道怎么弄,我试了几次,但重新emerge 时,还是原来的错误,
盼望大虾赐教,谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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