>>> Unpacking source... >>> Unpacking libmatroska-0.8.1.tar.bz2 to /var/tmp/portage/media-libs/libmatroska-0.8.1/work * Applying libmatroska-0.8.1-respectflags.patch ...  [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1 ... powerpc64-unknown-linux-gnu-g++ -c -O2 -mtune=970 -mcpu=970 -mabi=altivec -pipe -ggdb -finput-charset=ISO8859-15 -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -D_GNU_SOURCE -Wshadow -I/var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../.. -I/usr/include/ebml -o /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/FileKax.o /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/FileKax.cpp powerpc64-unknown-linux-gnu-g++ -c -O2 -mtune=970 -mcpu=970 -mabi=altivec -pipe -ggdb -finput-charset=ISO8859-15 -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -D_GNU_SOURCE -Wshadow -I/var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../.. -I/usr/include/ebml -o /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxAttached.o /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxAttached.cpp powerpc64-unknown-linux-gnu-g++ -c -O2 -mtune=970 -mcpu=970 -mabi=altivec -pipe -ggdb -finput-charset=ISO8859-15 -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -D_GNU_SOURCE -Wshadow -I/var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../.. -I/usr/include/ebml -o /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxAttachments.o /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxAttachments.cpp powerpc64-unknown-linux-gnu-g++ -c -O2 -mtune=970 -mcpu=970 -mabi=altivec -pipe -ggdb -finput-charset=ISO8859-15 -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -D_GNU_SOURCE -Wshadow -I/var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../.. -I/usr/include/ebml -o /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlock.o /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlock.cpp powerpc64-unknown-linux-gnu-g++ -c -O2 -mtune=970 -mcpu=970 -mabi=altivec -pipe -ggdb -finput-charset=ISO8859-15 -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -D_GNU_SOURCE -Wshadow -I/var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../.. -I/usr/include/ebml -o /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlockData.o /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlockData.cpp In file included from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:66, from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/algorithm:67, from /usr/include/ebml/EbmlEndian.h:41, from /usr/include/ebml/EbmlTypes.h:41, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxTypes.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxBlockData.h:36, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlockData.cpp:35: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:259:41: error: macro "min" passed 3 arguments, but takes just 2 In file included from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:66, from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/algorithm:67, from /usr/include/ebml/EbmlEndian.h:41, from /usr/include/ebml/EbmlTypes.h:41, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxTypes.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxAttached.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxAttached.cpp:35: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:259:41: error: macro "min" passed 3 arguments, but takes just 2 In file included from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:66, from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/algorithm:67, from /usr/include/ebml/EbmlEndian.h:41, from /usr/include/ebml/EbmlTypes.h:41, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxTypes.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxAttachments.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxAttachments.cpp:35: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:259:41: error: macro "min" passed 3 arguments, but takes just 2 In file included from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:66, from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/algorithm:67, from /usr/include/ebml/EbmlEndian.h:41, from /usr/include/ebml/EbmlTypes.h:41, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxTypes.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/FileKax.h:40, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/FileKax.cpp:36: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:259:41: error: macro "min" passed 3 arguments, but takes just 2 In file included from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:66, from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/algorithm:67, from /usr/include/ebml/EbmlEndian.h:41, from /usr/include/ebml/EbmlTypes.h:41, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxTypes.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxBlock.h:40, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlock.cpp:38: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:259:41: error: macro "min" passed 3 arguments, but takes just 2 In file included from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:66, from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/algorithm:67, from /usr/include/ebml/EbmlEndian.h:41, from /usr/include/ebml/EbmlTypes.h:41, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxTypes.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxBlockData.h:36, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlockData.cpp:35: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected unqualified-id before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected `)' before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected `)' before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected initializer before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:259: error: template declaration of ‘const _Tp& std::min’ In file included from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/algorithm:67, from /usr/include/ebml/EbmlEndian.h:41, from /usr/include/ebml/EbmlTypes.h:41, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxTypes.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxBlockData.h:36, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlockData.cpp:35: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h: In function ‘void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance)’: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:2884: error: expected unqualified-id before ‘(’ token /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h: In function ‘void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance, _Compare)’: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:2908: error: expected unqualified-id before ‘(’ token In file included from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:66, from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/algorithm:67, from /usr/include/ebml/EbmlEndian.h:41, from /usr/include/ebml/EbmlTypes.h:41, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxTypes.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxAttachments.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxAttachments.cpp:35: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected unqualified-id before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected `)' before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected `)' before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected initializer before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:259: error: template declaration of ‘const _Tp& std::min’ In file included from /usr/include/ebml/EbmlCrc32.h:41, from /usr/include/ebml/EbmlMaster.h:44, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxBlockData.h:37, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlockData.cpp:35: /usr/include/ebml/EbmlBinary.h: In member function ‘void libebml::EbmlBinary::CopyBuffer(const binary*, uint32)’: /usr/include/ebml/EbmlBinary.h:81: error: ‘memcpy’ was not declared in this scope In file included from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:66, from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/algorithm:67, from /usr/include/ebml/EbmlEndian.h:41, from /usr/include/ebml/EbmlTypes.h:41, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxTypes.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/FileKax.h:40, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/FileKax.cpp:36: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected unqualified-id before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected `)' before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected `)' before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected initializer before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:259: error: template declaration of ‘const _Tp& std::min’ In file included from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/algorithm:67, from /usr/include/ebml/EbmlEndian.h:41, from /usr/include/ebml/EbmlTypes.h:41, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxTypes.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxAttachments.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxAttachments.cpp:35: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h: In function ‘void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance)’: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:2884: error: expected unqualified-id before ‘(’ token /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h: In function ‘void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance, _Compare)’: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:2908: error: expected unqualified-id before ‘(’ token In file included from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:66, from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/algorithm:67, from /usr/include/ebml/EbmlEndian.h:41, from /usr/include/ebml/EbmlTypes.h:41, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxTypes.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxAttached.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxAttached.cpp:35: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected unqualified-id before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected `)' before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected `)' before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected initializer before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:259: error: template declaration of ‘const _Tp& std::min’ In file included from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/algorithm:67, from /usr/include/ebml/EbmlEndian.h:41, from /usr/include/ebml/EbmlTypes.h:41, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxTypes.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxAttached.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxAttached.cpp:35: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h: In function ‘void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance)’: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:2884: error: expected unqualified-id before ‘(’ token /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h: In function ‘void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance, _Compare)’: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:2908: error: expected unqualified-id before ‘(’ token In file included from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/algorithm:67, from /usr/include/ebml/EbmlEndian.h:41, from /usr/include/ebml/EbmlTypes.h:41, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxTypes.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/FileKax.h:40, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/FileKax.cpp:36: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h: In function ‘void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance)’: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:2884: error: expected unqualified-id before ‘(’ token /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h: In function ‘void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance, _Compare)’: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:2908: error: expected unqualified-id before ‘(’ token In file included from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:66, from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/algorithm:67, from /usr/include/ebml/EbmlEndian.h:41, from /usr/include/ebml/EbmlTypes.h:41, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxTypes.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxBlock.h:40, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlock.cpp:38: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected unqualified-id before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected `)' before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected `)' before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:255: error: expected initializer before ‘const’ /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/algorithmfwd.h:259: error: template declaration of ‘const _Tp& std::min’ make: *** [/var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/FileKax.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from /usr/include/ebml/EbmlCrc32.h:41, from /usr/include/ebml/EbmlMaster.h:44, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxAttached.h:39, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxAttached.cpp:35: /usr/include/ebml/EbmlBinary.h: In member function ‘void libebml::EbmlBinary::CopyBuffer(const binary*, uint32)’: /usr/include/ebml/EbmlBinary.h:81: error: ‘memcpy’ was not declared in this scope In file included from /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/algorithm:67, from /usr/include/ebml/EbmlEndian.h:41, from /usr/include/ebml/EbmlTypes.h:41, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxTypes.h:38, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxBlock.h:40, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlock.cpp:38: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h: In function ‘void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance)’: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:2884: error: expected unqualified-id before ‘(’ token /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h: In function ‘void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance, _Compare)’: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.1/include/g++-v4/bits/stl_algo.h:2908: error: expected unqualified-id before ‘(’ token In file included from /usr/include/ebml/EbmlCrc32.h:41, from /usr/include/ebml/EbmlMaster.h:44, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxAttachments.h:39, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxAttachments.cpp:35: /usr/include/ebml/EbmlBinary.h: In member function ‘void libebml::EbmlBinary::CopyBuffer(const binary*, uint32)’: /usr/include/ebml/EbmlBinary.h:81: error: ‘memcpy’ was not declared in this scope In file included from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../matroska/KaxBlock.h:41, from /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlock.cpp:38: /usr/include/ebml/EbmlBinary.h: In member function ‘void libebml::EbmlBinary::CopyBuffer(const binary*, uint32)’: /usr/include/ebml/EbmlBinary.h:81: error: ‘memcpy’ was not declared in this scope make: *** [/var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxAttached.o] Error 1 make: *** [/var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlockData.o] Error 1 make: *** [/var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxAttachments.o] Error 1 /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlock.cpp: In member function ‘virtual libmatroska::DataBuffer* libmatroska::DataBuffer::Clone()’: /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlock.cpp:120: error: ‘memcpy’ was not declared in this scope /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlock.cpp: In copy constructor ‘libmatroska::SimpleDataBuffer::SimpleDataBuffer(const libmatroska::SimpleDataBuffer&)’: /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlock.cpp:131: error: ‘memcpy’ was not declared in this scope /usr/include/ebml/EbmlEndian.h: In constructor ‘libebml::Endian::Endian(TYPE) [with TYPE = short int, libebml::endianess ENDIAN = big_endian]’: /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlock.cpp:320: instantiated from here /usr/include/ebml/EbmlEndian.h:64: error: ‘memcpy’ was not declared in this scope /usr/include/ebml/EbmlEndian.h: In member function ‘void libebml::Endian::Fill(binary*) const [with TYPE = short int, libebml::endianess ENDIAN = big_endian]’: /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlock.cpp:321: instantiated from here /usr/include/ebml/EbmlEndian.h:79: error: ‘memcpy’ was not declared in this scope /usr/include/ebml/EbmlEndian.h: In member function ‘libebml::Endian& libebml::Endian::Eval(const binary*) [with TYPE = short int, libebml::endianess ENDIAN = big_endian]’: /var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlock.cpp:501: instantiated from here /usr/include/ebml/EbmlEndian.h:71: error: ‘memcpy’ was not declared in this scope make: *** [/var/tmp/portage/media-libs/libmatroska-0.8.1/work/libmatroska-0.8.1/make/linux/../../src/KaxBlock.o] Error 1 * * ERROR: media-libs/libmatroska-0.8.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2348: Called die * The specific snippet of code: * emake PREFIX=/usr LIBEBML_INCLUDE_DIR=/usr/include/ebml LIBEBML_LIB_DIR=/usr/$(get_libdir) CXX="$(tc-getCXX)" || die "make failed" * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/libmatroska-0.8.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/libmatroska-0.8.1/temp/environment'. *