1 |
On Wed, 5 Jun 2013 06:00:01 +0000 (UTC) |
2 |
Duncan <1i5t5.duncan@×××.net> wrote: |
3 |
|
4 |
|
5 |
> |
6 |
> The actual error will be printed above that. Depending on how many |
7 |
> make-jobs you are running and some other things, it could actually be |
8 |
> QUITE far above that. |
9 |
> ... |
10 |
> |
11 |
> Which means... if you're trying to build with gcc 4.8, try again with |
12 |
> 4.7.x. |
13 |
> |
14 |
|
15 |
Thanks a lot. You've been a big help. Unfortunately, the problem still exists. |
16 |
|
17 |
I was using gcc-4.8.1, and I found the error WAY back in the log file: |
18 |
|
19 |
/tmp/portage-acc/tmp/portage/x11-base/xorg-server-1.14.1.901/work/xorg-server-1.14.1.901/hw/xfree86/common/xf86Events.c:566:9: error: implicit declaration of function 'xf86platformVTProbe' [-Werror=implicit-function-declaration] |
20 |
xf86platformVTProbe(); |
21 |
|
22 |
|
23 |
The error refers to an "implicit declaration" which only means a lack of some |
24 |
declaration or a missing header file declaration. If it were not for -Werror |
25 |
this probably should have finished compiling. |
26 |
|
27 |
But, I then installed gcc-4.7.3 in a different slot and tried again to compile. |
28 |
This also failed but the error seems to be a bit different: |
29 |
|
30 |
common/.libs/libcommon.a(xf86Events.o): In function `xf86Wakeup': |
31 |
xf86Events.c:(.text+0xf14): undefined reference to `xf86platformVTProbe' |
32 |
collect2: error: ld returned 1 exit status |
33 |
make[4]: *** [Xorg] Error 1 |
34 |
|
35 |
In this case, the location of the error is the same, in xf86Events.c, but |
36 |
now we have an "undefined reference" which occurs, I think, during the linking. |
37 |
|
38 |
The problem seems to be a fault of the source code, but then why is it |
39 |
failing only on my system? |
40 |
|
41 |
I do have USE=-kdrive. |
42 |
|
43 |
Frank Peters |