* [gentoo-user] Can't emerge X11
@ 2007-09-05 16:26 Dennis Taylor
2007-09-05 16:34 ` Marc LEURENT
2007-09-05 17:22 ` [gentoo-user] " Francesco Talamona
0 siblings, 2 replies; 9+ messages in thread
From: Dennis Taylor @ 2007-09-05 16:26 UTC (permalink / raw
To: gentoo-user
I am using profile default-linux/x86/2007.0/desktop
My custom USE Flags are
USE="nptl nptlonly unicode"
emerge -u --deep --newuse world
Fails while building sis_dri.c. I have tracked it to a #define problem
while compiling. Sis_dri.c includes dri.h which includes sis_dri.h.
The issue is that XFree86Server is not defined at compile time. I have
looked around, but not yet figured out how to cause that to be defined.
Any pointers to the correct USE flag, or whatever would be appreciated.
------ snippet from sis_dri.h -----------
#ifdef XFree86Server
#include "screenint.h"
Bool SISDRIScreenInit(ScreenPtr pScreen);
void SISDRICloseScreen(ScreenPtr pScreen);
Bool SISDRIFinishScreenInit(ScreenPtr pScreen);
#endif
-------- error from build log -----
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]: Leaving directory
`/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.1-r1/work/xf86-video-si
s-0.9.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.1-r1/work/xf86-video-si
s-0.9.1'
make: *** [all] Error 2
!!! ERROR: x11-drivers/xf86-video-sis-0.9.1-r1 failed.
Call stack:
ebuild.sh, line 1638: Called dyn_compile
ebuild.sh, line 985: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ebuild.sh, line 1328: Called x-modular_src_compile
x-modular.eclass, line 337: Called x-modular_src_make
x-modular.eclass, line 332: 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/log/portage/x11-drivers:xf86-video-sis-0.9.1-r1:20070905-162058.lo
g'.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Can't emerge X11
2007-09-05 16:26 [gentoo-user] Can't emerge X11 Dennis Taylor
@ 2007-09-05 16:34 ` Marc LEURENT
2007-09-05 17:11 ` Dennis Taylor
2007-09-05 17:22 ` [gentoo-user] " Francesco Talamona
1 sibling, 1 reply; 9+ messages in thread
From: Marc LEURENT @ 2007-09-05 16:34 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Have you tried to compile the ~ version?? (~0.9.3)
echo "x11-drivers/xf86-video-sis ~x86" >> /etc/portage/package.keywords
And a revdep-rebuild sometimes is often quite useful!
Dennis Taylor a écrit :
> I am using profile default-linux/x86/2007.0/desktop
>
> My custom USE Flags are
>
> USE="nptl nptlonly unicode"
>
> emerge -u --deep --newuse world
>
> Fails while building sis_dri.c. I have tracked it to a #define problem
> while compiling. Sis_dri.c includes dri.h which includes sis_dri.h.
> The issue is that XFree86Server is not defined at compile time. I have
> looked around, but not yet figured out how to cause that to be defined.
>
> Any pointers to the correct USE flag, or whatever would be appreciated.
>
> ------ snippet from sis_dri.h -----------
> #ifdef XFree86Server
>
> #include "screenint.h"
>
> Bool SISDRIScreenInit(ScreenPtr pScreen);
> void SISDRICloseScreen(ScreenPtr pScreen);
> Bool SISDRIFinishScreenInit(ScreenPtr pScreen);
>
> #endif
> -------- error from build log -----
> 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]: Leaving directory
> `/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.1-r1/work/xf86-video-si
> s-0.9.1/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.1-r1/work/xf86-video-si
> s-0.9.1'
> make: *** [all] Error 2
>
> !!! ERROR: x11-drivers/xf86-video-sis-0.9.1-r1 failed.
> Call stack:
> ebuild.sh, line 1638: Called dyn_compile
> ebuild.sh, line 985: Called qa_call 'src_compile'
> ebuild.sh, line 44: Called src_compile
> ebuild.sh, line 1328: Called x-modular_src_compile
> x-modular.eclass, line 337: Called x-modular_src_make
> x-modular.eclass, line 332: 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/log/portage/x11-drivers:xf86-video-sis-0.9.1-r1:20070905-162058.lo
> g'.
>
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFG3tqCqjpLE0HiOBYRAgO9AJ4wv2WYslBmga6dSt5Qy+H7AiQKsACdElSJ
BgQZ/V/xDNAeOWDf4k0z5UU=
=fEI+
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Can't emerge X11
2007-09-05 16:34 ` Marc LEURENT
@ 2007-09-05 17:11 ` Dennis Taylor
0 siblings, 0 replies; 9+ messages in thread
From: Dennis Taylor @ 2007-09-05 17:11 UTC (permalink / raw
To: gentoo-user
Marc LEURENT wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Have you tried to compile the ~ version?? (~0.9.3)
> echo "x11-drivers/xf86-video-sis ~x86" >> /etc/portage/package.keywords
>
> And a revdep-rebuild sometimes is often quite useful!
>
>
Even with the revdep-rebuild, and the bump to 0.9.3, I get the same error.
> Dennis Taylor a écrit :
>> I am using profile default-linux/x86/2007.0/desktop
>>
>> My custom USE Flags are
>>
>> USE="nptl nptlonly unicode"
>>
>> emerge -u --deep --newuse world
>>
>> Fails while building sis_dri.c. I have tracked it to a #define problem
>> while compiling. Sis_dri.c includes dri.h which includes sis_dri.h.
>> The issue is that XFree86Server is not defined at compile time. I have
>> looked around, but not yet figured out how to cause that to be defined.
>>
>> Any pointers to the correct USE flag, or whatever would be appreciated.
>>
>> ------ snippet from sis_dri.h -----------
>> #ifdef XFree86Server
>>
>> #include "screenint.h"
>>
>> Bool SISDRIScreenInit(ScreenPtr pScreen);
>> void SISDRICloseScreen(ScreenPtr pScreen);
>> Bool SISDRIFinishScreenInit(ScreenPtr pScreen);
>>
>> #endif
>> -------- error from build log -----
>> 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]: Leaving directory
>> `/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.1-r1/work/xf86-video-si
>> s-0.9.1/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory
>> `/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.1-r1/work/xf86-video-si
>> s-0.9.1'
>> make: *** [all] Error 2
>>
>> !!! ERROR: x11-drivers/xf86-video-sis-0.9.1-r1 failed.
>> Call stack:
>> ebuild.sh, line 1638: Called dyn_compile
>> ebuild.sh, line 985: Called qa_call 'src_compile'
>> ebuild.sh, line 44: Called src_compile
>> ebuild.sh, line 1328: Called x-modular_src_compile
>> x-modular.eclass, line 337: Called x-modular_src_make
>> x-modular.eclass, line 332: 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/log/portage/x11-drivers:xf86-video-sis-0.9.1-r1:20070905-162058.lo
>> g'.
>>
>>
>>
>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFG3tqCqjpLE0HiOBYRAgO9AJ4wv2WYslBmga6dSt5Qy+H7AiQKsACdElSJ
> BgQZ/V/xDNAeOWDf4k0z5UU=
> =fEI+
> -----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-user] Re: Can't emerge X11
2007-09-05 16:26 [gentoo-user] Can't emerge X11 Dennis Taylor
2007-09-05 16:34 ` Marc LEURENT
@ 2007-09-05 17:22 ` Francesco Talamona
[not found] ` <46DEE882.1060307@gmail.com>
1 sibling, 1 reply; 9+ messages in thread
From: Francesco Talamona @ 2007-09-05 17:22 UTC (permalink / raw
To: gentoo-user
On Wednesday 05 September 2007, Dennis Taylor wrote:
> Fails while building sis_dri.c. I have tracked it to a #define
> problem while compiling. Sis_dri.c includes dri.h which includes
> sis_dri.h. The issue is that XFree86Server is not defined at compile
> time. I have looked around, but not yet figured out how to cause that
> to be defined.
Do you have SIS hardware?
Ciao
Francesco
--
Linux Version 2.6.22-gentoo-r4, Compiled #1 PREEMPT Mon Aug 20 08:34:23
CEST 2007
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4408.79 Bogomips Total
aemaeth
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-user] Re: Can't emerge X11
[not found] ` <46DEE882.1060307@gmail.com>
@ 2007-09-05 17:54 ` Francesco Talamona
2007-09-05 18:00 ` Daniel da Veiga
1 sibling, 0 replies; 9+ messages in thread
From: Francesco Talamona @ 2007-09-05 17:54 UTC (permalink / raw
To: gentoo-user
On Wednesday 05 September 2007, Dennis Taylor wrote:
> Francesco Talamona wrote:
> > On Wednesday 05 September 2007, Dennis Taylor wrote:
> >> Fails while building sis_dri.c. I have tracked it to a #define
> >> problem while compiling. Sis_dri.c includes dri.h which includes
> >> sis_dri.h. The issue is that XFree86Server is not defined at
> >> compile time. I have looked around, but not yet figured out how to
> >> cause that to be defined.
> >
> > Do you have SIS hardware?
> >
> > Ciao
> > Francesco
>
> No SIS hardware that I know of--lspci shows Matrox, but no SIS. Is
> there a flag to tell it explicitly which video card(s) I want to
> support? I know there must be a manual to read, but I have not been
> smart enough to find it.
Then you have to set VIDEO_CARDS (and INPUT_DEVICES) in /etc/make.conf.
See also http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml
HTH
Francesco
--
Linux Version 2.6.22-gentoo-r4, Compiled #1 PREEMPT Mon Aug 20 08:34:23
CEST 2007
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4408.79 Bogomips Total
aemaeth
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Re: Can't emerge X11
[not found] ` <46DEE882.1060307@gmail.com>
2007-09-05 17:54 ` Francesco Talamona
@ 2007-09-05 18:00 ` Daniel da Veiga
2007-09-05 18:33 ` Marzan, Richard non Unisys
1 sibling, 1 reply; 9+ messages in thread
From: Daniel da Veiga @ 2007-09-05 18:00 UTC (permalink / raw
To: gentoo-user
On 9/5/07, Dennis Taylor <dtaylor1952@gmail.com> wrote:
> Francesco Talamona wrote:
> > On Wednesday 05 September 2007, Dennis Taylor wrote:
> >> Fails while building sis_dri.c. I have tracked it to a #define
> >> problem while compiling. Sis_dri.c includes dri.h which includes
> >> sis_dri.h. The issue is that XFree86Server is not defined at compile
> >> time. I have looked around, but not yet figured out how to cause that
> >> to be defined.
> >
> > Do you have SIS hardware?
> >
> > Ciao
> > Francesco
>
> No SIS hardware that I know of--lspci shows Matrox, but no SIS. Is
> there a flag to tell it explicitly which video card(s) I want to
> support? I know there must be a manual to read, but I have not been
> smart enough to find it.
> >
Have you tried following:
http://www.gentoo.org/doc/en/xorg-config.xml
Your questions are all answered there.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [gentoo-user] Re: Can't emerge X11
2007-09-05 18:00 ` Daniel da Veiga
@ 2007-09-05 18:33 ` Marzan, Richard non Unisys
2007-09-06 14:24 ` Dennis Taylor
0 siblings, 1 reply; 9+ messages in thread
From: Marzan, Richard non Unisys @ 2007-09-05 18:33 UTC (permalink / raw
To: gentoo-user
Yes, there is a variable that you can set in /etc/make.conf
VIDEO_CARDS="sis"
ALSA_CARDS="emu10k1" ##nice one to set as well
To see a full list of the cards available for the variables run
#emerge --info
>From the output you can see which options are available. Once you set
these variables in make.conf portage will not build the other packages.
For example; I have VIDEO_CARDS="nv" so when I build X if does not
compile anything depending with sis or any of the other options
available for the VIDEO_CARDS option.
-----Original Message-----
From: Daniel da Veiga [mailto:danieldaveiga@gmail.com]
Sent: Wednesday, September 05, 2007 2:01 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Can't emerge X11
On 9/5/07, Dennis Taylor <dtaylor1952@gmail.com> wrote:
> Francesco Talamona wrote:
> > On Wednesday 05 September 2007, Dennis Taylor wrote:
> >> Fails while building sis_dri.c. I have tracked it to a #define
> >> problem while compiling. Sis_dri.c includes dri.h which includes
> >> sis_dri.h. The issue is that XFree86Server is not defined at
compile
> >> time. I have looked around, but not yet figured out how to cause
that
> >> to be defined.
> >
> > Do you have SIS hardware?
> >
> > Ciao
> > Francesco
>
> No SIS hardware that I know of--lspci shows Matrox, but no SIS. Is
> there a flag to tell it explicitly which video card(s) I want to
> support? I know there must be a manual to read, but I have not been
> smart enough to find it.
> >
Have you tried following:
http://www.gentoo.org/doc/en/xorg-config.xml
Your questions are all answered there.
--
gentoo-user@gentoo.org mailing list
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Re: Can't emerge X11
2007-09-05 18:33 ` Marzan, Richard non Unisys
@ 2007-09-06 14:24 ` Dennis Taylor
2007-09-06 16:20 ` Marzan, Richard non Unisys
0 siblings, 1 reply; 9+ messages in thread
From: Dennis Taylor @ 2007-09-06 14:24 UTC (permalink / raw
To: gentoo-user
Marzan, Richard non Unisys wrote:
> Yes, there is a variable that you can set in /etc/make.conf
>
> VIDEO_CARDS="sis"
> ALSA_CARDS="emu10k1" ##nice one to set as well
>
I guess I did something wrong because it still wanted to build all the
card types.
> To see a full list of the cards available for the variables run
> #emerge --info
>
>>From the output you can see which options are available. Once you set
> these variables in make.conf portage will not build the other packages.
> For example; I have VIDEO_CARDS="nv" so when I build X if does not
> compile anything depending with sis or any of the other options
> available for the VIDEO_CARDS option.
>
> -----Original Message-----
> From: Daniel da Veiga [mailto:danieldaveiga@gmail.com]
> Sent: Wednesday, September 05, 2007 2:01 PM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Re: Can't emerge X11
>
> On 9/5/07, Dennis Taylor <dtaylor1952@gmail.com> wrote:
>> Francesco Talamona wrote:
>>> On Wednesday 05 September 2007, Dennis Taylor wrote:
>>>> Fails while building sis_dri.c. I have tracked it to a #define
>>>> problem while compiling. Sis_dri.c includes dri.h which includes
>>>> sis_dri.h. The issue is that XFree86Server is not defined at
> compile
>>>> time. I have looked around, but not yet figured out how to cause
> that
>>>> to be defined.
>>> Do you have SIS hardware?
>>>
>>> Ciao
>>> Francesco
>> No SIS hardware that I know of--lspci shows Matrox, but no SIS. Is
>> there a flag to tell it explicitly which video card(s) I want to
>> support? I know there must be a manual to read, but I have not been
>> smart enough to find it.
>
> Have you tried following:
> http://www.gentoo.org/doc/en/xorg-config.xml
>
> Your questions are all answered there.
I have looked at this now, and will tinker more with it later, but on a
different machine. One that does not have to grind away for several
hours before telling me that it failed. :-) The machine in question is
mostly used as a gateway and a little bit of development, so I am just
removing X from it until I can learn more.
Thanks for trying.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [gentoo-user] Re: Can't emerge X11
2007-09-06 14:24 ` Dennis Taylor
@ 2007-09-06 16:20 ` Marzan, Richard non Unisys
0 siblings, 0 replies; 9+ messages in thread
From: Marzan, Richard non Unisys @ 2007-09-06 16:20 UTC (permalink / raw
To: gentoo-user
It should not build anything not related to your video card. Make sure
the variables are set correctly. Then, run emerge --info and see if that
setting has taken effect. If it has not then run #source /etc/make.conf.
then check emerge --info and see if sis is the value set for
VIDEO_CARDS.
-----Original Message-----
From: Dennis Taylor [mailto:dtaylor1952@gmail.com]
Sent: Thursday, September 06, 2007 10:25 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Can't emerge X11
Marzan, Richard non Unisys wrote:
> Yes, there is a variable that you can set in /etc/make.conf
>
> VIDEO_CARDS="sis"
> ALSA_CARDS="emu10k1" ##nice one to set as well
>
I guess I did something wrong because it still wanted to build all the
card types.
> To see a full list of the cards available for the variables run
> #emerge --info
>
>>From the output you can see which options are available. Once you set
> these variables in make.conf portage will not build the other
packages.
> For example; I have VIDEO_CARDS="nv" so when I build X if does not
> compile anything depending with sis or any of the other options
> available for the VIDEO_CARDS option.
>
> -----Original Message-----
> From: Daniel da Veiga [mailto:danieldaveiga@gmail.com]
> Sent: Wednesday, September 05, 2007 2:01 PM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Re: Can't emerge X11
>
> On 9/5/07, Dennis Taylor <dtaylor1952@gmail.com> wrote:
>> Francesco Talamona wrote:
>>> On Wednesday 05 September 2007, Dennis Taylor wrote:
>>>> Fails while building sis_dri.c. I have tracked it to a #define
>>>> problem while compiling. Sis_dri.c includes dri.h which includes
>>>> sis_dri.h. The issue is that XFree86Server is not defined at
> compile
>>>> time. I have looked around, but not yet figured out how to cause
> that
>>>> to be defined.
>>> Do you have SIS hardware?
>>>
>>> Ciao
>>> Francesco
>> No SIS hardware that I know of--lspci shows Matrox, but no SIS. Is
>> there a flag to tell it explicitly which video card(s) I want to
>> support? I know there must be a manual to read, but I have not been
>> smart enough to find it.
>
> Have you tried following:
> http://www.gentoo.org/doc/en/xorg-config.xml
>
> Your questions are all answered there.
I have looked at this now, and will tinker more with it later, but on a
different machine. One that does not have to grind away for several
hours before telling me that it failed. :-) The machine in question is
mostly used as a gateway and a little bit of development, so I am just
removing X from it until I can learn more.
Thanks for trying.
--
gentoo-user@gentoo.org mailing list
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-09-06 16:33 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-05 16:26 [gentoo-user] Can't emerge X11 Dennis Taylor
2007-09-05 16:34 ` Marc LEURENT
2007-09-05 17:11 ` Dennis Taylor
2007-09-05 17:22 ` [gentoo-user] " Francesco Talamona
[not found] ` <46DEE882.1060307@gmail.com>
2007-09-05 17:54 ` Francesco Talamona
2007-09-05 18:00 ` Daniel da Veiga
2007-09-05 18:33 ` Marzan, Richard non Unisys
2007-09-06 14:24 ` Dennis Taylor
2007-09-06 16:20 ` Marzan, Richard non Unisys
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox