You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from /usr/include/c++/6/cstdint:41:0,
from /usr/include/c++/6/bits/char_traits.h:420,
from /usr/include/c++/6/string:40,
from track.h:25,
from track.cpp:21:
/usr/lib64/gcc/x86_64-suse-linux/6/include/stdint.h:5:0: note: this is the location of the previous definition
In file included from /usr/include/c++/6/cstdint:41:0,
from /usr/include/c++/6/bits/char_traits.h:420,
from /usr/include/c++/6/string:40,
from track.h:25,
from track.cpp:21:
/usr/lib64/gcc/x86_64-suse-linux/6/include/stdint.h:7:0: note: this is the location of the previous definition
In file included from /usr/include/c++/6/cstdint:41:0,
from /usr/include/c++/6/bits/char_traits.h:420,
from /usr/include/c++/6/string:40,
from mp4.cpp:22:
/usr/lib64/gcc/x86_64-suse-linux/6/include/stdint.h:5:0: note: this is the location of the previous definition
In file included from /usr/include/c++/6/cstdint:41:0,
from /usr/include/c++/6/bits/char_traits.h:420,
from /usr/include/c++/6/string:40,
from mp4.cpp:22:
/usr/lib64/gcc/x86_64-suse-linux/6/include/stdint.h:7:0: note: this is the location of the previous definition
define __STDC_CONSTANT_MACROS
/tmp/ccVoj2sL.o: In function Codec::getLength(unsigned char*, int)': track.cpp:(.text+0x633): undefined reference to avcodec_alloc_frame'
collect2: error: ld returned 1 exit status
In file included from /usr/include/c++/6/cstdint:41:0,
from /usr/include/c++/6/bits/char_traits.h:420,
from /usr/include/c++/6/string:40,
from track.h:25,
from track.cpp:21:
/usr/lib64/gcc/x86_64-suse-linux/6/include/stdint.h:5:0: note: this is the location of the previous definition
In file included from /usr/include/c++/6/cstdint:41:0,
from /usr/include/c++/6/bits/char_traits.h:420,
from /usr/include/c++/6/string:40,
from track.h:25,
from track.cpp:21:
/usr/lib64/gcc/x86_64-suse-linux/6/include/stdint.h:7:0: note: this is the location of the previous definition
In file included from /usr/include/c++/6/cstdint:41:0,
from /usr/include/c++/6/bits/char_traits.h:420,
from /usr/include/c++/6/string:40,
from mp4.cpp:22:
/usr/lib64/gcc/x86_64-suse-linux/6/include/stdint.h:5:0: note: this is the location of the previous definition
In file included from /usr/include/c++/6/cstdint:41:0,
from /usr/include/c++/6/bits/char_traits.h:420,
from /usr/include/c++/6/string:40,
from mp4.cpp:22:
/usr/lib64/gcc/x86_64-suse-linux/6/include/stdint.h:7:0: note: this is the location of the previous definition
define __STDC_CONSTANT_MACROS
./libav-0.8.7/libavformat/libavformat.a(matroskadec.o): In function matroska_decode_buffer': /usr/src/packages/SOURCES/untrunc-master/libav-0.8.7/libavformat/matroskadec.c:995: undefined reference to BZ2_bzDecompressInit'
/usr/src/packages/SOURCES/untrunc-master/libav-0.8.7/libavformat/matroskadec.c:1009: undefined reference to BZ2_bzDecompress' /usr/src/packages/SOURCES/untrunc-master/libav-0.8.7/libavformat/matroskadec.c:1003: undefined reference to BZ2_bzDecompressEnd'
/usr/src/packages/SOURCES/untrunc-master/libav-0.8.7/libavformat/matroskadec.c:1012: undefined reference to `BZ2_bzDecompressEnd'
collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered:
compilation as described:
https://github.com/ponchio/untrunc#installing-on-other-operating-system-manual-libav-installation
and a cloned git code
under openSuSE TW stuck
with following output:
"untrunc # g++ -o untrunc file.cpp main.cpp track.cpp atom.cpp mp4.cpp -I./libav-0.8.7 -L./libav-0.8.7/libavformat -lavformat -L./libav-0.8.7/libavcodec -lavcodec -L./libav-0.8.7/libavutil -lavutil -lpthread -lz
track.cpp:30:0: warning: "__STDC_LIMIT_MACROS" redefined
#define __STDC_LIMIT_MACROS 1
In file included from /usr/include/c++/6/cstdint:41:0,
from /usr/include/c++/6/bits/char_traits.h:420,
from /usr/include/c++/6/string:40,
from track.h:25,
from track.cpp:21:
/usr/lib64/gcc/x86_64-suse-linux/6/include/stdint.h:5:0: note: this is the location of the previous definition
define __STDC_LIMIT_MACROS
track.cpp:31:0: warning: "__STDC_CONSTANT_MACROS" redefined
#define __STDC_CONSTANT_MACROS 1
In file included from /usr/include/c++/6/cstdint:41:0,
from /usr/include/c++/6/bits/char_traits.h:420,
from /usr/include/c++/6/string:40,
from track.h:25,
from track.cpp:21:
/usr/lib64/gcc/x86_64-suse-linux/6/include/stdint.h:7:0: note: this is the location of the previous definition
define __STDC_CONSTANT_MACROS
mp4.cpp:25:0: warning: "__STDC_LIMIT_MACROS" redefined
#define __STDC_LIMIT_MACROS 1
In file included from /usr/include/c++/6/cstdint:41:0,
from /usr/include/c++/6/bits/char_traits.h:420,
from /usr/include/c++/6/string:40,
from mp4.cpp:22:
/usr/lib64/gcc/x86_64-suse-linux/6/include/stdint.h:5:0: note: this is the location of the previous definition
define __STDC_LIMIT_MACROS
mp4.cpp:26:0: warning: "__STDC_CONSTANT_MACROS" redefined
#define __STDC_CONSTANT_MACROS 1
In file included from /usr/include/c++/6/cstdint:41:0,
from /usr/include/c++/6/bits/char_traits.h:420,
from /usr/include/c++/6/string:40,
from mp4.cpp:22:
/usr/lib64/gcc/x86_64-suse-linux/6/include/stdint.h:7:0: note: this is the location of the previous definition
define __STDC_CONSTANT_MACROS
/tmp/ccVoj2sL.o: In function
Codec::getLength(unsigned char*, int)': track.cpp:(.text+0x633): undefined reference to
avcodec_alloc_frame'collect2: error: ld returned 1 exit status
if the untrunc-master.zip is used:
untrunc-master # g++ -o untrunc file.cpp main.cpp track.cpp atom.cpp mp4.cpp -I./libav-0.8.7 -L./libav-0.8.7/libavformat -lavformat -L./libav-0.8.7/libavcodec -lavcodec -L./libav-0.8.7/libavutil -lavutil -lpthread -lz
track.cpp:30:0: warning: "__STDC_LIMIT_MACROS" redefined
#define __STDC_LIMIT_MACROS 1
In file included from /usr/include/c++/6/cstdint:41:0,
from /usr/include/c++/6/bits/char_traits.h:420,
from /usr/include/c++/6/string:40,
from track.h:25,
from track.cpp:21:
/usr/lib64/gcc/x86_64-suse-linux/6/include/stdint.h:5:0: note: this is the location of the previous definition
define __STDC_LIMIT_MACROS
track.cpp:31:0: warning: "__STDC_CONSTANT_MACROS" redefined
#define __STDC_CONSTANT_MACROS 1
In file included from /usr/include/c++/6/cstdint:41:0,
from /usr/include/c++/6/bits/char_traits.h:420,
from /usr/include/c++/6/string:40,
from track.h:25,
from track.cpp:21:
/usr/lib64/gcc/x86_64-suse-linux/6/include/stdint.h:7:0: note: this is the location of the previous definition
define __STDC_CONSTANT_MACROS
mp4.cpp:25:0: warning: "__STDC_LIMIT_MACROS" redefined
#define __STDC_LIMIT_MACROS 1
In file included from /usr/include/c++/6/cstdint:41:0,
from /usr/include/c++/6/bits/char_traits.h:420,
from /usr/include/c++/6/string:40,
from mp4.cpp:22:
/usr/lib64/gcc/x86_64-suse-linux/6/include/stdint.h:5:0: note: this is the location of the previous definition
define __STDC_LIMIT_MACROS
mp4.cpp:26:0: warning: "__STDC_CONSTANT_MACROS" redefined
#define __STDC_CONSTANT_MACROS 1
In file included from /usr/include/c++/6/cstdint:41:0,
from /usr/include/c++/6/bits/char_traits.h:420,
from /usr/include/c++/6/string:40,
from mp4.cpp:22:
/usr/lib64/gcc/x86_64-suse-linux/6/include/stdint.h:7:0: note: this is the location of the previous definition
define __STDC_CONSTANT_MACROS
./libav-0.8.7/libavformat/libavformat.a(matroskadec.o): In function
matroska_decode_buffer': /usr/src/packages/SOURCES/untrunc-master/libav-0.8.7/libavformat/matroskadec.c:995: undefined reference to
BZ2_bzDecompressInit'/usr/src/packages/SOURCES/untrunc-master/libav-0.8.7/libavformat/matroskadec.c:1009: undefined reference to
BZ2_bzDecompress' /usr/src/packages/SOURCES/untrunc-master/libav-0.8.7/libavformat/matroskadec.c:1003: undefined reference to
BZ2_bzDecompressEnd'/usr/src/packages/SOURCES/untrunc-master/libav-0.8.7/libavformat/matroskadec.c:1012: undefined reference to `BZ2_bzDecompressEnd'
collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: