1 |
On 12/02/2017 07:15 AM, Mick wrote: |
2 |
> app-cdr/cdrdao-1.2.3-r4 also fails to install: |
3 |
> |
4 |
> [snip ...] |
5 |
> Making all in utils |
6 |
> make[2]: Entering directory '/var/tmp/portage/app-cdr/cdrdao-1.2.3-r4/work/ |
7 |
> cdrdao-1.2.3/utils' |
8 |
> x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../trackdb -march=native |
9 |
> -O2 -pipe -std=c++11 -pthread -c -o toc2cue.o toc2cue.cc |
10 |
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../trackdb -march=native |
11 |
> -O2 -pipe -pthread -c -o main.o main.c |
12 |
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../trackdb -march=native |
13 |
> -O2 -pipe -pthread -c -o cue2toc.o cue2toc.c |
14 |
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../trackdb -march=native |
15 |
> -O2 -pipe -pthread -c -o timecode.o timecode.c |
16 |
> x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../trackdb -march=native |
17 |
> -O2 -pipe -std=c++11 -pthread -c -o toc2cddb.o toc2cddb.cc |
18 |
> x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../trackdb -march=native |
19 |
> -O2 -pipe -std=c++11 -pthread -c -o toc2mp3-toc2mp3.o `test -f 'toc2mp3.cc' || |
20 |
> echo './'`toc2mp3.cc |
21 |
> x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -pthread -Wl,-O1 -Wl,--as- |
22 |
> needed -o cue2toc main.o cue2toc.o timecode.o -pthread |
23 |
> x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -std=c++11 -pthread -Wl,-O1 |
24 |
> -Wl,--as-needed -o toc2cddb toc2cddb.o ../trackdb/libtrackdb.a -lmad -lm - |
25 |
> lvorbisfile -lao -pthread |
26 |
> x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -std=c++11 -pthread -Wl,-O1 |
27 |
> -Wl,--as-needed -o toc2mp3 toc2mp3-toc2mp3.o ../trackdb/libtrackdb.a - |
28 |
> lmp3lame -lmad -lm -lvorbisfile -lao -pthread |
29 |
> [19/1535] |
30 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: |
31 |
> toc2mp3-toc2mp3.o: warning: relocation against `bitrate_table' in readonly |
32 |
> section `.text.startup' |
33 |
> toc2mp3-toc2mp3.o: In function `init_encoder(int)': |
34 |
> toc2mp3.cc:(.text+0x2c2): undefined reference to `bitrate_table' |
35 |
> toc2mp3.cc:(.text+0x2d0): undefined reference to `bitrate_table' |
36 |
> toc2mp3.cc:(.text+0x2db): undefined reference to `bitrate_table' |
37 |
> toc2mp3-toc2mp3.o: In function `main': |
38 |
> toc2mp3.cc:(.text.startup+0x29a): undefined reference to `bitrate_table' |
39 |
> toc2mp3.cc:(.text.startup+0x2a1): undefined reference to `bitrate_table' |
40 |
> /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: |
41 |
> warning: creating a DT_TEXTREL in a shared object. |
42 |
> collect2: error: ld returned 1 exit status |
43 |
> make[2]: *** [Makefile:487: toc2mp3] Error 1 |
44 |
> make[2]: *** Waiting for unfinished jobs.... |
45 |
> make[2]: Leaving directory '/var/tmp/portage/app-cdr/cdrdao-1.2.3-r4/work/ |
46 |
> cdrdao-1.2.3/utils' |
47 |
> make[1]: *** [Makefile:436: all-recursive] Error 1 |
48 |
> make[1]: Leaving directory '/var/tmp/portage/app-cdr/cdrdao-1.2.3-r4/work/ |
49 |
> cdrdao-1.2.3' |
50 |
> make: *** [Makefile:375: all] Error 2 |
51 |
> * ERROR: app-cdr/cdrdao-1.2.3-r4::gentoo failed (compile phase): |
52 |
> * emake failed |
53 |
> |
54 |
> Is there a solution for this? |
55 |
|
56 |
Just for the sake of curiosity ... |
57 |
|
58 |
Have you tried to compile with this |
59 |
|
60 |
CPPFLAGS="-D_GLIBCXX_USE_CXX11_ABI=1" |
61 |
|
62 |
added to make.conf ? |
63 |
|
64 |
The reason for this question ... I have noticed that some"packages" try |
65 |
to either use or be compatible with both c++11 specs ( old way / new way ). |
66 |
|
67 |
|
68 |
Corbin |