1 |
Bug report: |
2 |
|
3 |
While compiling xorg-server-1.1.1 (with emerge) I got the following error: |
4 |
|
5 |
sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. |
6 |
-I../../../include -I../../../include -I../../../include |
7 |
-I../../../include -I../../../include -I../../../include |
8 |
-I../../../include -I../../../include -I../../../hw/xfree86 |
9 |
-I../../../hw/xfree86/include -I../../../hw/xfree86/common |
10 |
-I../../../hw/xfree86/os-support -I../../../hw/xfree86/os-support/bus |
11 |
-I../../../os -I./../ddc -I./../i2c -I./../loader -I./../rac |
12 |
-I./../parser -I./../scanpci -I./../vbe -I./../int10 -I./../vgahw |
13 |
-I./../dixmods/extmod -DHAVE_XORG_CONFIG_H -DXF86PM -DXFree86Server |
14 |
-DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes |
15 |
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs |
16 |
-fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT |
17 |
-I../../../include -I../../../include -I../../../Xext |
18 |
-I../../../composite -I../../../damageext -I../../../xfixes |
19 |
-I../../../Xi -I../../../mi -I../../../miext/shadow |
20 |
-I../../../miext/damage -I../../../render -I../../../randr |
21 |
-I../../../fb -O2 -mcpu=ultrasparc3 -mtune=ultrasparc3 -pipe -mvis -MT |
22 |
xf86KbdLnx.lo -MD -MP -MF .deps/xf86KbdLnx.Tpo -c xf86KbdLnx.c -fPIC |
23 |
-DPIC -o .libs/xf86KbdLnx.o |
24 |
In file included from /usr/include/asm/bitops.h:4, |
25 |
from /usr/include/linux/bitops.h:77, |
26 |
from /usr/include/linux/thread_info.h:20, |
27 |
from /usr/include/asm-sparc/system.h:10, |
28 |
from /usr/include/asm/system.h:4, |
29 |
from /usr/include/linux/list.h:6, |
30 |
from /usr/include/linux/wait.h:21, |
31 |
from /usr/include/linux/keyboard.h:20, |
32 |
from xf86KbdLnx.c:169: |
33 |
/usr/include/asm-sparc/bitops.h:288: error: static declaration of |
34 |
'ffs' follows non-static declaration |
35 |
|
36 |
I corrected the bug by removing the static declaration on the bitops.h |
37 |
file. I guess that the problem is with the ebuild |
38 |
linux-headers-2.6.11-r6 (which I'm using) |
39 |
|
40 |
That it. Any questions, just ask. |
41 |
|
42 |
Thanks |
43 |
bráulio |
44 |
|
45 |
-- |
46 |
gentoo-sparc@g.o mailing list |