# emerge xf86-video-sis ...snip... sis_dri.c:753: error: conflicting types for 'SISDRICloseScreen' sis_dri.c:427: error: previous implicit declaration of 'SISDRICloseScreen' was here make[2]: *** [sis_dri.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.3/work/xf86-video-sis-0.9.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.3/work/xf86-video-sis-0.9.3' make: *** [all] Error 2 !!! ERROR: x11-drivers/xf86-video-sis-0.9.3 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3801: Called src_compile ebuild.sh, line 1304: Called x-modular_src_compile x-modular.eclass, line 333: Called x-modular_src_make x-modular.eclass, line 328: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.3/temp/build.log'. # emerge --info Portage 2.1.2-r9 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System release 1.12.9 Timestamp of tree: Thu, 15 Feb 2007 21:20:01 +0000 dev-lang/python: 2.3.6, 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 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 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.20 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X acpi alsa arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif gpm gstreamer hal iconv ipv6 isdnlog jpeg kde ldap libg++ mad midi mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcltk tcpd tk truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="hda-intel" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Reproducible: Always
What version of xorg-server are you using? I just compiled it against 1.2. It emitted some warnings, but it built OK.
I re-emerged "x11-base/xorg-server-1.2.0" with VIDEO_CARDS="fglrx". Now it doesn't depend any more on xf86-video-sis.
(In reply to comment #2) > I re-emerged "x11-base/xorg-server-1.2.0" with VIDEO_CARDS="fglrx". Now it > doesn't depend any more on xf86-video-sis. > I'll mark this WORKSFORME until someone else comes across the problem.
*** Bug 170699 has been marked as a duplicate of this bug. ***
guillermo, which version of xorg-server do you have installed?
(In reply to comment #3) > (In reply to comment #2) > > I re-emerged "x11-base/xorg-server-1.2.0" with VIDEO_CARDS="fglrx". Now it > > doesn't depend any more on xf86-video-sis. > > > > I'll mark this WORKSFORME until someone else comes across the problem. > I have just come across the problem after an emerge --update --deep world (freshly resynched). xorg-x11 version is 7.2. There appears to be a patch available at http://svn.pardus.org.tr/pardus/devel/desktop/freedesktop/xorg/xorg-video/files/prototype.patch In the meantime I will mask the VIDEO_CARDS="... sis ...", as I don't need this driver.
I am having the same problem.. and i'm stuck. x11-drivers/xf86-video-sis-0.9.1-r1 nor 0.9.3 will compile. My emerge --info: Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.5-r2, 2.6.16-gentoo-r7 i686) ================================================================= System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.40GHz Gentoo Base System release 1.12.9 Timestamp of tree: Sat, 05 May 2007 07:50:01 +0000 dev-java/java-config: 1.3.7, 2.0.32 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 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 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo " LANG="en_US.utf8" LC_ALL="sv_SE.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa apache2 apm arts berkdb bitmap-fonts cdr cli cracklib crypt cups directsound directx dmo dri dvd dvdr eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 iconv imlib ipv6 isdnlog jpeg kde libg++ libwww mad midi mikmod mmx mmx2 motif mp3 mpeg mplayer ncurses nls nlx nptl nptlonly nvidia ogg opengl oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd threads truetype truetype-fonts type1-fonts unicode vcd vorbis win32codecs x x86 xinerama 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS That solution with VIDEO_CARDS="fglrx" ... how do I do that? haven't been doing much of these stuffs before, I'm afraid.
(In reply to comment #7) > > That solution with VIDEO_CARDS="fglrx" ... how do I do that? haven't been doing > much of these stuffs before, I'm afraid. > VIDEO_CARDS="fglrx" in your make.conf That will make Xorg install the fglrx driver only.
(In reply to comment #8) > (In reply to comment #7) > > > > > That solution with VIDEO_CARDS="fglrx" ... how do I do that? haven't been doing > > much of these stuffs before, I'm afraid. > > > > VIDEO_CARDS="fglrx" in your make.conf > > That will make Xorg install the fglrx driver only. > thanks alot, works as a charm :)
Ah, this sounds like there's a conflict with the SIS drivers and the ATI OpenGL headers. Issuing 'eselect set xorg-x11' before emerging the SIS driver would probably work a bit better.
(In reply to comment #9) > (In reply to comment #8) > > (In reply to comment #7) > > > > > > > > That solution with VIDEO_CARDS="fglrx" ... how do I do that? haven't been doing > > > much of these stuffs before, I'm afraid. > > > > > > > VIDEO_CARDS="fglrx" in your make.conf > > > > That will make Xorg install the fglrx driver only. > > > > thanks alot, works as a charm :) > What is fglrx? Is it compatible with the SiS monitor? I just updated to X 7.2, and got this error... Also is the suggestion from "comments 10" fixes the problem? Thank you.
I'm getting this too. I'll be using the VIDEO_CARDS fix because I don't need the sis driver. But the error is quite simple. The function SISDRICloseScreen is defined after other functions which use it, and because the function was not previously declared, it is assumed to return int. Then it is defined as returning void, hence the conflicting declarations. Someone else posted a patch for this. It would be nice to have it merged into the ebuild. http://svn.pardus.org.tr/pardus/devel/desktop/freedesktop/xorg/xorg-video/files/prototype.patch
It would be even better to get this fix into upstream, where it belongs. Please find or file a bug at https://bugs.freedesktop.org and put the link here. Thanks!
This bug is still not fixed and as xf86-video-sis-0.9.3 is stable by now it affects users upgrading. If upstream is taking to long to fix this we should deliver the patch linked in this bug to the users until upstream fixes this.
*** Bug 194375 has been marked as a duplicate of this bug. ***
I am having the same problem; has anyone ever cared to report this upstream? I can't find the bug in their Bugzilla.
*** Bug 198028 has been marked as a duplicate of this bug. ***
Reopen, the driver is unusable and there's a patch.
Someone affected by this, file an upstream bug -- Go to bugs.freedesktop.org in the xorg product to file it, then post the URL here.
Reported upstream as requested, see https://bugs.freedesktop.org/show_bug.cgi?id=13077.
If this isn't fixed in 0.9.4, please reopen. Also I'd appreciate if you would close the upstream bug if it's fixed.