Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2D accelerated driver for SIS 671/672 Mirage 3+ [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
javeree
Apprentice
Apprentice


Joined: 29 Jan 2006
Posts: 285

PostPosted: Thu Dec 17, 2009 1:30 pm    Post subject: 2D accelerated driver for SIS 671/672 Mirage 3+ [solved] Reply with quote

I have the misfortune to have a new netbook with a sis 671 integrated graphic chip. I can run Xorg using the vesa driver, but would at least want 2D acceleration to watch a video in fullscreen.

There is for this chipset a binary driver that alledgedly does that, but when I use it (just replaced sis_drv.so with the one from the binary driver, I get

"module ABI major version (1) doesn't match the server's version". After some research, I found ABI 1 should be supported by xorg-server-1.3, so I would like to downgrade to test this (I prefer no hal hotplugging to no video). However, there are no ebuild for this xorg-server anymore, nor probably other dependencies. However, in the past it must have been available. Is there somewhere an archive or overlay of old ebuilds (even possibly invalid) ebuilds I could use to find back the ebuild for xog-server-1.3 ?


Last edited by javeree on Fri Dec 18, 2009 11:37 am; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4635
Location: Saint Amant, Acadiana

PostPosted: Thu Dec 17, 2009 1:43 pm    Post subject: Reply with quote

New notebook with old Xorg?
Try the first hit in Google: http://www.google.com/linux?hl=en&q=sis+671&btnG=Search
Back to top
View user's profile Send private message
javeree
Apprentice
Apprentice


Joined: 29 Jan 2006
Posts: 285

PostPosted: Thu Dec 17, 2009 3:52 pm    Post subject: Reply with quote

I had already found that page too. As I have kernel 2.6.31, the required patches are already included.
Trying to compile the driver gives

"sis.h:63:24: error: xf86_ansic.h: No such file or directory"

Looking for where this file should be found, I found out it was removed in xorg-server-1.4. So this driver also requires an old server version.
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4635
Location: Saint Amant, Acadiana

PostPosted: Thu Dec 17, 2009 4:08 pm    Post subject: Reply with quote

Whoops, sorry, didn't dig too deep. Did you even try sis Xorg driver?

http://www.winischhofer.net/linuxsispart1.shtml#12
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3200

PostPosted: Thu Dec 17, 2009 4:56 pm    Post subject: Reply with quote

I would also recommend the sis drivers, which work fine on at least xorg-server-1.5, and I assume 1.6
Code:
emerge x11-drivers/xf86-video-sis


These drivers do not support 3d acceleration, so watching fullscreen flash video might be an issue.
Back to top
View user's profile Send private message
javeree
Apprentice
Apprentice


Joined: 29 Jan 2006
Posts: 285

PostPosted: Thu Dec 17, 2009 5:14 pm    Post subject: Reply with quote

@Jaglover,
the winischofer driver also uses the same header file

@mikegpitt
The sis driver module is loaded, but the driver doesn't seem to recognize the chip, because xorg falls back to vesa.

Quote:
II) SIS: driver for SiS chipsets: SIS5597/5598, SIS530/620,
SIS6326/AGP/DVD, SIS300/305, SIS630/730, SIS540, SIS315, SIS315H,
SIS315PRO/E, SIS550, SIS650/M650/651/740, SIS330(Xabre),
SIS660/[M]661[F|M]X/[M]670/[M]741[GX]/[M]760[GX]/[M]761[GX]/[M]770[GX],
SIS340
(II) SIS: driver for XGI chipsets: Volari Z7 (XG20),
Volari V3XT/V5/V8/Duo (XG40)
(II) VESA: driver for VESA chipsets: vesa
(II) Primary Device is: PCI 01@00:00:0
(WW) Falling back to old probe method for sis
....
(II) VESA(0): initializing int10
(II) VESA(0): Primary V_BIOS segment is: 0xc000
(II) VESA(0): VESA BIOS detected
(II) VESA(0): VESA VBE Version 3.0
(II) VESA(0): VESA VBE Total Mem: 131072 kB


If I force the sis driver to be used by setting it in xorg.conf, I get
Quote:
(II) Module sis: vendor="X.Org Foundation"
compiled for 1.6.3.901, module version = 0.10.2
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 5.0
(II) SIS: driver for SiS chipsets: SIS5597/5598, SIS530/620,
SIS6326/AGP/DVD, SIS300/305, SIS630/730, SIS540, SIS315, SIS315H,
SIS315PRO/E, SIS550, SIS650/M650/651/740, SIS330(Xabre),
SIS660/[M]661[F|M]X/[M]670/[M]741[GX]/[M]760[GX]/[M]761[GX]/[M]770[GX],
SIS340
(II) SIS: driver for XGI chipsets: Volari Z7 (XG20),
Volari V3XT/V5/V8/Duo (XG40)
(II) Primary Device is: PCI 01@00:00:0
(WW) Falling back to old probe method for sis
(EE) No devices detected.

Fatal server error:
no screens found
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4635
Location: Saint Amant, Acadiana

PostPosted: Thu Dec 17, 2009 5:40 pm    Post subject: Reply with quote

My [limited] understanding is SIS driver does not load because device detection does not work. Is there a way to force it even more? I think it's worth to study the documentation, Xorg in general and something certainly comes with SIS driver (don't have it installed).

Maybe you miss something in your kernel?
Back to top
View user's profile Send private message
javeree
Apprentice
Apprentice


Joined: 29 Jan 2006
Posts: 285

PostPosted: Thu Dec 17, 2009 8:52 pm    Post subject: Reply with quote

I guess it doesn't recognize the chip because it is not coded to do so.

This is a chip commercially known as 'SIS Mirage 3+', which I've both seen referred to as 671, 671MX and as 672. The thing that sets it apart is that it has no own memory but shares the system memory :-(

my lspci -n gives
01:00.0 0300: 1039:6351 (rev 10)

in the sis driver code there is no mention of '6351', whereas the sisimedia code contains at least a line
#define PCI_CHIP_SIS671 0x6351

I really should be able to try to install the old xorg-server and verify if this other driver rcognizes it.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3200

PostPosted: Thu Dec 17, 2009 9:27 pm    Post subject: Reply with quote

I think you are right about the driver not being supported, based on Xorg's output. It is unfortunate that the new driver is distributed in binary only format -- I recently experienced the same issue with a touchscreen driver that was compiled for various versions of Ubuntu, but didn't match my system's ABI.

BTW - Even if you get xorg-server-1.3 running, the driver still might not match your ABI due to other packages it might need.
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 2127
Location: Finland

PostPosted: Thu Dec 17, 2009 9:36 pm    Post subject: Reply with quote

There's some discussion here,

http://forum.mandriva.com/viewtopic.php?t=91810

about making the xf86-video-sis-imedia driver work with newer X.org, like removing the ansi...h include..
Back to top
View user's profile Send private message
javeree
Apprentice
Apprentice


Joined: 29 Jan 2006
Posts: 285

PostPosted: Fri Dec 18, 2009 11:34 am    Post subject: Reply with quote

Yesterday, just before going to bed, I wrote a very enthousiastic reply because you mandriva reference led me to a page and to another one until I stumbled on the source of a driver that compiled against the current xorg.
As a reminder to myself, I detailed step by step in this post what I had done to get compile and install the driver. And this morning, it was all gone. Probably didn't press submit before closing down :-(

Anyway, here are again the steps I took to get and create the driver:

xorg-x11-7.4.r1
xorg-server-1.6.3.901-r2

Quote:
mkdir ~/sis672-driver
cd ~/sis672-driver
wget http://launchpadlibrarian.net/24820246/xorg-driver-sis671_0.9.tar.gz -O xorg-driver-sis671_0.9.tar.gz
tar -xzvf xorg-driver-sis671_0.9.tar.gz
cd xorg-driver-sis671-0.9
./autogen
./configure
make
make install # this is probably not needed and debian or ubuntu specific. It didn't do harm either
cp ./src/.libs/sis671_drv.so /usr/lib/xorg/modules/drivers/sis_drv.so

cp /etc/X11/xorg.conf /etc/X11/xorg.conf.000 # backup of the previous xorg.conf

cat <<EOF > /etc/X11/Xorg.conf
Section "ServerFlags"
Option "IgnoreABI" "true" # a leftover of trying to get a binary driver working. Probably not needed now
EndSection

Section "Monitor" # Needed for me because my monitor has no DCC
Identifier "PhilipsTV"
VendorName "Philips"
ModelName "37pf7320"
HorizSync 30-70
VertRefresh 50-80
EndSection

Section "Device"
Identifier "SISMirage3+"
Driver "sis671" # this is the crucial line
VendorName "Silicon Integrated Systems [SiS]"
BoardName "771/671 PCIE VGA Display Adapter"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Default LCD TV Screen"
Monitor "PhilipsTV"
Device "SISMirage3+"
Defaultdepth 24
Subsection "Display
Depth 24
#Modes "1280x1024" "1024x768"
Modes "1024x768"
EndSubSection
EndSection
EOF

/etc/init.d/xdm restart


And voilà : xorg restarts with 2D acceleration included. I now can watch video in full screen !

I'll adapt the title of this topic and set it to solved.
Thanks
Back to top
View user's profile Send private message
javeree
Apprentice
Apprentice


Joined: 29 Jan 2006
Posts: 285

PostPosted: Sun May 16, 2010 11:38 am    Post subject: Reply with quote

Update: The same also works with xorg-server-1.6.5-r1, but compilation fails with xorg-server-1.7
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 1661
Location: Berlin, Germany

PostPosted: Sun May 16, 2010 12:27 pm    Post subject: Reply with quote

For some SiS chipsets, the best driver for is xf86-video-xgi which should work with xorg-server-1.7.
Back to top
View user's profile Send private message
javeree
Apprentice
Apprentice


Joined: 29 Jan 2006
Posts: 285

PostPosted: Tue Sep 28, 2010 9:22 pm    Post subject: Reply with quote

I found an updated version of the driver that gives accelerated video on SiS671., but this time for xorg-server-1.7.7-r1

It is available on http://www.4shared.com/account/file/Qk83ONc2/Asusx5dc-ubuntu1004-sis671-src.html

download it, then execute

Quote:
tar -xjvf Asusx5dc-ubuntu10.04-sis671-src.tar.bz2
cd xorg-driver-sis671-0.9.1/
# remark, the next step fails on a path with space in the filename
./autogen.sh
./configure
make
make install


# make install seems to install the driver in /usr/local/lib/xorg/modules/drivers. I haven't tested if xorg-server also finds the file there. I simply copy it to the location:
Quote:
cp ./src/.libs/sis671_drv.so /usr/lib/xorg/modules/drivers/sis671_drv.so


I still use xorg.conf as in the previous posts.
Back to top
View user's profile Send private message
The Mad Crapper
Apprentice
Apprentice


Joined: 08 Aug 2005
Posts: 156

PostPosted: Tue Apr 12, 2011 4:08 pm    Post subject: Reply with quote

javeree wrote:
I found an updated version of the driver that gives accelerated video on SiS671., but this time for xorg-server-1.7.7-r1

It is available on http://www.4shared.com/account/file/Qk83ONc2/Asusx5dc-ubuntu1004-sis671-src.html

download it, then execute

Quote:
tar -xjvf Asusx5dc-ubuntu10.04-sis671-src.tar.bz2
cd xorg-driver-sis671-0.9.1/
# remark, the next step fails on a path with space in the filename
./autogen.sh
./configure
make
make install


# make install seems to install the driver in /usr/local/lib/xorg/modules/drivers. I haven't tested if xorg-server also finds the file there. I simply copy it to the location:
Quote:
cp ./src/.libs/sis671_drv.so /usr/lib/xorg/modules/drivers/sis671_drv.so


I still use xorg.conf as in the previous posts.


I can't get this to build-
Quote:
xorg-driver-sis671-0.9.1 # make
make all-recursive
make[1]: Entering directory `/usr/src/xorg-driver-sis671-0.9.1'
Making all in src
make[2]: Entering directory `/usr/src/xorg-driver-sis671-0.9.1/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT sis_driver.lo -MD -MP -MF .deps/sis_driver.Tpo -c -o sis_driver.lo sis_driver.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT sis_driver.lo -MD -MP -MF .deps/sis_driver.Tpo -c sis_driver.c -fPIC -DPIC -o .libs/sis_driver.o
sis_driver.c:90:20: error: mibank.h: No such file or directory
sis_driver.c: In function 'SISProbe':
sis_driver.c:550: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:639: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:640: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SISFreeRec':
sis_driver.c:686: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:691: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:704: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:708: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:712: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:725: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:730: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:735: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:743: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:748: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:753: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:765: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:767: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:779: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:781: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:782: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:802: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:807: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:812: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:817: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:828: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:845: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SISErrorLog':
sis_driver.c:858: warning: format not a string literal and no format arguments
sis_driver.c:865: warning: format not a string literal and no format arguments
sis_driver.c: In function 'SiS_CheckKernelFB':
sis_driver.c:1067: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c:1071: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:1076: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c:1082: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:1221: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SiSReadROM':
sis_driver.c:1300: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225)
sis_driver.c:1403: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SiSSetEDIDPtr':
sis_driver.c:1902: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SiSFreeEDID':
sis_driver.c:1933: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SiSGetDDCAndEDID':
sis_driver.c:2209: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SiSDuplicateMode':
sis_driver.c:2872: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c:2876: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c:2877: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SISPreInit':
sis_driver.c:5314: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c:5350: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:5399: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:5767: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SISVESASaveRestore':
sis_driver.c:6786: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c: In function 'SISScreenInit':
sis_driver.c:9509: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c:9693: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c:9695: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c:9700: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SISCloseScreen':
sis_driver.c:10873: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:10878: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:10883: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:10888: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:10894: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:10899: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:10904: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
make[2]: *** [sis_driver.lo] Error 1
make[2]: Leaving directory `/usr/src/xorg-driver-sis671-0.9.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/xorg-driver-sis671-0.9.1'
make: *** [all] Error 2
ZILLAD xorg-driver-sis671-0.9.1 #


Im not sure what mibank.h is or why i don't have it- ideas? anyone else able to get this to build successfully?

Is my Xorg just too new?

Quote:
X.Org X Server 1.9.4
Release Date: 2011-02-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.36-hardened-r9 x86_64 Gentoo
Current Operating System: Linux ZILLAD 2.6.36-hardened-r9 #2 SMP Tue Apr 12 08:50:57 EDT 2011 x86_64
Kernel command line: root=/dev/sda3
Build Date: 12 April 2011 09:45:47AM

Current version of pixman: 0.20.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 1661
Location: Berlin, Germany

PostPosted: Tue Apr 12, 2011 4:35 pm    Post subject: Reply with quote

Code:
sis_driver.c:90:20: error: mibank.h: No such file or directory
This file has been removed from xorg-server. The last version to include it was 1.8.
Back to top
View user's profile Send private message
The Mad Crapper
Apprentice
Apprentice


Joined: 08 Aug 2005
Posts: 156

PostPosted: Tue Apr 12, 2011 4:37 pm    Post subject: Reply with quote

chithanh wrote:
Code:
sis_driver.c:90:20: error: mibank.h: No such file or directory
This file has been removed from xorg-server. The last version to include it was 1.8.


do i just need to lift that file from an older version to compile this driver? Has anyone gotten the driver to work with Xorg 1.9?
Back to top
View user's profile Send private message
javeree
Apprentice
Apprentice


Joined: 29 Jan 2006
Posts: 285

PostPosted: Thu Apr 14, 2011 11:41 pm    Post subject: Reply with quote

I have not upgraded to 1.9 yet, so could not verify anything yet.

Have a look at this thread: http://ubuntuforums.org/showthread.php?p=9855557 The entry of september 30th, 2010 seems to suggest to simply remove the reference to mibanks.h
Back to top
View user's profile Send private message
The Mad Crapper
Apprentice
Apprentice


Joined: 08 Aug 2005
Posts: 156

PostPosted: Fri Apr 15, 2011 1:13 pm    Post subject: Reply with quote

javeree wrote:
I have not upgraded to 1.9 yet, so could not verify anything yet.

Have a look at this thread: http://ubuntuforums.org/showthread.php?p=9855557 The entry of september 30th, 2010 seems to suggest to simply remove the reference to mibanks.h


Thanks for the find but that didn't work for me.

Code:
...
sis_mergedfb.c:2950: error: too few arguments to function 'CreateNewResourceType'
...


Code:
xorg-driver-sis671-0.9.1 # make
make  all-recursive
make[1]: Entering directory `/usr/src/xorg-driver-sis671-0.9.1'
Making all in src
make[2]: Entering directory `/usr/src/xorg-driver-sis671-0.9.1/src'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1     -I/usr/include/libdrm -I/usr/include/X11/dri   -g -O2 -MT init301.lo -MD -MP -MF .deps/init301.Tpo -c -o init301.lo init301.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT init301.lo -MD -MP -MF .deps/init301.Tpo -c init301.c  -fPIC -DPIC -o .libs/init301.o
mv -f .deps/init301.Tpo .deps/init301.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1     -I/usr/include/libdrm -I/usr/include/X11/dri   -g -O2 -MT init.lo -MD -MP -MF .deps/init.Tpo -c -o init.lo init.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT init.lo -MD -MP -MF .deps/init.Tpo -c init.c  -fPIC -DPIC -o .libs/init.o
mv -f .deps/init.Tpo .deps/init.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1     -I/usr/include/libdrm -I/usr/include/X11/dri   -g -O2 -MT initextx.lo -MD -MP -MF .deps/initextx.Tpo -c -o initextx.lo initextx.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT initextx.lo -MD -MP -MF .deps/initextx.Tpo -c initextx.c  -fPIC -DPIC -o .libs/initextx.o
initextx.c: In function 'SiSBuildBuiltInModeList':
initextx.c:276: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
initextx.c:278: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
initextx.c:279: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
initextx.c:422: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
initextx.c:425: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
initextx.c:426: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
initextx.c:507: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
initextx.c:510: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
initextx.c:511: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
mv -f .deps/initextx.Tpo .deps/initextx.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1     -I/usr/include/libdrm -I/usr/include/X11/dri   -g -O2 -MT sis300_accel.lo -MD -MP -MF .deps/sis300_accel.Tpo -c -o sis300_accel.lo sis300_accel.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT sis300_accel.lo -MD -MP -MF .deps/sis300_accel.Tpo -c sis300_accel.c  -fPIC -DPIC -o .libs/sis300_accel.o
mv -f .deps/sis300_accel.Tpo .deps/sis300_accel.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1     -I/usr/include/libdrm -I/usr/include/X11/dri   -g -O2 -MT sis310_accel.lo -MD -MP -MF .deps/sis310_accel.Tpo -c -o sis310_accel.lo sis310_accel.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT sis310_accel.lo -MD -MP -MF .deps/sis310_accel.Tpo -c sis310_accel.c  -fPIC -DPIC -o .libs/sis310_accel.o
sis310_accel.c: In function 'SiS315AccelInit':
sis310_accel.c:1706: warning: pointer type mismatch in conditional expression
sis310_accel.c:1716: warning: pointer type mismatch in conditional expression
sis310_accel.c:1718: warning: pointer/integer type mismatch in conditional expression
sis310_accel.c:1718: warning: assignment makes integer from pointer without a cast
mv -f .deps/sis310_accel.Tpo .deps/sis310_accel.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1     -I/usr/include/libdrm -I/usr/include/X11/dri   -g -O2 -MT sis6326_video.lo -MD -MP -MF .deps/sis6326_video.Tpo -c -o sis6326_video.lo sis6326_video.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT sis6326_video.lo -MD -MP -MF .deps/sis6326_video.Tpo -c sis6326_video.c  -fPIC -DPIC -o .libs/sis6326_video.o
sis6326_video.c: In function 'SIS6326InitVideo':
sis6326_video.c:174: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis6326_video.c:189: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis6326_video.c: In function 'SIS6326SetupImageVideo':
sis6326_video.c:535: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225)
sis6326_video.c:574: warning: assignment from incompatible pointer type
mv -f .deps/sis6326_video.Tpo .deps/sis6326_video.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1     -I/usr/include/libdrm -I/usr/include/X11/dri   -g -O2 -MT sis_3daccel.lo -MD -MP -MF .deps/sis_3daccel.Tpo -c -o sis_3daccel.lo sis_3daccel.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT sis_3daccel.lo -MD -MP -MF .deps/sis_3daccel.Tpo -c sis_3daccel.c  -fPIC -DPIC -o .libs/sis_3daccel.o
mv -f .deps/sis_3daccel.Tpo .deps/sis_3daccel.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1     -I/usr/include/libdrm -I/usr/include/X11/dri   -g -O2 -MT sis_accel.lo -MD -MP -MF .deps/sis_accel.Tpo -c -o sis_accel.lo sis_accel.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT sis_accel.lo -MD -MP -MF .deps/sis_accel.Tpo -c sis_accel.c  -fPIC -DPIC -o .libs/sis_accel.o
mv -f .deps/sis_accel.Tpo .deps/sis_accel.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1     -I/usr/include/libdrm -I/usr/include/X11/dri   -g -O2 -MT sis_cursor.lo -MD -MP -MF .deps/sis_cursor.Tpo -c -o sis_cursor.lo sis_cursor.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT sis_cursor.lo -MD -MP -MF .deps/sis_cursor.Tpo -c sis_cursor.c  -fPIC -DPIC -o .libs/sis_cursor.o
sis_cursor.c: In function 'SiSHWCursorInit':
sis_cursor.c:1256: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225)
sis_cursor.c:1260: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
mv -f .deps/sis_cursor.Tpo .deps/sis_cursor.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1     -I/usr/include/libdrm -I/usr/include/X11/dri   -g -O2 -MT sis_dac.lo -MD -MP -MF .deps/sis_dac.Tpo -c -o sis_dac.lo sis_dac.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT sis_dac.lo -MD -MP -MF .deps/sis_dac.Tpo -c sis_dac.c  -fPIC -DPIC -o .libs/sis_dac.o
mv -f .deps/sis_dac.Tpo .deps/sis_dac.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1     -I/usr/include/libdrm -I/usr/include/X11/dri   -g -O2 -MT sis_dga.lo -MD -MP -MF .deps/sis_dga.Tpo -c -o sis_dga.lo sis_dga.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT sis_dga.lo -MD -MP -MF .deps/sis_dga.Tpo -c sis_dga.c  -fPIC -DPIC -o .libs/sis_dga.o
sis_dga.c: In function 'SISSetupDGAMode':
sis_dga.c:159: warning: 'Xrealloc' is deprecated (declared at /usr/include/xorg/os.h:229)
sis_dga.c:164: warning: 'Xrealloc' is deprecated (declared at /usr/include/xorg/os.h:229)
sis_dga.c:170: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
mv -f .deps/sis_dga.Tpo .deps/sis_dga.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1     -I/usr/include/libdrm -I/usr/include/X11/dri   -g -O2 -MT sis_driver.lo -MD -MP -MF .deps/sis_driver.Tpo -c -o sis_driver.lo sis_driver.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT sis_driver.lo -MD -MP -MF .deps/sis_driver.Tpo -c sis_driver.c  -fPIC -DPIC -o .libs/sis_driver.o
sis_driver.c: In function 'SISProbe':
sis_driver.c:550: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:639: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:640: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SISFreeRec':
sis_driver.c:686: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:691: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:704: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:708: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:712: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:725: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:730: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:735: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:743: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:748: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:753: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:765: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:767: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:779: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:781: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:782: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:802: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:807: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:812: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:817: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:828: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:845: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SISErrorLog':
sis_driver.c:858: warning: format not a string literal and no format arguments
sis_driver.c:865: warning: format not a string literal and no format arguments
sis_driver.c: In function 'SiS_CheckKernelFB':
sis_driver.c:1067: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c:1071: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:1076: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c:1082: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:1221: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SiSReadROM':
sis_driver.c:1300: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225)
sis_driver.c:1403: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SiSSetEDIDPtr':
sis_driver.c:1902: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SiSFreeEDID':
sis_driver.c:1933: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SiSGetDDCAndEDID':
sis_driver.c:2209: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SiSDuplicateMode':
sis_driver.c:2872: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c:2876: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c:2877: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SISPreInit':
sis_driver.c:5314: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c:5350: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:5399: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:5767: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SISVESASaveRestore':
sis_driver.c:6786: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c: In function 'SISScreenInit':
sis_driver.c:9509: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c:9693: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c:9695: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_driver.c:9700: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c: In function 'SISCloseScreen':
sis_driver.c:10873: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:10878: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:10883: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:10888: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:10894: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:10899: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_driver.c:10904: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
mv -f .deps/sis_driver.Tpo .deps/sis_driver.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1     -I/usr/include/libdrm -I/usr/include/X11/dri   -g -O2 -MT sis_hwmc.lo -MD -MP -MF .deps/sis_hwmc.Tpo -c -o sis_hwmc.lo sis_hwmc.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT sis_hwmc.lo -MD -MP -MF .deps/sis_hwmc.Tpo -c sis_hwmc.c  -fPIC -DPIC -o .libs/sis_hwmc.o
sis_hwmc.c: In function 'SiSXvMCCreateContext':
sis_hwmc.c:307: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225)
sis_hwmc.c:319: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_hwmc.c:333: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_hwmc.c:354: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_hwmc.c: In function 'SiSXvMCCreateSurface':
sis_hwmc.c:405: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225)
sis_hwmc.c:432: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_hwmc.c: In function 'SiSXvMCCreateSubpicture':
sis_hwmc.c:451: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225)
mv -f .deps/sis_hwmc.Tpo .deps/sis_hwmc.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1     -I/usr/include/libdrm -I/usr/include/X11/dri   -g -O2 -MT sis_memcpy.lo -MD -MP -MF .deps/sis_memcpy.Tpo -c -o sis_memcpy.lo sis_memcpy.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT sis_memcpy.lo -MD -MP -MF .deps/sis_memcpy.Tpo -c sis_memcpy.c  -fPIC -DPIC -o .libs/sis_memcpy.o
sis_memcpy.c: In function 'SiS_AllocBuffers':
sis_memcpy.c:640: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_memcpy.c:645: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_memcpy.c:646: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_memcpy.c: In function 'SiSVidCopyInitGen':
sis_memcpy.c:1098: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_memcpy.c:1099: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
mv -f .deps/sis_memcpy.Tpo .deps/sis_memcpy.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1     -I/usr/include/libdrm -I/usr/include/X11/dri   -g -O2 -MT sis_mergedfb.lo -MD -MP -MF .deps/sis_mergedfb.Tpo -c -o sis_mergedfb.lo sis_mergedfb.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT sis_mergedfb.lo -MD -MP -MF .deps/sis_mergedfb.Tpo -c sis_mergedfb.c  -fPIC -DPIC -o .libs/sis_mergedfb.o
sis_mergedfb.c: In function 'SiSCopyModeNLink':
sis_mergedfb.c:178: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_mergedfb.c:183: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_mergedfb.c:184: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_mergedfb.c:273: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_mergedfb.c:274: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_mergedfb.c:314: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_mergedfb.c:365: warning: format not a string literal and no format arguments
sis_mergedfb.c: In function 'SiSMetaModeParseError':
sis_mergedfb.c:554: warning: format '%d' expects type 'int', but argument 4 has type 'long int'
sis_mergedfb.c: In function 'SiSMFBInitMergedFB':
sis_mergedfb.c:857: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_mergedfb.c:897: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_mergedfb.c: In function 'SiSFreeCRT2Structs':
sis_mergedfb.c:919: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_mergedfb.c:921: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_mergedfb.c: In function 'SiSTellChanged':
sis_mergedfb.c:1925: warning: 'LookupIDByType' is deprecated (declared at /usr/include/xorg/resource.h:272)
sis_mergedfb.c: In function 'SiSUpdateXineramaScreenInfo':
sis_mergedfb.c:2145: warning: format not a string literal and no format arguments
sis_mergedfb.c:2153: warning: format not a string literal and no format arguments
sis_mergedfb.c: In function 'SiSProcXineramaSelectInput':
sis_mergedfb.c:2643: warning: 'SecurityLookupIDByType' is deprecated (declared at /usr/include/xorg/resource.h:258)
sis_mergedfb.c:2659: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_mergedfb.c:2684: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:221)
sis_mergedfb.c:2713: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_mergedfb.c: In function 'SiSXineramaResetProc':
sis_mergedfb.c:2852: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_mergedfb.c: In function 'SiSXineramaFreeClient':
sis_mergedfb.c:2864: warning: 'LookupIDByType' is deprecated (declared at /usr/include/xorg/resource.h:272)
sis_mergedfb.c:2875: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_mergedfb.c: In function 'SiSXineramaFreeEvents':
sis_mergedfb.c:2888: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_mergedfb.c:2890: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:234)
sis_mergedfb.c: In function 'SiSXineramaExtensionInit':
sis_mergedfb.c:2946: error: too few arguments to function 'CreateNewResourceType'
sis_mergedfb.c:2950: error: too few arguments to function 'CreateNewResourceType'
sis_mergedfb.c:2963: warning: 'Xcalloc' is deprecated (declared at /usr/include/xorg/os.h:225)
make[2]: *** [sis_mergedfb.lo] Error 1
make[2]: Leaving directory `/usr/src/xorg-driver-sis671-0.9.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/xorg-driver-sis671-0.9.1'
make: *** [all] Error 2
Back to top
View user's profile Send private message
javeree
Apprentice
Apprentice


Joined: 29 Jan 2006
Posts: 285

PostPosted: Thu May 12, 2011 11:23 am    Post subject: Reply with quote

I've upgraded this week to xorg-server 1.9.5, and the previously compiled driver still seems to work with this version.
A suggestion from me would be to downgrade to 1.8 first (the version that contained the .h file you are missing now), then compile the driver and then upgrade again to 1.9.

I will try a compile of the driver soon (after a backup of the one I currently have :-) against the new xorg-server and report back.

However, all I can do is hope I'll find a driver version that someone else got working, as I have no knowledge about video drivers or xorg internals.
Back to top
View user's profile Send private message
The Mad Crapper
Apprentice
Apprentice


Joined: 08 Aug 2005
Posts: 156

PostPosted: Thu May 12, 2011 12:58 pm    Post subject: Reply with quote

I ended up finding a different piece of hardware to put gentoo on, something with an Intel graphics chip. I just got tired of screwing with it- Silly SIS
Back to top
View user's profile Send private message
fetaera
n00b
n00b


Joined: 23 Jan 2013
Posts: 8
Location: UK

PostPosted: Wed Jan 23, 2013 4:01 am    Post subject: Reply with quote

Edit: Moved to new thread given the time lapse.

Resolution here for xserver-1.13: http://forums.gentoo.org/viewtopic-t-948864-start-0-postdays-0-postorder-asc-highlight-.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum