1 |
I am using profile default-linux/x86/2007.0/desktop |
2 |
|
3 |
My custom USE Flags are |
4 |
|
5 |
USE="nptl nptlonly unicode" |
6 |
|
7 |
emerge -u --deep --newuse world |
8 |
|
9 |
Fails while building sis_dri.c. I have tracked it to a #define problem |
10 |
while compiling. Sis_dri.c includes dri.h which includes sis_dri.h. |
11 |
The issue is that XFree86Server is not defined at compile time. I have |
12 |
looked around, but not yet figured out how to cause that to be defined. |
13 |
|
14 |
Any pointers to the correct USE flag, or whatever would be appreciated. |
15 |
|
16 |
------ snippet from sis_dri.h ----------- |
17 |
#ifdef XFree86Server |
18 |
|
19 |
#include "screenint.h" |
20 |
|
21 |
Bool SISDRIScreenInit(ScreenPtr pScreen); |
22 |
void SISDRICloseScreen(ScreenPtr pScreen); |
23 |
Bool SISDRIFinishScreenInit(ScreenPtr pScreen); |
24 |
|
25 |
#endif |
26 |
-------- error from build log ----- |
27 |
sis_dri.c:753: error: conflicting types for 'SISDRICloseScreen' |
28 |
sis_dri.c:427: error: previous implicit declaration of |
29 |
'SISDRICloseScreen' was here |
30 |
make[2]: *** [sis_dri.lo] Error 1 |
31 |
make[2]: Leaving directory |
32 |
`/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.1-r1/work/xf86-video-si |
33 |
s-0.9.1/src' |
34 |
make[1]: *** [all-recursive] Error 1 |
35 |
make[1]: Leaving directory |
36 |
`/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.1-r1/work/xf86-video-si |
37 |
s-0.9.1' |
38 |
make: *** [all] Error 2 |
39 |
|
40 |
!!! ERROR: x11-drivers/xf86-video-sis-0.9.1-r1 failed. |
41 |
Call stack: |
42 |
ebuild.sh, line 1638: Called dyn_compile |
43 |
ebuild.sh, line 985: Called qa_call 'src_compile' |
44 |
ebuild.sh, line 44: Called src_compile |
45 |
ebuild.sh, line 1328: Called x-modular_src_compile |
46 |
x-modular.eclass, line 337: Called x-modular_src_make |
47 |
x-modular.eclass, line 332: Called die |
48 |
|
49 |
!!! emake failed |
50 |
!!! If you need support, post the topmost build error, and the call |
51 |
stack if relevant. |
52 |
!!! A complete build log is located at |
53 |
'/var/log/portage/x11-drivers:xf86-video-sis-0.9.1-r1:20070905-162058.lo |
54 |
g'. |
55 |
|
56 |
|
57 |
|
58 |
|
59 |
-- |
60 |
gentoo-user@g.o mailing list |