Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198028 - x11-drivers/xf86-video-sis-0.9.3 fails to compile with USE=dri
Summary: x11-drivers/xf86-video-sis-0.9.3 fails to compile with USE=dri
Status: RESOLVED DUPLICATE of bug 167256
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-04 07:43 UTC by Christian Heim (RETIRED)
Modified: 2007-11-04 08:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info,2.79 KB, text/plain)
2007-11-04 07:45 UTC, Christian Heim (RETIRED)
Details
emerge log (log,23.48 KB, text/plain)
2007-11-04 07:45 UTC, Christian Heim (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Heim (RETIRED) gentoo-dev 2007-11-04 07:43:09 UTC
When compiliing x11-drivers/xf86-video-sis against a dri-enabled media-libs/mesa and x11-base/xorg-server, x11-drivers/xf86-video-sis fails to compile with this:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -O2 -pipe -march=i686 -g -ggdb2 -MT sis_dri.lo -MD -MP -MF .deps/sis_dri.Tpo -c sis_dri.c  -fPIC -DPIC -o .libs/sis_dri.o
sis_dri.c: In function `SISDRIScreenInit':
sis_dri.c:501: warning: passing arg 5 of `drmAgpAlloc' from incompatible pointer type
sis_dri.c:512: warning: passing arg 5 of `drmAgpAlloc' from incompatible pointer type
sis_dri.c:541: warning: passing arg 5 of `drmAgpAlloc' from incompatible pointer type
sis_dri.c: At top level:
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

This happens on a stable system as well as on a ~arch'ed system.
Comment 1 Christian Heim (RETIRED) gentoo-dev 2007-11-04 07:45:38 UTC
Created attachment 135139 [details]
emerge --info
Comment 2 Christian Heim (RETIRED) gentoo-dev 2007-11-04 07:45:55 UTC
Created attachment 135140 [details]
emerge log
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-11-04 08:26:16 UTC

*** This bug has been marked as a duplicate of bug 167256 ***