1 |
Lorenzo Milesi wrote: |
2 |
> It's nearly 1 week I'm trying to upgrade CDK but the compile fails. |
3 |
> |
4 |
> x86_64-pc-linux-gnu-g++ -shared -nostdlib |
5 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/crti.o |
6 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtbeginS.o .libs/dscale.o |
7 |
> .libs/fscale.o .libs/fslider.o .libs/scale.o .libs/slider.o |
8 |
> .libs/uscale.o .libs/uslider.o .libs/alphalist.o .libs/binding.o |
9 |
> .libs/button.o .libs/buttonbox.o .libs/calendar.o .libs/cdk.o |
10 |
> .libs/cdk_compat.o .libs/cdk_objs.o .libs/cdk_params.o |
11 |
> .libs/cdkscreen.o .libs/debug.o .libs/dialog.o .libs/draw.o |
12 |
> .libs/entry.o .libs/fselect.o .libs/get_index.o .libs/get_string.o |
13 |
> .libs/graph.o .libs/histogram.o .libs/itemlist.o .libs/label.o |
14 |
> .libs/marquee.o .libs/matrix.o .libs/mentry.o .libs/menu.o |
15 |
> .libs/popup_dialog.o .libs/popup_label.o .libs/position.o |
16 |
> .libs/radio.o .libs/scroll.o .libs/selection.o .libs/swindow.o |
17 |
> .libs/select_file.o .libs/template.o .libs/traverse.o .libs/version.o |
18 |
> .libs/view_file.o .libs/view_info.o .libs/viewer.o |
19 |
> -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4 |
20 |
> -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/lib |
21 |
> -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64 |
22 |
> -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../.. -L/lib/../lib64 |
23 |
> -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s |
24 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtendS.o |
25 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/crtn.o |
26 |
> -Wl,-soname -Wl,libcdk.so.1 -o .libs/libcdk.so.1.2.1 |
27 |
> x86_64-pc-linux-gnu-g++: |
28 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/crti.o: No |
29 |
> such file or directory |
30 |
> x86_64-pc-linux-gnu-g++: |
31 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtbeginS.o: No such file or |
32 |
> directory |
33 |
> x86_64-pc-linux-gnu-g++: |
34 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtendS.o: No such file or |
35 |
> directory |
36 |
> x86_64-pc-linux-gnu-g++: |
37 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/crtn.o: No |
38 |
> such file or directory |
39 |
> make: *** [libcdk.la] Error 1 |
40 |
> |
41 |
> !!! ERROR: dev-libs/cdk-5.0.20060220 failed. |
42 |
> Call stack: |
43 |
> ebuild.sh, line 1928: Called dyn_compile |
44 |
> ebuild.sh, line 966: Called src_compile |
45 |
> |
46 |
> !!! (no error message) |
47 |
> !!! If you need support, post the topmost build error, and the call |
48 |
> stack if relevant. |
49 |
> |
50 |
> |
51 |
> It fails because it cannot find crti.o and crtn.o, but I have them in |
52 |
> /usr/lib64! |
53 |
> |
54 |
I had the same problem and fixed it by doing this: |
55 |
|
56 |
emerge --oneshot libtool |
57 |
|
58 |
After doing the above cdk emerged fine. I found the answer in the |
59 |
forums but not the reason why this fixes it. |
60 |
|
61 |
-- |
62 |
|
63 |
Kirby |
64 |
-- |
65 |
gentoo-amd64@g.o mailing list |