Code Monkey home page Code Monkey logo

Comments (4)

Rupan avatar Rupan commented on August 27, 2024

I haven't tracked down exactly what fails, but it is something about how the shared object is built. If I build a static library the problem goes away and the test program links successfully and works as expected.

from libmatroska.

mbunkus avatar mbunkus commented on August 27, 2024

Which version are you trying to build? Yes, this was a problem with libebml 1.3.8 & libmatroska 1.5.1, but we released 1.3.9 and 1.5.2 on Monday that should fix this issue.

from libmatroska.

Rupan avatar Rupan commented on August 27, 2024

I rebased my EBML and Matroska branches on the relevant upstream/master and rebuilt. You've fixed EBML but not Matroska:

michael@winterfell:~/git/mktest$ make
Scanning dependencies of target main
[ 50%] Building CXX object CMakeFiles/main.dir/main.cpp.o
[100%] Linking CXX executable main
/usr/bin/ld: CMakeFiles/main.dir/main.cpp.o: in function `main':
main.cpp:(.text+0x6d): undefined reference to `libmatroska::KaxCodeVersion[abi:cxx11]'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/main.dir/build.make:86: main] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/main.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
michael@winterfell:~/git/mktest$

Checking on the shared objects:

michael@winterfell:~/git/mktest$ nm -lC /tmp/matroska/lib/libebml.so.4.0.0 | grep EbmlCodeVersion
0000000000027aa0 B libebml::EbmlCodeVersion[abi:cxx11]
michael@winterfell:~/git/mktest$ nm -lC /tmp/matroska/lib/libmatroska.so.6.0.0 | grep KaxCodeVersion
0000000000078f60 b libmatroska::KaxCodeVersion[abi:cxx11]
michael@winterfell:~/git/mktest$

from libmatroska.

Rupan avatar Rupan commented on August 27, 2024

Ah nevermind, I rebased on an old commit from matroska's master branch. Pulling master and rebasing again fixed everything :)

from libmatroska.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.