GithubHelp home page GithubHelp logo

Comments (12)

kevmitch avatar kevmitch commented on May 27, 2024

What distro are you using?

What is the output of

gcc --version -v

from mpv-build.

gitongit avatar gitongit commented on May 27, 2024

Fedora. It's utterly ancient... (gcc 4.1.2) if mpv is version-dependent, I guess that's a bit of a stumbling block.

Part of me thinks that trying to compile a new version of gcc from source would be unwise...

from mpv-build.

kevmitch avatar kevmitch commented on May 27, 2024

I would be far from surprised if a compiler that old didn't work. mpv tends to use newer compiler features. Building new gcc from source may be your only option on that platform. Unfortunately, that'll probably also require compiling libmpc, limpfr libgmp from source first.

from mpv-build.

 avatar commented on May 27, 2024

Can you post the config.log? Should be in the build/ directory.

from mpv-build.

gitongit avatar gitongit commented on May 27, 2024

@kevmitch -- I've got the Compiler Blues just from reader your comment; not looking forward to wrestling with dependencies for the sake of https support on mplayer... (side note: the newest build of mplayer compiled like a dream, btw)

@wm4 -- I binned it for you here: http://pastebin.com/3wPrcrp7

from mpv-build.

 avatar commented on May 27, 2024

Thanks. This was helpful. I see:

err: cc1: error: unrecognized command line option "-Werror=implicit-function-declaration"
cc1: error: unrecognized command line option "-Wno-error=deprecated-declarations"
cc1: error: unrecognized command line option "-Wno-error=unused-function"

Your compiler simply doesn't seem to understand these. Though I wonder if our configure checks are correct at all without -Werror=implicit-function-declaration.

Anyway, does anyone want to try to fix this?

from mpv-build.

 avatar commented on May 27, 2024

PS: I also wonder whether the atomics stuff will compile at all. Usually, mpv tries to stick to C99, but this is one of the things that are not C99, but still needed.

from mpv-build.

pigoz avatar pigoz commented on May 27, 2024

Maybe try GCC 4.2? That should still work because some of the BSDs use that (because of GPLv3)

from mpv-build.

gitongit avatar gitongit commented on May 27, 2024

Hopefully someone will create a fix for this one so that legacy systems can also run mpv.

from mpv-build.

 avatar commented on May 27, 2024

Still an issue? We now have something to check compile flags, so maybe we could add it - if it's still an issue.

from mpv-build.

kevmitch avatar kevmitch commented on May 27, 2024

Timeout. This particular error should be fixed. Though there are probably a ton of other problems on a system that old.

from mpv-build.

 avatar commented on May 27, 2024

Actually this was probably fixed. Anyway, other things will fail; it's basically hopeless unless there are a lot of people who are actually testing such old systems.

from mpv-build.

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.