Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

matroska mkvtoolnix build error

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
RoundsToZero
Guru
Guru
User avatar
Posts: 478
Joined: Mon Nov 17, 2003 10:47 pm
Location: New York, NY

matroska mkvtoolnix build error

  • Quote

Post by RoundsToZero » Thu Jan 20, 2005 1:14 pm

Code: Select all

ar rcu src/common/libmtxcommon.a src/common/aac_common.o src/common/ac3_common.o src/common/base64.o src/common/chapter_parser_xml.o src/common/chapter_writer.o src/common/chapters.o src/common/common.o src/common/commonebml.o src/common/compression.o src/common/dts_common.o src/common/iso639.o src/common/mm_io.o src/common/mp3_common.o src/common/tagparser_end.o src/common/tagparser_start.o src/common/tagwriter.o
ar: src/common/aac_common.o: No such file or directory
This is the error I get when building mkvtoolnix 0.8.8 (libebml 0.7.0, libmatroska 0.7.0). The only thing I found in the forums was a year old and related to older versions. Is anyone else having this problem now?
Top
joeswift
Tux's lil' helper
Tux's lil' helper
Posts: 94
Joined: Thu Jan 20, 2005 7:16 am
Location: South Africa

  • Quote

Post by joeswift » Thu Jan 20, 2005 2:49 pm

maybe you should try a later version of mkvtoolnix (like version 1.0.1), it looks like you may have some dependency issues with libeml and libmatroska. I think the current versions you can get for those are libebml 0.7.2 and libmatroska 0.7.4

this url may help for ebuilds as well:

http://www.bunkus.org/videotools/mkvtoolnix/index.html
Top
bulazs
n00b
n00b
User avatar
Posts: 19
Joined: Tue Jan 18, 2005 5:47 pm
Location: Hungary

  • Quote

Post by bulazs » Sun Mar 06, 2005 7:04 pm

Hi! I am having problems installing mkvtoolnix-1.0.1
Maybe sy knows, what should i do.., or has this problem too actually..

# emerge mkvtoolnix
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/mkvtoolnix-1.0.1 to /
>>> md5 src_uri ;-) mkvtoolnix-1.0.1.tar.bz2
>>> Unpacking source...
>>> Unpacking mkvtoolnix-1.0.1.tar.bz2 to /var/tmp/portage/mkvtoolnix-1.0.1/work
>>> Source unpacked.
* Using /usr/bin/wxgtk2-2.4-config
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /bin/install -c
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ld... i686-pc-linux-gnu-ld
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for vsscanf... yes
checking whether the byte order is big-endian... no
checking if being compiled with mingw32... no
checking for int64_t... yes
checking for uint64_t... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for ogg_sync_init in -logg... yes
checking ogg/ogg.h usability... yes
checking ogg/ogg.h presence... yes
checking for ogg/ogg.h... yes
checking for vorbis_synthesis_init in -lvorbis... yes
checking vorbis/codec.h usability... yes
checking vorbis/codec.h presence... yes
checking for vorbis/codec.h... yes
checking for FLAC__seekable_stream_decoder_new in -lFLAC... yes
checking for FLAC__StreamMetadata_StreamInfo.sample_rate... yes
checking for FLAC__seekable_stream_decoder_skip_single_frame in -lFLAC... yes
checking for libebml version >= 0.7.2... 0.7.3
checking for libmatroska version >= 0.7.4... 0.7.5
checking for XML_ParserCreate in -lexpat... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for zlibVersion in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for lzo1x_1_compress in -llzo... yes
checking lzo1x.h usability... yes
checking lzo1x.h presence... yes
checking for lzo1x.h... yes
checking for BZ2_bzCompress in -lbz2... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for wxWidgets... 2.4.2 ok
configure: creating ./config.status
config.status: creating Makefile
config.status: creating avilib-0.6.10/Makefile
config.status: creating librmff/Makefile
config.status: creating src/Makefile
config.status: creating src/common/Makefile
config.status: creating src/input/Makefile
config.status: creating src/output/Makefile
config.status: creating src/mmg/Makefile
config.status: creating src/extract/Makefile
config.status: creating config.h

*** The mkvtoolnix configuration is complete.
*** Optional features that are built: FLAC audio (1.1.1 or newer); LZO compression; BZ2 compression
*** Optional features that are NOT built:
CXX src/mkvmerge.cpp
CXX src/cluster_helper.cpp
CXX src/pr_generic.cpp
CXX src/timecode_factory.cpp
CXX src/common/aac_common.cpp
CXX src/common/ac3_common.cpp
CXX src/common/base64.cpp
CXX src/common/chapter_parser_cue.cpp
CXX src/common/chapter_parser_xml.cpp
CXX src/common/chapter_writer.cpp
CXX src/common/chapters.cpp
CXX src/common/checksums.cpp
CXX src/common/common.cpp
src/common/chapters.cpp: In function `void
fix_mandatory_chapter_elements(libebml::EbmlElement*)':
src/common/chapters.cpp:359: error: `KaxEditionProcessed' undeclared (first use
this function)
src/common/chapters.cpp:359: error: (Each undeclared identifier is reported
only once for each function it appears in.)
src/common/chapters.cpp:359: error: template argument 1 is invalid
src/common/chapters.cpp:359: error: no matching function for call to `GetChild(
libmatroska::KaxEditionEntry&)'
make: *** [src/common/chapters.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: media-video/mkvtoolnix-1.0.1 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.
Seeing is believing...
Top
Azra6
n00b
n00b
Posts: 2
Joined: Mon Mar 07, 2005 6:55 am

  • Quote

Post by Azra6 » Mon Mar 07, 2005 6:58 am

I had the same problem.

just add:

class MATROSKA_DLL_API KaxEditionProcessed : public EbmlUInteger {
public:
KaxEditionProcessed() {}
KaxEditionProcessed(const KaxEditionProcessed & ElementToClone) :EbmlUInteger(ElementToClone) {}
static EbmlElement & Create() {return *(new KaxEditionProcessed);}
const EbmlCallbacks & Generic() const {return ClassInfos;}
static const EbmlCallbacks ClassInfos;
operator const EbmlId &() const {return ClassInfos.GlobalId;}
EbmlElement * Clone() const {return new KaxEditionProcessed(*this);}
};

to your /usr/include/matroska/KaxChapters.cpp. so far it seems to be a good enough fix.//
Top
bulazs
n00b
n00b
User avatar
Posts: 19
Joined: Tue Jan 18, 2005 5:47 pm
Location: Hungary

  • Quote

Post by bulazs » Tue Mar 08, 2005 8:23 pm

Thank for your help Azra6! I edited my /usr/include/matroska/KaxChapters.h (I didn't find .cpp :roll: ), but I get the following error:

Code: Select all

checking for wxWidgets... 2.4.2 ok
configure: creating ./config.status
config.status: creating Makefile
config.status: creating avilib-0.6.10/Makefile
config.status: creating librmff/Makefile
config.status: creating src/Makefile
config.status: creating src/common/Makefile
config.status: creating src/input/Makefile
config.status: creating src/output/Makefile
config.status: creating src/mmg/Makefile
config.status: creating src/extract/Makefile
config.status: creating config.h

*** The mkvtoolnix configuration is complete.
***   Optional features that are built:  FLAC audio (1.1.1 or newer); LZO compression; BZ2 compression
***   Optional features that are NOT built:
     CXX  src/cluster_helper.cpp
     CXX  src/mkvmerge.cpp
     CXX  src/pr_generic.cpp
     CXX  src/timecode_factory.cpp
     CXX  src/common/aac_common.cpp
     CXX  src/common/ac3_common.cpp
     CXX  src/common/base64.cpp
     CXX  src/common/chapter_parser_cue.cpp
     CXX  src/common/chapter_parser_xml.cpp
     CXX  src/common/chapters.cpp
     CXX  src/common/chapter_writer.cpp
src/common/chapters.cpp: In function `void
   fix_mandatory_chapter_elements(libebml::EbmlElement*)':
src/common/chapters.cpp:359: error: `KaxEditionProcessed' undeclared (first use
   this function)
src/common/chapters.cpp:359: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
src/common/chapters.cpp:359: error: template argument 1 is invalid
src/common/chapters.cpp:359: error: no matching function for call to `GetChild(
   libmatroska::KaxEditionEntry&)'
make: *** [src/common/chapters.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: media-video/mkvtoolnix-1.0.1 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.
Any advice?
Seeing is believing...
Top
SerfurJ
l33t
l33t
Posts: 824
Joined: Sat Apr 10, 2004 10:25 pm
Location: Texas

  • Quote

Post by SerfurJ » Fri Apr 08, 2005 1:47 am

i get a different build error:

Code: Select all

    LINK  src/mkvinfo
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_detach'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_attach'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libwx_gtk2-2.4.so: undefined reference to `_gtk_rc_context_get_default_font_name'
collect2: ld returned 1 exit status
make: *** [src/mkvinfo] Error 1
make: *** Waiting for unfinished jobs....
            
!!! ERROR: media-video/mkvtoolnix-1.0.1 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.
any ideas?
Top
Mosu
n00b
n00b
User avatar
Posts: 8
Joined: Tue Mar 16, 2004 8:40 pm
Location: Braunschweig, Germany

  • Quote

Post by Mosu » Sat Apr 09, 2005 10:01 am

src/common/chapters.cpp:359: error: `KaxEditionProcessed' undeclared (first use this function)
Things have been renamed in libmatroska. So you have to use either mkvtoolnix 1.0.x with the exact libmatroska version it checks for (and not a newer one!) or just ust mkvtoolnix 1.4.x which contains tons of new stuff and tons of bug fixes.
Top
Mosu
n00b
n00b
User avatar
Posts: 8
Joined: Tue Mar 16, 2004 8:40 pm
Location: Braunschweig, Germany

  • Quote

Post by Mosu » Sat Apr 09, 2005 10:04 am

SerfurJ wrote:i get a different build error:

Code: Select all

    LINK  src/mkvinfo
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_detach'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_attach'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libwx_gtk2-2.4.so: undefined reference to `_gtk_rc_context_get_default_font_name'
Definitely not a problem with mkvtoolnix but with your libraries (wxWidgets vs GTK).
Top
Mosu
n00b
n00b
User avatar
Posts: 8
Joined: Tue Mar 16, 2004 8:40 pm
Location: Braunschweig, Germany

  • Quote

Post by Mosu » Sat Apr 09, 2005 10:04 am

Azra6 wrote:I had the same problem.

just add:
No, only adding the class definition but not its code will not work correctly.
Top
SerfurJ
l33t
l33t
Posts: 824
Joined: Sat Apr 10, 2004 10:25 pm
Location: Texas

  • Quote

Post by SerfurJ » Sat Apr 09, 2005 2:20 pm

Mosu wrote:
SerfurJ wrote:i get a different build error:

Code: Select all

    LINK  src/mkvinfo
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_detach'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_attach'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../libwx_gtk2-2.4.so: undefined reference to `_gtk_rc_context_get_default_font_name'
Definitely not a problem with mkvtoolnix but with your libraries (wxWidgets vs GTK).
i have wxGTK-2.4.2-r2 and gtk+-2.4.14 installed and no other apps on my system have a problem with them.

i tried building the latest version of mkvtoolnix and it failed in exactly the same way. any ideas?
Top
Mosu
n00b
n00b
User avatar
Posts: 8
Joined: Tue Mar 16, 2004 8:40 pm
Location: Braunschweig, Germany

  • Quote

Post by Mosu » Sun Apr 10, 2005 7:59 am

Recompile wxWidgets? I don't know. But you can clearly see that it's a wxWidgets library that has missing symbols regarding some GTK stuff. There's no mkvtoolnix involved, and I'm really no expert in wxWidgets issues.
Top
SerfurJ
l33t
l33t
Posts: 824
Joined: Sat Apr 10, 2004 10:25 pm
Location: Texas

  • Quote

Post by SerfurJ » Mon Apr 11, 2005 1:20 am

i ended up installing the latest ~x86 libraries required by mkvtoolnix, and then downloading the 1.4.1 binaries from the home page and putting them in my ~/bin/.
Top
frostschutz
Advocate
Advocate
User avatar
Posts: 2978
Joined: Tue Feb 22, 2005 11:23 am
Location: Germany

  • Quote

Post by frostschutz » Thu May 05, 2005 2:58 pm

I have the same problem (undefined reference to gtk_detach) with mkvtoolnix... recompiling the wxGTK stuff now, let's see if it helps.

EDIT: Emerging the new 1.4.1 or whatever ~x86 masked ebuild helped...
Top
Post Reply

13 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic